com.atlassian.jira.issue
Class IssueUtilsBean

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

public class IssueUtilsBean
extends Object


Constructor Summary
IssueUtilsBean(IssueManager issueManager, WorkflowManager workflowManager, JiraAuthenticationContext authenticationContext, IssueFactory issueFactory)
           
 
Method Summary
 void filterIssues(Collection issues, IssueFilter filter)
           
 com.opensymphony.workflow.Workflow getWorkflow()
           
 boolean isValidAction(Issue issue, int action)
          Is this a valid action for the issue in its current state
 Map loadAvailableActions(Issue issueObject)
           
 org.ofbiz.core.entity.GenericValue setPriority(org.ofbiz.core.entity.GenericValue issue, User remoteUser, String priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueUtilsBean

public IssueUtilsBean(IssueManager issueManager,
                      WorkflowManager workflowManager,
                      JiraAuthenticationContext authenticationContext,
                      IssueFactory issueFactory)
Method Detail

loadAvailableActions

public Map 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 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()

filterIssues

public void filterIssues(Collection issues,
                         IssueFilter filter)

setPriority

public org.ofbiz.core.entity.GenericValue setPriority(org.ofbiz.core.entity.GenericValue issue,
                                                      User remoteUser,
                                                      String priority)
                                               throws Exception
Throws:
Exception


Copyright © 2002-2007 Atlassian. All Rights Reserved.