com.atlassian.greenhopper.web.issue.edit
Class RankIssuesHelper

java.lang.Object
  extended by com.atlassian.greenhopper.web.issue.edit.RankIssuesHelper

@Service(value="gh-rankIssuesHelper")
public class RankIssuesHelper
extends java.lang.Object

Contains most of the ranking code.


Field Summary
static java.lang.String SERVICE
           
 
Constructor Summary
RankIssuesHelper()
           
 
Method Summary
 com.atlassian.jira.issue.Issue getUpperBaseIssue(com.atlassian.jira.issue.Issue rankedToIssue)
          Calculates the upper base issue - the issue to rank the upper ranked issues against.
 void rankIssues(ErrorCollection errorCollection, RankIssuesData rankIssuesData, IssueSelectionViewModel model)
          Ranks the passed in issues according to the rankedToIssue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE

public static final java.lang.String SERVICE
See Also:
Constant Field Values
Constructor Detail

RankIssuesHelper

public RankIssuesHelper()
Method Detail

rankIssues

public void rankIssues(ErrorCollection errorCollection,
                       RankIssuesData rankIssuesData,
                       IssueSelectionViewModel model)
Ranks the passed in issues according to the rankedToIssue


getUpperBaseIssue

public com.atlassian.jira.issue.Issue getUpperBaseIssue(com.atlassian.jira.issue.Issue rankedToIssue)
Calculates the upper base issue - the issue to rank the upper ranked issues against. This is always rankedToIssue



Copyright © 2007-2011 Atlassian. All Rights Reserved.