|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowManager
The WorkflowManager is used to interface with the workflow implementation
Method Summary | |
---|---|
org.ofbiz.core.entity.GenericValue |
createIssue(java.lang.String remoteUserName,
java.util.Map fields)
|
void |
createWorkflow(com.opensymphony.user.User creator,
JiraWorkflow workflow)
|
void |
deleteWorkflow(JiraWorkflow workflow)
|
void |
doWorkflowAction(WorkflowProgressAware from)
|
com.opensymphony.workflow.loader.ActionDescriptor |
getActionDescriptor(WorkflowProgressAware workflowProgressAware)
|
java.util.Collection |
getActiveWorkflows()
Retrieve all currently active workflows. |
com.opensymphony.user.User |
getRemoteUser(java.util.Map transientVars)
|
com.opensymphony.workflow.spi.WorkflowStore |
getStore()
|
JiraWorkflow |
getWorkflow(org.ofbiz.core.entity.GenericValue issue)
Retrieve the workflow for a given issue. |
JiraWorkflow |
getWorkflow(java.lang.Long projectId,
java.lang.String issueTypeId)
Retrieve the workflow for a given project - issue type pair. |
JiraWorkflow |
getWorkflow(java.lang.String name)
Retrieve a single workflow by name |
JiraWorkflow |
getWorkflowFromScheme(org.ofbiz.core.entity.GenericValue scheme,
java.lang.String issueTypeId)
Return the workflow in a particular scheme for a given issue type. |
java.util.Collection |
getWorkflows()
Retrieve all of the workflows in the system |
boolean |
isActive(JiraWorkflow workflow)
Determine whether or not a given workflow is active in the system. |
boolean |
isSystemWorkflow(JiraWorkflow workflow)
Determine whether or not a given workflow is a system workflow. |
com.opensymphony.workflow.Workflow |
makeWorkflow(java.lang.String userName)
|
void |
migrateIssueToWorkflow(org.ofbiz.core.entity.GenericValue issue,
JiraWorkflow newWorkflow,
org.ofbiz.core.entity.GenericValue status)
|
void |
saveWorkflow(JiraWorkflow workflow)
|
boolean |
workflowExists(java.lang.String name)
|
Method Detail |
---|
java.util.Collection getWorkflows()
boolean isActive(JiraWorkflow workflow) throws WorkflowException
Active workflows are those currently assigned to schemes and associated with projects - they cannot be edited but can be used.
WorkflowException
boolean isSystemWorkflow(JiraWorkflow workflow) throws WorkflowException
WorkflowException
java.util.Collection getActiveWorkflows() throws WorkflowException
WorkflowException
JiraWorkflow getWorkflow(java.lang.String name)
JiraWorkflow getWorkflow(org.ofbiz.core.entity.GenericValue issue) throws WorkflowException
WorkflowException
JiraWorkflow getWorkflow(java.lang.Long projectId, java.lang.String issueTypeId) throws WorkflowException
WorkflowException
JiraWorkflow getWorkflowFromScheme(org.ofbiz.core.entity.GenericValue scheme, java.lang.String issueTypeId) throws WorkflowException
WorkflowException
org.ofbiz.core.entity.GenericValue createIssue(java.lang.String remoteUserName, java.util.Map fields) throws WorkflowException
WorkflowException
void doWorkflowAction(WorkflowProgressAware from)
com.opensymphony.user.User getRemoteUser(java.util.Map transientVars) throws com.opensymphony.user.EntityNotFoundException
com.opensymphony.user.EntityNotFoundException
com.opensymphony.workflow.spi.WorkflowStore getStore() throws com.opensymphony.workflow.StoreException
com.opensymphony.workflow.StoreException
void createWorkflow(com.opensymphony.user.User creator, JiraWorkflow workflow) throws WorkflowException
WorkflowException
void saveWorkflow(JiraWorkflow workflow) throws WorkflowException
WorkflowException
void deleteWorkflow(JiraWorkflow workflow) throws WorkflowException
WorkflowException
com.opensymphony.workflow.loader.ActionDescriptor getActionDescriptor(WorkflowProgressAware workflowProgressAware) throws java.lang.Exception
java.lang.Exception
void migrateIssueToWorkflow(org.ofbiz.core.entity.GenericValue issue, JiraWorkflow newWorkflow, org.ofbiz.core.entity.GenericValue status) throws WorkflowException
WorkflowException
com.opensymphony.workflow.Workflow makeWorkflow(java.lang.String userName)
boolean workflowExists(java.lang.String name) throws WorkflowException
WorkflowException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |