Class WorkflowStateAPI


public class WorkflowStateAPI extends AEntityAPI<WorkflowState>
API class for reading and writing WorkflowState entities.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • WorkflowStateAPI

      public WorkflowStateAPI()
  • Method Details

    • 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.