|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface IssueWorkflowManager
Works with workflows on Issues.
While WorkflowManager
deals with the global administration of Workflows, this Manager supplies operations
that work on the wokrflow and current state of an individual Issue.
IssueManager
,
WorkflowManager
Method Summary | |
---|---|
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
getAvailableActions(Issue issue)
Returns the Workflow actions that are valid for the given Issue in its current state. |
List<com.opensymphony.workflow.loader.ActionDescriptor> |
getSortedAvailableActions(Issue issue)
Returns the Workflow actions that are valid for the given Issue in its current state. |
boolean |
isValidAction(Issue issue,
int action)
Returns true if the given transition ID is valid for the given issue. |
Method Detail |
---|
Collection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue)
issue
- the Issue
List<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue)
issue
- the Issue
boolean isValidAction(Issue issue, int action)
issue
- the Issueaction
- the id of the action we want to transition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |