Class WorkflowItemStepLinkRepository

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

@Component("workflow.workflowitems.step") public class WorkflowItemStepLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepository
Link Repository for the Steps subresources of an individual WorkflowItem
  • Constructor Details

    • WorkflowItemStepLinkRepository

      public WorkflowItemStepLinkRepository()
  • Method Details

    • getStep

      public WorkflowStepRest getStep(@Nullable jakarta.servlet.http.HttpServletRequest request, Integer workflowItemId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)
      This method will retrieve the WorkflowStepRest object for the WorkflowItem with the given id
      Parameters:
      request - The current request
      workflowItemId - The id for the WorkflowItem to be used
      optionalPageable - The pageable if relevant
      projection - The Projection
      Returns:
      The WorkflowStepRest object related to the WorkflowItem specified by the given ID