Class WorkflowDefinitionStepsLinkRepository

  • All Implemented Interfaces:
    LinkRestRepository

    @Component("config.workflowdefinition.steps")
    public class WorkflowDefinitionStepsLinkRepository
    extends AbstractDSpaceRestRepository
    implements LinkRestRepository
    Link repository for "steps" subresource of an individual workflow definition.
    Author:
    Maria Verdonck (Atmire) on 24/02/2020
    • Field Detail

      • xmlWorkflowFactory

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

      • WorkflowDefinitionStepsLinkRepository

        public WorkflowDefinitionStepsLinkRepository()
    • Method Detail

      • getSteps

        @PreAuthorize("hasAuthority(\'AUTHENTICATED\')")
        public org.springframework.data.domain.Page<WorkflowStepRest> getSteps​(@Nullable
                                                                               javax.servlet.http.HttpServletRequest request,
                                                                               String workflowName,
                                                                               @Nullable
                                                                               org.springframework.data.domain.Pageable optionalPageable,
                                                                               Projection projection)
        GET endpoint that returns the list of steps of a workflow-definition.
        Parameters:
        request - The request object
        workflowName - Name of workflow we want the steps from
        Returns:
        List of steps of the requested workflow