Interface KeysetPage

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    DefaultKeysetPage

    public interface KeysetPage
    extends Serializable
    An interface that represents the key set of a PagedList. Instances of this interface can be used for key set pagination.
    Since:
    1.0.0
    Author:
    Christian Beikov
    • Method Detail

      • getFirstResult

        int getFirstResult()
        Returns the position of the first result, numbered from 0. This is the position of the first element of this key set.
        Returns:
        The position of the first result
      • getMaxResults

        int getMaxResults()
        Returns the maximum number of results. This is the maximum number of results of this key set.
        Returns:
        The maximum number of results
      • getLowest

        Keyset getLowest()
        Returns the key set for the lowest entry of the corresponding PagedList.
        Returns:
        The key set for the lowest entry
      • getHighest

        Keyset getHighest()
        Returns the key set for the highest entry of the corresponding PagedList.
        Returns:
        The key set for the highest entry
      • getKeysets

        List<Keyset> getKeysets()
        Returns the key set list of the corresponding PagedList.
        Returns:
        The key set list
        Since:
        1.4.0