com.atlassian.jira.issue
Class IssueUtilsBean
java.lang.Object
com.atlassian.jira.issue.IssueUtilsBean
public class IssueUtilsBean
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueUtilsBean
public IssueUtilsBean(IssueManager issueManager,
WorkflowManager workflowManager,
JiraAuthenticationContext authenticationContext,
com.atlassian.plugin.PluginAccessor pluginAccessor)
loadAvailableActions
public Map<Integer,com.opensymphony.workflow.loader.ActionDescriptor> loadAvailableActions(Issue issueObject)
isValidAction
public boolean isValidAction(Issue issue,
int action)
- Is this a valid action for the issue in its current state
- Parameters:
issue
- the issueaction
- the id of the action we want to transition
- Returns:
- true if it is ok to use this transition
getWorkflow
public com.opensymphony.workflow.Workflow getWorkflow()
setPriority
public org.ofbiz.core.entity.GenericValue setPriority(org.ofbiz.core.entity.GenericValue issue,
User remoteUser,
String priority)
throws Exception
- Throws:
Exception
hasAvailableActionsOrOperations
public boolean hasAvailableActionsOrOperations(Issue issue)
- Determines whether or not the passed in issue has any operations or actions available to run.
- Parameters:
issue
- The issue to get actiosn and operations.
- Returns:
- true if there is atleast 1 operation or action available for the given issue.
Copyright © 2002-2009 Atlassian. All Rights Reserved.