|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.workflow.IssueWorkflowManagerImpl
public class IssueWorkflowManagerImpl
| Constructor Summary | |
|---|---|
IssueWorkflowManagerImpl(IssueManager issueManager,
WorkflowManager workflowManager,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager)
|
|
| 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 actionid)
Returns true if the given transition ID is valid for the given issue. |
boolean |
isValidAction(Issue issue,
int actionid,
TransitionOptions transitionOptions)
Returns true if the given transition ID is valid for the given issue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IssueWorkflowManagerImpl(IssueManager issueManager,
WorkflowManager workflowManager,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager)
| Method Detail |
|---|
public Collection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue)
IssueWorkflowManagerTransitionOptions.defaults().
getAvailableActions in interface IssueWorkflowManagerissue - the Issue
public Collection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue,
TransitionOptions transitionOptions)
IssueWorkflowManager
getAvailableActions in interface IssueWorkflowManagerissue - the IssuetransitionOptions - options to skip conditions, permissions while performing action validation
public List<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue)
IssueWorkflowManagerTransitionOptions.defaults().
getSortedAvailableActions in interface IssueWorkflowManagerissue - the Issue
public List<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue,
TransitionOptions transitionOptions)
IssueWorkflowManager
getSortedAvailableActions in interface IssueWorkflowManagerissue - the IssuetransitionOptions - options to skip conditions, permissions while performing action validation
public boolean isValidAction(Issue issue,
int actionid)
IssueWorkflowManagerTransitionOptions.defaults().
isValidAction in interface IssueWorkflowManagerissue - the Issueactionid - the id of the action we want to transition
public boolean isValidAction(Issue issue,
int actionid,
TransitionOptions transitionOptions)
IssueWorkflowManager
isValidAction in interface IssueWorkflowManagerissue - the Issueactionid - 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 | |||||||||