|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Page
An interface containing pagination related information
| Method Summary | |
|---|---|
int |
getCurrentPage()
Get current page number |
java.lang.String |
getOrderBy()
Get the column by which the query result is sorted |
int |
getPageSize()
Get the property defining how many records will display in one page |
int |
getTotalCount()
How many records for this search result |
boolean |
hasNext()
If the "next page" navigation link should be displayed and enabled If current page is the last page then return false; |
boolean |
hasPrevious()
If the "previous page" navigation link should be displayed and enabled If current page is the first page then return false; |
boolean |
isAscending()
Whether the query result is sorted by ascending order |
int |
totalPagesCount()
How many pages can fit the whole search result |
| Method Detail |
|---|
int getCurrentPage()
int getPageSize()
int getTotalCount()
java.lang.String getOrderBy()
boolean isAscending()
boolean hasPrevious()
boolean hasNext()
int totalPagesCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||