com.atlassian.jira.bc.workflow.WorkflowSchemeService |
Known Indirect Subclasses |
@Internal
or @PublicApi
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return a builder that can be used to create a
AssignableWorkflowScheme . | |||||||||||
Create a draft workflow scheme.
| |||||||||||
Create a draft for the passed workflow scheme.
| |||||||||||
Create a new workflow scheme.
| |||||||||||
Delete the passed workflow scheme.
| |||||||||||
Return a builder that can be used to create a
DraftWorkflowScheme for the passed workflow scheme. | |||||||||||
Return draft of the passed workflow scheme if it actually exists.
| |||||||||||
Return draft of the passed workflow scheme if it actually exists.
| |||||||||||
Return the workflow scheme associated with passed project.
| |||||||||||
Return the number of projects that use the passed scheme.
| |||||||||||
Return the workflow scheme for the passed id.
| |||||||||||
Is the passed workflow scheme being used by a project in JIRA.
| |||||||||||
Tells the caller if the passed project is using the default workflow scheme.
| |||||||||||
Save changes to the passed workflow scheme.
| |||||||||||
Save changes to the passed workflow scheme.
| |||||||||||
Validate that the passed scheme can be saved.
|
Return a builder that can be used to create a AssignableWorkflowScheme
. The actual scheme will not
be created in JIRA until the createScheme(com.atlassian.jira.user.ApplicationUser, com.atlassian.jira.workflow.AssignableWorkflowScheme)
method is called.
AssignableWorkflowScheme
.
Create a draft workflow scheme. The draft can be created using the builder returned from the
draftBuilder(com.atlassian.jira.workflow.AssignableWorkflowScheme)
method.
To create a draft scheme the parent must be:
creator | the user creating the draft. |
---|---|
draftWorkflowScheme | the draft to create. |
Create a draft for the passed workflow scheme.
To create a draft scheme the parent must be:
creator | the user creating the draft. |
---|---|
parentId | the workflow scheme to create a draft for. |
Create a new workflow scheme.
creator | the user creating the scheme. |
---|---|
scheme | the scheme to create. |
Delete the passed workflow scheme. A workflow scheme can only be deleted if its a draft or its not active.
user | the user deleting the scheme. |
---|---|
scheme | the scheme. |
Return a builder that can be used to create a DraftWorkflowScheme
for the passed workflow scheme.
The actual scheme will not be created in JIRA until the createDraft(com.atlassian.jira.user.ApplicationUser, DraftWorkflowScheme)
method is called.
DraftWorkflowScheme
.
Return draft of the passed workflow scheme if it actually exists. A succesful outcome with null result will be returned if the draft does not exist.
user | the user making the request. |
---|---|
parentScheme | the workflow scheme whose draft we are searching for. |
Return draft of the passed workflow scheme if it actually exists. An unsuccessful outcome will be returned if the draft does not exist.
user | the user making the request. |
---|---|
parentScheme | the workflow scheme whose draft we are searching for. |
Return the workflow scheme associated with passed project.
project | the project. |
---|
Return the number of projects that use the passed scheme.
assignableWorkflowScheme | the scheme to check. |
---|
Return the workflow scheme for the passed id.
user | the user searching for the scheme. |
---|---|
id | the id of the workflow scheme to find. |
Is the passed workflow scheme being used by a project in JIRA.
workflowScheme | the workflow scheme to test. |
---|
Tells the caller if the passed project is using the default workflow scheme.
project | the project to check. |
---|
Save changes to the passed workflow scheme.
user | the user making the changes. |
---|---|
scheme | the scheme to change. |
Save changes to the passed workflow scheme.
user | the user making the changes. |
---|---|
scheme | the scheme to change. |
Validate that the passed scheme can be saved.
user | the user making the changes. |
---|---|
scheme | the scheme to change. |