@Internal
public interface WorkflowGlobalTransitions
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<TransitionData> |
addGlobalTransitionToWorkflow(String workflowName,
String statusId,
String globalTransitionName,
String globalTransitionDescription,
Long screenId)
Add a global transition with the specified properties to the named workflow.
|
ServiceOutcome<Workflow> |
createGlobalTransition(String statusId,
String workflowName,
String globalTransitionName,
String globalTransitionDescription,
Long screenId)
Create a global transition to a specified status on a workflow.
|
ServiceOutcome<Workflow> |
deleteGlobalTransition(String globalTransitionId,
String workflowName)
Delete the global transition in the specified workflow.
|
String |
resolveUniqueGlobalTransitionName(Workflow workflow,
String globalTransitionName)
Checks if a global transition name conflict occurs, returns a generated unique name if it does
|
ServiceOutcome<Workflow> |
updateGlobalTransition(int transitionId,
String name,
String description,
Long screenId,
String workflowName)
Update the global transition identified by the specified transition id with the supplied properties.
|
ServiceOutcome<Workflow> |
verifyGlobalTransitionCanBeUpdated(int transitionId,
String name,
String workflowName,
Long screenId) |
ServiceOutcome<Workflow> createGlobalTransition(String statusId, String workflowName, String globalTransitionName, String globalTransitionDescription, Long screenId)
statusId
- workflowName
- globalTransitionName
- globalTransitionDescription
- screenId
- ServiceOutcome
containing the updated workflow.ServiceOutcome<TransitionData> addGlobalTransitionToWorkflow(String workflowName, String statusId, String globalTransitionName, String globalTransitionDescription, Long screenId)
ServiceOutcome<Workflow> deleteGlobalTransition(String globalTransitionId, String workflowName)
globalTransitionId
- The global transition to delete.workflowName
- The workflow to delete the global transition from.ServiceOutcome
containing the updated workflow.ServiceOutcome<Workflow> updateGlobalTransition(int transitionId, String name, String description, Long screenId, String workflowName)
transitionId
- name
- description
- screenId
- workflowName
- ServiceOutcome<Workflow> verifyGlobalTransitionCanBeUpdated(int transitionId, String name, String workflowName, Long screenId)
String resolveUniqueGlobalTransitionName(Workflow workflow, String globalTransitionName)
workflow
- derived names are only unique within this workflowglobalTransitionName
- The desired name for the global transitionCopyright © 2002-2017 Atlassian. All Rights Reserved.