public interface Pagination<T> extends PageModelEntity
Modifier and Type | Method and Description |
---|---|
Page |
getCurrent()
Gets the current page
|
Page |
getFirst()
Gets the first page
|
List<T> |
getItems()
Gets the items listed on the page
|
Page |
getLast()
Gets the last page
|
int |
getLimit()
Gets the number of pages which are shown on the pagination
|
Page |
getNext()
Gets the next page
|
int |
getOffset()
Gets the offset with respect to the current page number.
|
List<Page> |
getPages()
Returns pages with respect to the limit
|
Page |
getPrevious()
Gets the previous page
|
int |
getSize()
Gets the size of items which are listed on the page.
|
long |
getTotal()
Total number of results
|
boolean |
isEnabled()
Whether pagination is enabled
|
Page getFirst()
Page getPrevious()
Page getCurrent()
Page getNext()
Page getLast()
int getSize()
int getLimit()
long getTotal()
boolean isEnabled()
int getOffset()
Copyright © 2008–2021 Hippo B.V. (http://www.onehippo.com). All rights reserved.