Package org.dspace.app.rest.repository
Class ClaimedTaskStepLinkRepository
java.lang.Object
org.dspace.app.rest.repository.AbstractDSpaceRestRepository
org.dspace.app.rest.repository.ClaimedTaskStepLinkRepository
- All Implemented Interfaces:
LinkRestRepository
@Component("workflow.claimedtasks.step")
public class ClaimedTaskStepLinkRepository
extends AbstractDSpaceRestRepository
implements LinkRestRepository
Link repository for the Steps subresources for an individual ClaimedTask
-
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 claimedTaskId, org.springframework.data.domain.Pageable optionalPageable, Projection projection) This method will retrieve theWorkflowStepRestobject for theClaimedTaskwith 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
-
ClaimedTaskStepLinkRepository
public ClaimedTaskStepLinkRepository()
-
-
Method Details
-
getStep
public WorkflowStepRest getStep(@Nullable jakarta.servlet.http.HttpServletRequest request, Integer claimedTaskId, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection) This method will retrieve theWorkflowStepRestobject for theClaimedTaskwith the given id- Parameters:
request- The current requestclaimedTaskId- The id for the ClaimedTask to be usedoptionalPageable- The pageable if relevantprojection- The Projection- Returns:
- The
WorkflowStepRestobject related to theClaimedTaskspecified by the given ID
-