|
||||||||||
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. |
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
getAvailableActions(Issue issue,
TransitionOptions transitionOptions)
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. |
List<com.opensymphony.workflow.loader.ActionDescriptor> |
getSortedAvailableActions(Issue issue,
TransitionOptions transitionOptions)
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. |
boolean |
isValidAction(Issue issue,
int action,
TransitionOptions transitionOptions)
Returns true if the given transition ID is valid for the given issue. |
Method Detail |
---|
Collection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue)
TransitionOptions.defaults()
.
issue
- the Issue
Collection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue, TransitionOptions transitionOptions)
issue
- the IssuetransitionOptions
- options to skip conditions, permissions while performing action validation
List<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue)
TransitionOptions.defaults()
.
issue
- the Issue
List<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue, TransitionOptions transitionOptions)
issue
- the IssuetransitionOptions
- options to skip conditions, permissions while performing action validation
boolean isValidAction(Issue issue, int action)
TransitionOptions.defaults()
.
issue
- the Issueaction
- the id of the action we want to transition
boolean isValidAction(Issue issue, int action, TransitionOptions transitionOptions)
issue
- the Issueaction
- the id of the action we want to transitiontransitionOptions
- options to skip conditions, permissions while performing action validation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |