Class PagingInfo
java.lang.Object
de.digitalcollections.model.list.paging.PagingInfo
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorDescriptionPagingInfo
(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 TypeMethodDescriptiongetItems()
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
getSize()
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.getUrl()
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.toString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
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 pagedcurrentPage
- number of the current page, starting with 0totalPages
- maximum page numbermaxPageItemsToDisplay
- maximum number of page navigation items to be displayedpageSize
- page sizeurl
- base url
-
-
Method Details
-
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
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
Deprecated, for removal: This API element is subject to removal in a future version.
-
PageResponse.getNavItems(int)
instead.