T - Type of the entities on the page.public interface PaginatedResult<T> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
T |
getEntries()
Get the entries of the current page.
|
int |
getNextPage()
Get the number of the next page.
|
int |
getPage()
Get the number of the current page.
|
int |
getPerPage()
Get the number of entries per page.
|
int |
getTotal()
Get the number of total results.
|
int |
getTotalPages()
Get the number of total pages.
|
boolean |
hasMorePages()
Check if the paginated result has more pages.
|
T getEntries()
boolean hasMorePages()
int getNextPage()
int getTotal()
int getPage()
int getPerPage()
int getTotalPages()
Copyright © 2013 dontdrinkandroot. All Rights Reserved.