Class WorkflowStateAPI

    • Constructor Detail

      • WorkflowStateAPI

        public WorkflowStateAPI()
    • Method Detail

      • getAllByWorkflowVersion

        public List<WorkflowState> getAllByWorkflowVersion​(UserContext uc,
                                                           WorkflowVersion workflowVersion)
        Finds all available states for the given workflow version.
        Parameters:
        uc - Current user context.
        workflowVersion - Workflow version for which to find the states.
        Returns:
        All appointment slots of the given templates.
      • getAllByWorkflowVersion

        public List<WorkflowState> getAllByWorkflowVersion​(UserContext uc,
                                                           Projekt project,
                                                           long versionNumber)
        Finds all available states for the given workflow version.
        Parameters:
        uc - Current user context.
        project - The project which contains the workflow version.
        versionNumber - Workflow version for which to find the states.
        Returns:
        All appointment slots of the given templates.