|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Type of the entities on the page.public interface PaginatedResult<T>
Wrapper class for paginated results so you can retrieve the status information to fetch the next page.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
T getEntries()
boolean hasMorePages()
int getNextPage()
int getTotal()
int getPage()
int getPerPage()
int getTotalPages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||