T - the entity bean typepublic interface Page<T>
Typically a Page represents the data that is shown to the user at a single time - and the user 'pages' through a large list.
Query.findPagingList(int),
PagingList| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayXtoYofZ(String to,
String of)
Helper method to return a "X to Y of Z" string for this page where X is the
first row, Y the last row and Z the total row count.
|
List<T> |
getList()
Return the list of entities for this page.
|
int |
getPageIndex()
Return the index position of this page.
|
int |
getTotalPageCount()
Return the total number of pages.
|
int |
getTotalRowCount()
Return the total row count for all pages.
|
boolean |
hasNext()
Return true if there is a next page.
|
boolean |
hasPrev()
Return true if there is a previous page.
|
Page<T> |
next()
Return the next page.
|
Page<T> |
prev()
Return the previous page.
|
int getTotalRowCount()
int getTotalPageCount()
int getPageIndex()
boolean hasNext()
boolean hasPrev()
String getDisplayXtoYofZ(String to, String of)
to - String to put between the first and last rowof - String to put between the last row and the total row countCopyright © 2014. All Rights Reserved.