|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The WorkflowManager is used to interface with the workflow implementation
Method Summary | |
org.ofbiz.core.entity.GenericValue |
createIssue(String remoteUserName,
Map fields)
|
void |
createWorkflow(User creator,
JiraWorkflow workflow)
|
void |
deleteWorkflow(JiraWorkflow workflow)
|
void |
doWorkflowAction(WorkflowProgressAware from)
|
com.opensymphony.workflow.loader.ActionDescriptor |
getActionDescriptor(WorkflowProgressAware workflowProgressAware)
|
Collection |
getActiveWorkflows()
Retrieve all currently active workflows. |
User |
getRemoteUser(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(Long projectId,
String issueTypeId)
Retrieve the workflow for a given project - issue type pair. |
JiraWorkflow |
getWorkflow(String name)
Retrieve a single workflow by name |
JiraWorkflow |
getWorkflowFromScheme(org.ofbiz.core.entity.GenericValue scheme,
String issueTypeId)
Return the workflow in a particular scheme for a given issue type. |
Collection |
getWorkflows()
Retrieve all of the workflows in the system |
Collection |
getWorkflowsFromScheme(org.ofbiz.core.entity.GenericValue workflowScheme)
Returns all workflows for a given scheme |
boolean |
isActive(JiraWorkflow workflow)
Determine whether or not a given workflow is active in the system. |
boolean |
isEditable(Issue issue)
|
boolean |
isSystemWorkflow(JiraWorkflow workflow)
Determine whether or not a given workflow is a system workflow. |
com.opensymphony.workflow.Workflow |
makeWorkflow(String userName)
|
void |
migrateIssueToWorkflow(org.ofbiz.core.entity.GenericValue issue,
JiraWorkflow newWorkflow,
org.ofbiz.core.entity.GenericValue status)
|
void |
removeWorkflowEntries(org.ofbiz.core.entity.GenericValue issue)
|
void |
saveWorkflow(JiraWorkflow workflow)
|
boolean |
workflowExists(String name)
|
Method Detail |
public Collection getWorkflows()
public 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
public boolean isSystemWorkflow(JiraWorkflow workflow) throws WorkflowException
WorkflowException
public Collection getActiveWorkflows() throws WorkflowException
WorkflowException
public JiraWorkflow getWorkflow(String name)
public JiraWorkflow getWorkflow(org.ofbiz.core.entity.GenericValue issue) throws WorkflowException
WorkflowException
public JiraWorkflow getWorkflow(Long projectId, String issueTypeId) throws WorkflowException
WorkflowException
public JiraWorkflow getWorkflowFromScheme(org.ofbiz.core.entity.GenericValue scheme, String issueTypeId) throws WorkflowException
WorkflowException
public Collection getWorkflowsFromScheme(org.ofbiz.core.entity.GenericValue workflowScheme) throws WorkflowException
workflowScheme
-
WorkflowException
public org.ofbiz.core.entity.GenericValue createIssue(String remoteUserName, Map fields) throws WorkflowException
WorkflowException
public void removeWorkflowEntries(org.ofbiz.core.entity.GenericValue issue) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void doWorkflowAction(WorkflowProgressAware from)
public User getRemoteUser(Map transientVars) throws EntityNotFoundException
EntityNotFoundException
public com.opensymphony.workflow.spi.WorkflowStore getStore() throws com.opensymphony.workflow.StoreException
com.opensymphony.workflow.StoreException
public void createWorkflow(User creator, JiraWorkflow workflow) throws WorkflowException
WorkflowException
public void saveWorkflow(JiraWorkflow workflow) throws WorkflowException
WorkflowException
public void deleteWorkflow(JiraWorkflow workflow) throws WorkflowException
WorkflowException
public com.opensymphony.workflow.loader.ActionDescriptor getActionDescriptor(WorkflowProgressAware workflowProgressAware) throws Exception
Exception
public void migrateIssueToWorkflow(org.ofbiz.core.entity.GenericValue issue, JiraWorkflow newWorkflow, org.ofbiz.core.entity.GenericValue status) throws WorkflowException
WorkflowException
public com.opensymphony.workflow.Workflow makeWorkflow(String userName)
public boolean workflowExists(String name) throws WorkflowException
WorkflowException
public boolean isEditable(Issue issue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |