@PublicApi
public interface IssueWorkflowManager
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
Modifier and Type | Method and Description |
---|---|
Collection<com.opensymphony.workflow.loader.ActionDescriptor> |
getAvailableActions(Issue issue)
Deprecated.
since v6.3
|
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.
since v6.3
|
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 action)
Deprecated.
since v6.3
|
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.
|
@Deprecated Collection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue)
This will call getAvailableActions below with TransitionOptions.defaults()
.
issue
- the IssueCollection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue, ApplicationUser user)
This will call getAvailableActions below with TransitionOptions.defaults()
.
issue
- the Issueuser
- user to check the permissions forCollection<com.opensymphony.workflow.loader.ActionDescriptor> getAvailableActions(Issue issue, TransitionOptions transitionOptions, ApplicationUser user)
issue
- the IssuetransitionOptions
- options to skip conditions, permissions while performing action validationuser
- user to check the permissions for@Deprecated List<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue)
This will call getSortedAvailableActions below with TransitionOptions.defaults()
.
issue
- the IssueList<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue, ApplicationUser user)
This will call getSortedAvailableActions below with TransitionOptions.defaults()
.
issue
- the Issueuser
- user to check the permissions forList<com.opensymphony.workflow.loader.ActionDescriptor> getSortedAvailableActions(Issue issue, TransitionOptions transitionOptions, ApplicationUser user)
issue
- the IssuetransitionOptions
- options to skip conditions, permissions while performing action validationuser
- user to check the permissions for@Deprecated boolean isValidAction(Issue issue, int action)
This will call isValidAction below with TransitionOptions.defaults()
.
issue
- the Issueaction
- the id of the action we want to transitionboolean isValidAction(Issue issue, int actionId, ApplicationUser user)
This will call isValidAction below with TransitionOptions.defaults()
.
issue
- the IssueactionId
- the id of the action we want to transitionuser
- user to check the permissions forboolean isValidAction(Issue issue, int actionId, TransitionOptions transitionOptions, ApplicationUser user)
issue
- 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.