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.pooltask.step") public class PoolTaskStepLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepositoryLink 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 Constructor Description PoolTaskStepLinkRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowStepRestgetStep(javax.servlet.http.HttpServletRequest request, Integer poolTaskId, org.springframework.data.domain.Pageable optionalPageable, Projection projection)This method will retrieve theWorkflowStepRestobject for thePoolTaskwith the given id-
Methods inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
getRequestService, obtainContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.repository.LinkRestRepository
isEmbeddableRelation
-
-
-
-
Method Detail
-
getStep
public WorkflowStepRest getStep(@Nullable javax.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
-
-