Class ProcessOutputLinkRepository

    • Constructor Detail

      • ProcessOutputLinkRepository

        public ProcessOutputLinkRepository()
    • Method Detail

      • getOutputFromProcess

        @PreAuthorize("hasAuthority(\'ADMIN\')")
        public BitstreamRest getOutputFromProcess​(@Nullable
                                                  javax.servlet.http.HttpServletRequest request,
                                                  Integer processId,
                                                  @Nullable
                                                  org.springframework.data.domain.Pageable optionalPageable,
                                                  Projection projection)
                                           throws SQLException,
                                                  AuthorizeException
        This method will retrieve the output for the Process as defined through the given ID in the rest call. This output is a Bitstream object that will be turned into a BitstreamRest object to be returned
        Parameters:
        request - The current request
        processId - The given processId for the Process
        optionalPageable - Pageable if applicable
        projection - The current projection
        Returns:
        The BitstreamRest representing the output for the Process
        Throws:
        SQLException - If something goes wrong
        AuthorizeException - If something goes wrong