|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RankService
Provides a mechanism to rank an issue relative to another one, rank issues absolutely at the top or bottom,
compare the positions of two issues and discover rank CustomField objects.
RankChange object, or a JIRA ErrorCollection containing
the errors encountered.
| Method Summary | |
|---|---|
int |
compareIssuePosition(long customFieldId,
com.atlassian.jira.issue.Issue first,
com.atlassian.jira.issue.Issue second)
Compares two issues against each other. |
java.util.Collection<com.atlassian.jira.issue.fields.CustomField> |
getRankFields()
All rank fields which are properly-configured Global Rank custom fields. |
boolean |
isRankField(long customFieldId)
Is the passed custom field ID the ID of a properly-configured Global Rank custom field? |
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)
Rank an issue after another one. |
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)
Rank an issue before another one. |
com.atlassian.jira.bc.ServiceOutcome<RankChange> |
rankFirst(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue)
Rank an issue first, thus add it as first global issue. |
com.atlassian.jira.bc.ServiceOutcome<RankChange> |
rankLast(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue)
Rank an issue last, thus add it as last global issue |
| Method Detail |
|---|
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)
user - The user performing the rank operationcustomFieldId - the ID of the custom fieldissue - The issue to rankrankBeforeIssue - The issue to be ranked before.
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)
user - The user performing the rank operationcustomFieldId - the ID of the custom fieldissue - The issue to rankrankAfterIssue - The issue to be ranked after.
com.atlassian.jira.bc.ServiceOutcome<RankChange> rankFirst(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue)
user - The user performing the rank operationcustomFieldId - the ID of the custom fieldissue - The issue to rank
com.atlassian.jira.bc.ServiceOutcome<RankChange> rankLast(com.atlassian.crowd.embedded.api.User user,
long customFieldId,
com.atlassian.jira.issue.Issue issue)
user - The user performing the rank operationcustomFieldId - the ID of the custom fieldissue - The issue to rank
int compareIssuePosition(long customFieldId,
com.atlassian.jira.issue.Issue first,
com.atlassian.jira.issue.Issue second)
0 is returned.
customFieldId - the ID of the rank custom fieldfirst - the first issuesecond - the second issue
-1, 0 or 1isRankField(long),
getRankFields()boolean isRankField(long customFieldId)
customFieldId - the ID of the custom field
java.util.Collection<com.atlassian.jira.issue.fields.CustomField> getRankFields()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||