Interface RankIndexService

All Known Implementing Classes:
RankIndexServiceImpl

public interface RankIndexService
Allows ranking issues relative to each other. Note: If you are interested in rank operations, you probably want to use RankService instead.
Author:
ahennecke, miruflin
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearIndices(com.atlassian.jira.event.ClearCacheEvent event)
     
    int
    compare(long customFieldId, long firstId, long secondId)
    Compares two issues according to their rank.
    long
    getIssuePosition(long customFieldId, long issueId)
    Get the position for the given issueId.
  • Method Details

    • compare

      int compare(long customFieldId, long firstId, long secondId)
      Compares two issues according to their rank.
    • getIssuePosition

      long getIssuePosition(long customFieldId, long issueId)
      Get the position for the given issueId. This is the absolute position in the global index, so it does not have any significance for a particular RapidView except from one showing all issues in all projects. All that is guaranteed is that rank(a) < rank(b)
    • clearIndices

      void clearIndices(com.atlassian.jira.event.ClearCacheEvent event)