Interface ViewWorkflows

All Known Implementing Classes:
ViewWorkflowsImpl

public interface ViewWorkflows
Represents operations on the 'Workflows' page in administration.
Since:
v4.3
  • Method Details

    • goTo

      Go to 'Workflows' page.
      Returns:
      this workflows instance
    • addWorkflow

      ViewWorkflows addWorkflow(String name, String description)
      Add new workflow with given name and description.
      Parameters:
      name - name of the new workflow
      description - description of the new workflow
      Returns:
      this workflows instance
    • edit

      WorkflowDesignerPage edit(String workflowName)
    • delete

      ViewWorkflows delete(String workflowName)
    • createDraft

      WorkflowSteps createDraft(String name)
    • publishDraft

      PublishDraftPage publishDraft(String name)
    • copyWorkflow

      WorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName)
      Cope workflow with given nameToCopy as a new workflow named newWorkflowName.
      Parameters:
      nameToCopy - name of the workflow to copy (must exist)
      newWorkflowName - name of the new workflow
      Returns:
      this workflows instance
    • copyWorkflow

      WorkflowDesignerPage copyWorkflow(String nameToCopy, String newWorkflowName, String newWorkflowDescription)
    • workflowSteps

      WorkflowSteps workflowSteps(String workflowName)
      Go to 'Workflow steps' page for given workflow
      Parameters:
      workflowName - name of the workflow
      Returns:
      workflow steps
    • launchDesigner

      @Deprecated ViewWorkflows launchDesigner(String workflowName)
      Deprecated.
      Now the edit button always takes you to the workflow designer. Use edit(String) instead
      Launch the Workflow Designer for the given workflow
      Parameters:
      workflowName - name of the workflow
      Returns:
      this workflows instance
    • isImportWorkflowFromXmlButtonPresent

      boolean isImportWorkflowFromXmlButtonPresent()
      Whether the import workflow from xml operation is available.
      Returns:
      true, if the import workflow from xml operation is available; otherwise, false.
    • active

    • inactive

    • isEditable

      boolean isEditable(String workflowName)
    • isDeletable

      boolean isDeletable(String workflowName)
    • view

      ViewWorkflowPage view(String workflowName)
    • workflowInitialStep

      WorkflowInitialStep workflowInitialStep(String workflowName)
      Going to "Edit workflow designer", which is necessary step to manually browse edit "Create" transition page.
      Parameters:
      workflowName -
      Returns:
      Since:
      6.3