Interface IncrementalFetch.IncrementalFetchDetails

  • Enclosing interface:
    IncrementalFetch

    public static interface IncrementalFetch.IncrementalFetchDetails
    This class takes care of the calculations needed for knowing what element indexes are currently being displayed, how many total elements are on the list, how many are still ahead, etc.
    Since:
    MicroStrategy Web 9.0.0
    • Method Detail

      • getPageNumber

        int getPageNumber​(int elementIndex)
        Helper method for obtaining the page number index corresponding to the information provided
        Parameters:
        elementIndex - index of the element on the page
        Returns:
        the page number index corresponding to the information provided and the definition of this instance in terms of block size and list start index.
      • getPreviousIndex

        int getPreviousIndex()
        Returns:
        the element index to access if the user decides to navigate to the previous page
      • getPreviousSetIndex

        int getPreviousSetIndex()
        Returns:
        the element index to access if the user decides to navigate to the previous set page index
      • getCurrentStartIndex

        int getCurrentStartIndex()
        Returns:
        the element index where the current list being viewed starts
      • getCurrentEndIndex

        int getCurrentEndIndex()
        Returns:
        the element index where the current list being viewed ends
      • getRemaining

        int getRemaining()
        Returns:
        the number of elements on the list, ahead of the current ones being viewed
      • getNextIndex

        int getNextIndex()
        Returns:
        the element index to access if the user decides to navigate to the next page
      • getNextSetIndex

        int getNextSetIndex()
        Returns:
        the element index to access if the user decides to navigate to the next set page index
      • getPageCount

        int getPageCount()
        Returns:
        the total number of pages available
      • getBlockBegin

        int getBlockBegin()
        Returns:
        the value where the current block begins
      • getBlockCount

        int getBlockCount()
        Returns:
        the value of the block's size
      • getTotalCount

        int getTotalCount()
        Returns:
        the total number of elements on the list
      • getListStartIndex

        int getListStartIndex()
        Returns:
        the list start index value
      • getFetchSize

        int getFetchSize()
        Returns:
        the fetch size, which is the increments to be handled on the next and previous buttons in case navigation mode is specified as multiple