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.workflowsteps.workflowactions")
public class WorkflowStepActionsLinkRepository
extends AbstractDSpaceRestRepository
implements LinkRestRepository
Link repository for "actions" subresource of an individual workflow step.
- Author:
- Maria Verdonck (Atmire) on 24/02/2020
-
Field Summary
FieldsFields inherited from class org.dspace.app.rest.repository.AbstractDSpaceRestRepository
converter, requestService, utils -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<WorkflowActionRest>getActions(jakarta.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, 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
-
Field Details
-
xmlWorkflowFactory
-
-
Constructor Details
-
WorkflowStepActionsLinkRepository
public WorkflowStepActionsLinkRepository()
-
-
Method Details
-
getActions
@PreAuthorize("hasAuthority(\'AUTHENTICATED\')") public org.springframework.data.domain.Page<WorkflowActionRest> getActions(@Nullable jakarta.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
-