public class IssueWorkflowManagerImpl extends Object implements IssueWorkflowManager
| Constructor and Description |
|---|
IssueWorkflowManagerImpl(IssueManager issueManager,
WorkflowManager workflowManager,
JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager) |
| Modifier and Type | Method and Description |
|---|---|
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
getAvailableActions(Issue issue)
Deprecated.
|
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
getAvailableActions(Issue issue,
ApplicationUser user)
Returns the Workflow actions that are valid for the given Issue in its current state for given user.
|
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
getAvailableActions(Issue issue,
TransitionOptions transitionOptions,
ApplicationUser user)
Returns the Workflow actions that are valid for the given Issue in its current state for given user.
|
List<com.opensymphony.workflow.loader.ActionDescriptor> |
getSortedAvailableActions(Issue issue)
Deprecated.
|
List<com.opensymphony.workflow.loader.ActionDescriptor> |
getSortedAvailableActions(Issue issue,
ApplicationUser user)
Returns the Workflow actions that are valid for the given Issue in its current state for given user.
|
List<com.opensymphony.workflow.loader.ActionDescriptor> |
getSortedAvailableActions(Issue issue,
TransitionOptions transitionOptions,
ApplicationUser user)
Returns the Workflow actions that are valid for the given Issue in its current state for given user.
|
boolean |
isValidAction(Issue issue,
int actionid)
Deprecated.
|
boolean |
isValidAction(Issue issue,
int actionId,
ApplicationUser user)
Returns true if the given transition ID is valid for the given issue and given user.
|
boolean |
isValidAction(Issue issue,
int actionId,
TransitionOptions transitionOptions,
ApplicationUser user)
Returns true if the given transition ID is valid for the given issue and current user.
|
public IssueWorkflowManagerImpl(IssueManager issueManager, WorkflowManager workflowManager, JiraAuthenticationContext authenticationContext, PermissionManager permissionManager)
@Deprecated public Collection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue)
IssueWorkflowManager
This will call getAvailableActions below with TransitionOptions.defaults().
getAvailableActions in interface IssueWorkflowManagerissue - the Issuepublic Collection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue, ApplicationUser user)
IssueWorkflowManager
This will call getAvailableActions below with TransitionOptions.defaults().
getAvailableActions in interface IssueWorkflowManagerissue - the Issueuser - user to check the permissions forpublic Collection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue, TransitionOptions transitionOptions, ApplicationUser user)
IssueWorkflowManagergetAvailableActions in interface IssueWorkflowManagerissue - the IssuetransitionOptions - options to skip conditions, permissions while performing action validationuser - user to check the permissions for@Deprecated public List<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue)
IssueWorkflowManager
This will call getSortedAvailableActions below with TransitionOptions.defaults().
getSortedAvailableActions in interface IssueWorkflowManagerissue - the Issuepublic List<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue, ApplicationUser user)
IssueWorkflowManager
This will call getSortedAvailableActions below with TransitionOptions.defaults().
getSortedAvailableActions in interface IssueWorkflowManagerissue - the Issueuser - user to check the permissions forpublic List<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue, TransitionOptions transitionOptions, ApplicationUser user)
IssueWorkflowManagergetSortedAvailableActions in interface IssueWorkflowManagerissue - the IssuetransitionOptions - options to skip conditions, permissions while performing action validationuser - user to check the permissions for@Deprecated public boolean isValidAction(Issue issue, int actionid)
IssueWorkflowManager
This will call isValidAction below with TransitionOptions.defaults().
isValidAction in interface IssueWorkflowManagerissue - the Issueactionid - the id of the action we want to transitionpublic boolean isValidAction(Issue issue, int actionId, ApplicationUser user)
IssueWorkflowManager
This will call isValidAction below with TransitionOptions.defaults().
isValidAction in interface IssueWorkflowManagerissue - the IssueactionId - the id of the action we want to transitionuser - user to check the permissions forpublic boolean isValidAction(Issue issue, int actionId, TransitionOptions transitionOptions, ApplicationUser user)
IssueWorkflowManagerisValidAction in interface IssueWorkflowManagerissue - the IssueactionId - the id of the action we want to transitiontransitionOptions - options to skip conditions, permissions while performing action validationuser - user to check the permissions forCopyright © 2002-2024 Atlassian. All Rights Reserved.