com.atlassian.greenhopper.service.api
Class RankServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.api.RankServiceImpl
- All Implemented Interfaces:
- RankService
public class RankServiceImpl
- extends java.lang.Object
- implements RankService
Implementation of RankService
. Essentially a wrapper for the internal RankService
which returns results of the expected type for the API.
- Since:
- v5.8.1
- Author:
- mtokar
Method Summary |
int |
compareIssuePosition(long customFieldId,
com.atlassian.jira.issue.Issue first,
com.atlassian.jira.issue.Issue second)
|
java.util.Collection<com.atlassian.jira.issue.fields.CustomField> |
getRankFields()
|
boolean |
isRankField(long customFieldId)
|
com.atlassian.jira.bc.ServiceOutcome<RankChange> |
rankAfter(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue,
com.atlassian.jira.issue.Issue rankAfterIssue)
|
com.atlassian.jira.bc.ServiceOutcome<RankChange> |
rankBefore(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue,
com.atlassian.jira.issue.Issue rankBeforeIssue)
|
com.atlassian.jira.bc.ServiceOutcome<RankChange> |
rankFirst(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue)
|
com.atlassian.jira.bc.ServiceOutcome<RankChange> |
rankLast(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RankServiceImpl
public RankServiceImpl()
rankBefore
public com.atlassian.jira.bc.ServiceOutcome<RankChange> rankBefore(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue,
com.atlassian.jira.issue.Issue rankBeforeIssue)
- Specified by:
rankBefore
in interface RankService
rankAfter
public com.atlassian.jira.bc.ServiceOutcome<RankChange> rankAfter(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue,
com.atlassian.jira.issue.Issue rankAfterIssue)
- Specified by:
rankAfter
in interface RankService
rankFirst
public com.atlassian.jira.bc.ServiceOutcome<RankChange> rankFirst(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue)
- Specified by:
rankFirst
in interface RankService
rankLast
public com.atlassian.jira.bc.ServiceOutcome<RankChange> rankLast(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue)
- Specified by:
rankLast
in interface RankService
compareIssuePosition
public int compareIssuePosition(long customFieldId,
com.atlassian.jira.issue.Issue first,
com.atlassian.jira.issue.Issue second)
- Specified by:
compareIssuePosition
in interface RankService
isRankField
public boolean isRankField(long customFieldId)
- Specified by:
isRankField
in interface RankService
getRankFields
public java.util.Collection<com.atlassian.jira.issue.fields.CustomField> getRankFields()
- Specified by:
getRankFields
in interface RankService
Copyright © 2007-2013 Atlassian. All Rights Reserved.