Package org.dspace.app.rest
Class WorkflowStepActionsLinkRepository
- java.lang.Object
-
- org.dspace.app.rest.repository.AbstractDSpaceRestRepository
-
- org.dspace.app.rest.WorkflowStepActionsLinkRepository
-
- All Implemented Interfaces:
LinkRestRepository
@Component("config.workflowstep.workflowactions") public class WorkflowStepActionsLinkRepository extends AbstractDSpaceRestRepository implements LinkRestRepositoryLink repository for "actions" subresource of an individual workflow step.- Author:
- Maria Verdonck (Atmire) on 24/02/2020
-
-
Field Summary
Fields Modifier and Type Field Description protected XmlWorkflowFactoryxmlWorkflowFactory-
Fields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils
-
-
Constructor Summary
Constructors Constructor Description WorkflowStepActionsLinkRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.data.domain.Page<WorkflowActionRest>getActions(javax.servlet.http.HttpServletRequest request, String workflowStepName, org.springframework.data.domain.Pageable optionalPageable, Projection projection)GET endpoint that returns the list of actions of a workflow step.-
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
-
-
-
-
Field Detail
-
xmlWorkflowFactory
@Autowired protected XmlWorkflowFactory xmlWorkflowFactory
-
-
Method Detail
-
getActions
@PreAuthorize("hasAuthority(\'AUTHENTICATED\')") public org.springframework.data.domain.Page<WorkflowActionRest> getActions(@Nullable javax.servlet.http.HttpServletRequest request, String workflowStepName, @Nullable org.springframework.data.domain.Pageable optionalPageable, Projection projection)GET endpoint that returns the list of actions of a workflow step.- Parameters:
request- The request objectworkflowStepName- Name of workflow step we want the actions from- Returns:
- List of actions of the requested workflow step
-
-