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