|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Transactional public interface RankDao
Responsible for persisting and loading issue rank data from/to persistent storage
Method Summary | |
---|---|
void |
insert(java.lang.Long customFieldId,
java.lang.Long issueId,
java.lang.Long newNext,
java.lang.Long newPrevious)
Insert a new rank. |
void |
loadAll(java.lang.Long customFieldId,
com.atlassian.jira.util.Consumer<IssueRankingAO> consumer)
Loads all data for a given field into the provided consumer |
void |
move(java.lang.Long customFieldId,
java.lang.Long issueId,
java.lang.Long oldNext,
java.lang.Long oldPrevious,
java.lang.Long newNext,
java.lang.Long newPrevious)
Move a rank to a new position. |
void |
remove(java.lang.Long customFieldId,
java.lang.Long issueId,
java.lang.Long oldNext,
java.lang.Long oldPrevious)
Remove a rank. |
Method Detail |
---|
void loadAll(java.lang.Long customFieldId, com.atlassian.jira.util.Consumer<IssueRankingAO> consumer)
customFieldId
- the ID of the rank custom fieldvoid insert(java.lang.Long customFieldId, java.lang.Long issueId, java.lang.Long newNext, java.lang.Long newPrevious)
customFieldId
- the ID of the rank custom fieldissueId
- : the issueId of the issue to insertnewNext
- : the next issue from the new position, after the move. Can be null if moved to the last position.newPrevious
- : the previous issue from the new position, after the move. Can be null if moved to the first position.void move(java.lang.Long customFieldId, java.lang.Long issueId, java.lang.Long oldNext, java.lang.Long oldPrevious, java.lang.Long newNext, java.lang.Long newPrevious)
customFieldId
- the ID of the rank custom fieldissueId
- : the issueId of the issue to moveoldNext
- : the next issue from the former position, before the move. Can be null in case the last issue is moved.oldPrevious
- : the previous issue from the former position, before the move. Can be null in case the first issue is moved.newNext
- : the next issue from the new position, after the move. Can be null if moved to the last position.newPrevious
- : the previous issue from the new position, after the move. Can be null if moved to the first position.void remove(java.lang.Long customFieldId, java.lang.Long issueId, java.lang.Long oldNext, java.lang.Long oldPrevious)
customFieldId
- the ID of the rank custom fieldissueId
- : the issueId of the issue to removeoldNext
- : the next issue from the former position, before the removal. Can be null in case the last issue is removed.oldPrevious
- : the previous issue from the former position, before the removal. Can be null in case the first issue is removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |