Class PagingInfo

java.lang.Object
de.digitalcollections.model.list.paging.PagingInfo

@Deprecated(forRemoval=true, since="11.1.0") public class PagingInfo extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Summary

    Constructors
    Constructor
    Description
    PagingInfo(long totalItems, int currentPage, int totalPages, int maxPageItemsToDisplay, int pageSize, String url)
    Deprecated, for removal: This API element is subject to removal in a future version.
    PagingInfo
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PagingInfo

      public PagingInfo(long totalItems, int currentPage, int totalPages, int maxPageItemsToDisplay, int pageSize, String url)
      Deprecated, for removal: This API element is subject to removal in a future version.
      PagingInfo
      Parameters:
      totalItems - total number of items to be paged
      currentPage - number of the current page, starting with 0
      totalPages - maximum page number
      maxPageItemsToDisplay - maximum number of page navigation items to be displayed
      pageSize - page size
      url - base url
  • Method Details

    • getItems

      public List<PageItem> getItems()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getNumber

      public int getNumber()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSize

      public int getSize()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTotalItems

      public long getTotalItems()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTotalPages

      public int getTotalPages()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getUrl

      public String getUrl()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasNextPage

      public boolean hasNextPage()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasPreviousPage

      public boolean hasPreviousPage()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isFirstPage

      public boolean isFirstPage()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isLastPage

      public boolean isLastPage()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object