Package org.dspace.app.rest.repository
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
-
Field Summary
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetStep(jakarta.servlet.http.HttpServletRequest request, Integer workflowItemId, org.springframework.data.domain.Pageable optionalPageable, Projection projection) This method will retrieve theWorkflowStepRestobject for theWorkflowItemwith the given idMethods inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
getRequestService, obtainContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.repository.LinkRestRepository
isEmbeddableRelation
-
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 theWorkflowStepRestobject for theWorkflowItemwith the given id- Parameters:
request- The current requestworkflowItemId- The id for the WorkflowItem to be usedoptionalPageable- The pageable if relevantprojection- The Projection- Returns:
- The
WorkflowStepRestobject related to theWorkflowItemspecified by the given ID
-