java.lang.Object | |
↳ | com.atlassian.jira.workflow.OfBizDraftWorkflowStore |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DESCRIPTOR_ENTITY_FIELD | ||||||||||
String | DRAFT_WORKFLOW_ENTITY_NAME | ||||||||||
String | PARENTNAME_ENTITY_FIELD |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a temporary workflow linked back to the named active workflow by id.
| |||||||||||
Removes a temporary workflow linked to the workflow name.
| |||||||||||
This will retrieve an draft workflow that is related to the named saved workflow.
| |||||||||||
Updates a temporary workflow with the one provided for the parent workflow name passed in.
| |||||||||||
Updates a temporary workflow with the one provided for the parent workflow name passed in.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a temporary workflow linked back to the named active workflow by id. If a temporary workflow already exists, this method will throw an exception.
author | The user making the edit |
---|---|
parentWorkflow | The parent workflow to copy for the draft workflow. |
JiraDraftWorkflow
.Removes a temporary workflow linked to the workflow name.
parentWorkflowName | of the saved parent workflow. |
---|
DataAccessException |
---|
This will retrieve an draft workflow that is related to the named saved workflow. If an draft workflow is not associated with the passed in name this will return null.
parentWorkflowName | of the saved parent workflow. |
---|
JiraDraftWorkflow
.DataAccessException |
---|
Updates a temporary workflow with the one provided for the parent workflow name passed in. Throws an exception, if no temporary workflow exists for the one being updated.
user | is the user updating this draft workflow. |
---|---|
parentWorkflowName | of the saved parent workflow. |
workflow | The JiraWorkflow to use for the update. |
JiraDraftWorkflow
.DataAccessException |
---|
Updates a temporary workflow with the one provided for the parent workflow name passed in.
Throws an exception, if no temporary workflow exists for the one being updated. This will
not update the draft author or the draft date.
This method should only be used by upgrade tasks. Use updateDraftWorkflow(ApplicationUser, String, JiraWorkflow)
instead.
parentWorkflowName | of the saved parent workflow. |
---|---|
workflow | The JiraWorkflow to use for the update. |
JiraDraftWorkflow
.DataAccessException |
---|