com.atlassian.jira.issue
Class IssueUtilsBean

java.lang.Object
  extended by com.atlassian.jira.issue.IssueUtilsBean

Deprecated. Use IssueWorkflowManager instead. Since v5.0.

public class IssueUtilsBean
extends Object


Constructor Summary
IssueUtilsBean(WorkflowManager workflowManager, JiraAuthenticationContext authenticationContext, IssueWorkflowManager issueWorkflowManager)
          Deprecated.  
 
Method Summary
 com.opensymphony.workflow.Workflow getWorkflow()
          Deprecated. This should have been private. Use WorkflowManager.makeWorkflow(com.atlassian.crowd.embedded.api.User) instead. Since v5.0.
 boolean isValidAction(Issue issue, int action)
          Deprecated. Use IssueWorkflowManager.isValidAction(Issue, int) instead. Since v5.0.
 Map<Integer,com.opensymphony.workflow.loader.ActionDescriptor> loadAvailableActions(Issue issueObject)
          Deprecated. Use IssueWorkflowManager.getAvailableActions(Issue, com.atlassian.jira.user.ApplicationUser) instead. Since v5.0.
 org.ofbiz.core.entity.GenericValue setPriority(org.ofbiz.core.entity.GenericValue issue, com.atlassian.crowd.embedded.api.User remoteUser, String priority)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueUtilsBean

public IssueUtilsBean(WorkflowManager workflowManager,
                      JiraAuthenticationContext authenticationContext,
                      IssueWorkflowManager issueWorkflowManager)
Deprecated. 
Method Detail

loadAvailableActions

public Map<Integer,com.opensymphony.workflow.loader.ActionDescriptor> loadAvailableActions(Issue issueObject)
Deprecated. Use IssueWorkflowManager.getAvailableActions(Issue, com.atlassian.jira.user.ApplicationUser) instead. Since v5.0.

Gets available actions for given issue and current user.

Remember to set current user in context when using this method.


isValidAction

public boolean isValidAction(Issue issue,
                             int action)
Deprecated. Use IssueWorkflowManager.isValidAction(Issue, int) instead. Since v5.0.

Is this a valid action for the issue in its current state (for current user).

Remember to set current user in context when using this method.

Parameters:
issue - the issue
action - 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()
Deprecated. This should have been private. Use WorkflowManager.makeWorkflow(com.atlassian.crowd.embedded.api.User) instead. Since v5.0.


setPriority

@Deprecated
public org.ofbiz.core.entity.GenericValue setPriority(org.ofbiz.core.entity.GenericValue issue,
                                                                 com.atlassian.crowd.embedded.api.User remoteUser,
                                                                 String priority)
                                               throws Exception
Deprecated. 

Throws:
Exception


Copyright © 2002-2014 Atlassian. All Rights Reserved.