Class WorkflowItemCollectionLinkRepository

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

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

    • WorkflowItemCollectionLinkRepository

      public WorkflowItemCollectionLinkRepository()
  • Method Details

    • getWorkflowItemCollection

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