public interface LexoRankManager
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Void> |
deleteRanksForDeletedIssue(long issueId)
Deltes all ranks for given issue.
|
ServiceOutcome<Void> |
deleteRanksForIssueIdsBetween(long startIdInclusive,
long endIdInclusive)
Deletes all ranks for the issues between startIdInclusive and endIdInclusive.
|
ServiceOutcome<Void> |
deleteRanksForIssues(Iterable<Long> issueIds)
Deletes all ranks for the given issues
|
ServiceOutcome<Set<Long>> |
dropField(long fieldId)
Drops given field within certain timeout.
|
com.atlassian.fugue.Option<LexoRank> |
getRank(long fieldId,
long issueId)
Looks up the rank for given issue.
|
LexoRankOperationOutcome<LexoRankChange> |
getRankOrRankInitially(long fieldId,
long issueId)
Returns the rank of an issue for a custom field.
|
LexoRankOperationOutcome<LexoRankChange> |
getRankOrRankInitially(long fieldId,
long issueId,
boolean reIndex)
Returns the rank of an issue for a custom field.
|
Map<Long,LexoRank> |
getRankValues(long fieldId,
Collection<Long> issueIds)
Looks up the ranks for given issues.
|
ServiceOutcome<Void> |
healDuplicates(long fieldId)
Performs healing operation for given field.
|
ServiceOutcome<Void> |
initField(long fieldId)
Initializes given field for lexo rank.
|
LexoRankOperationOutcome<LexoRankChange> |
rankAfter(long fieldId,
long issueId,
long otherIssueId)
Ranks given issue after other given issue.
|
LexoRankOperationOutcome<LexoRankChange> |
rankBefore(long fieldId,
long issueId,
long otherIssueId)
Ranks given issue before other given issue.
|
LexoRankOperationOutcome<LexoRankChange> |
rankFirst(long fieldId,
long issueId)
Ranks given issue as first.
|
LexoRankOperationOutcome<LexoRankChange> |
rankLast(long fieldId,
long issueId)
Ranks given issue as last.
|
ServiceOutcome<Void> initField(long fieldId)
fieldId
- of the lexo rank custom field.ServiceOutcome<Set<Long>> dropField(long fieldId)
fieldId
- of the lexo rank custom fieldLexoRankOperationOutcome<LexoRankChange> getRankOrRankInitially(long fieldId, long issueId)
fieldId
- of the lexo rank custom fieldissueId
- of the issueLexoRankOperationOutcome<LexoRankChange> getRankOrRankInitially(long fieldId, long issueId, boolean reIndex)
fieldId
- of the lexo rank custom fieldissueId
- of the issuereIndex
- whether to reIndex issue after operationServiceOutcome<Void> deleteRanksForDeletedIssue(long issueId)
issueId
- of the issue.ServiceOutcome<Void> deleteRanksForIssues(Iterable<Long> issueIds)
issueIds
- of the issuesServiceOutcome<Void> deleteRanksForIssueIdsBetween(long startIdInclusive, long endIdInclusive)
startIdInclusive
- of the rank to delete fromendIdInclusive
- of the rank to delete toLexoRankOperationOutcome<LexoRankChange> rankBefore(long fieldId, long issueId, long otherIssueId)
fieldId
- of the lexo rank custom field.issueId
- of the issue to be ranked.otherIssueId
- before which the issue will be ranked.LexoRankOperationOutcome<LexoRankChange> rankAfter(long fieldId, long issueId, long otherIssueId)
fieldId
- of the lexo rank custom fieldissueId
- of the issue to be ranked.otherIssueId
- after which issue will be ranked.LexoRankOperationOutcome<LexoRankChange> rankFirst(long fieldId, long issueId)
fieldId
- of the lexo rank custom fieldissueId
- of the issue to be ranked.LexoRankOperationOutcome<LexoRankChange> rankLast(long fieldId, long issueId)
fieldId
- of the lexo rank custom fieldissueId
- of the issue to be ranked.ServiceOutcome<Void> healDuplicates(long fieldId)
fieldId
- for which heal operation will be performed.com.atlassian.fugue.Option<LexoRank> getRank(long fieldId, long issueId)
fieldId
- of the lexo rank custom fieldissueId
- of the issue to be looked up.Map<Long,LexoRank> getRankValues(long fieldId, Collection<Long> issueIds)
fieldId
- of the lexo rank custom fieldissueIds
- of the issues to be looked up.Copyright © 2007–2015 Atlassian. All rights reserved.