Interface ViewWorkflows
- All Known Implementing Classes:
ViewWorkflowsImpl
public interface ViewWorkflows
Represents operations on the 'Workflows' page in administration.
- Since:
- v4.3
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
static class
static enum
-
Method Summary
Modifier and TypeMethodDescriptionactive()
addWorkflow
(String name, String description) Add new workflow with given name and description.copyWorkflow
(String nameToCopy, String newWorkflowName) Cope workflow with given nameToCopy as a new workflow named newWorkflowName.copyWorkflow
(String nameToCopy, String newWorkflowName, String newWorkflowDescription) createDraft
(String name) goTo()
Go to 'Workflows' page.inactive()
boolean
isDeletable
(String workflowName) boolean
isEditable
(String workflowName) boolean
Whether the import workflow from xml operation is available.launchDesigner
(String workflowName) Deprecated.Now the edit button always takes you to the workflow designer.publishDraft
(String name) workflowInitialStep
(String workflowName) Going to "Edit workflow designer", which is necessary step to manually browse edit "Create" transition page.workflowSteps
(String workflowName) Go to 'Workflow steps' page for given workflow
-
Method Details
-
goTo
ViewWorkflows goTo()Go to 'Workflows' page.- Returns:
- this workflows instance
-
addWorkflow
Add new workflow with given name and description.- Parameters:
name
- name of the new workflowdescription
- description of the new workflow- Returns:
- this workflows instance
-
edit
-
delete
-
createDraft
-
publishDraft
-
copyWorkflow
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
Go to 'Workflow steps' page for given workflow- Parameters:
workflowName
- name of the workflow- Returns:
- workflow steps
-
launchDesigner
Deprecated.Now the edit button always takes you to the workflow designer. Useedit(String)
insteadLaunch 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
ViewWorkflows.WorkflowItemsList active() -
inactive
ViewWorkflows.WorkflowItemsList inactive() -
isEditable
-
isDeletable
-
view
-
workflowInitialStep
Going to "Edit workflow designer", which is necessary step to manually browse edit "Create" transition page.- Parameters:
workflowName
-- Returns:
- Since:
- 6.3
-