Class WorkflowStepActionsLinkRepository

  • All Implemented Interfaces:
    LinkRestRepository

    @Component("config.workflowstep.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 Detail

      • xmlWorkflowFactory

        @Autowired
        protected org.dspace.xmlworkflow.factory.XmlWorkflowFactory xmlWorkflowFactory
    • Constructor Detail

      • WorkflowStepActionsLinkRepository

        public WorkflowStepActionsLinkRepository()
    • 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 object
        workflowStepName - Name of workflow step we want the actions from
        Returns:
        List of actions of the requested workflow step