Class WorkflowItemSubmitterLinkRepository

java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.WorkflowItemSubmitterLinkRepository
All Implemented Interfaces:
LinkRestRepository

@Component("workflow.workflowitems.submitter") public class WorkflowItemSubmitterLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link repository for "submitter" subresource of a workflow item.
  • Constructor Details

    • WorkflowItemSubmitterLinkRepository

      public WorkflowItemSubmitterLinkRepository()
  • Method Details

    • getWorkflowItemSubmitter

      @PreAuthorize("hasPermission(#id, \'WORKFLOWITEM\', \'READ\')") public EPersonRest getWorkflowItemSubmitter(@Nullable jakarta.servlet.http.HttpServletRequest request, Integer id, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)
      Retrieve the submitter for a workflow item.
      Parameters:
      request - - The current request
      id - - The workflow item ID for which to retrieve the submitter
      optionalPageable - - optional pageable object
      projection - - the current projection
      Returns:
      the submitter for the workflow item