|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Page
Instances of this class are created by DAOs when "paged" results are requested. The created instance contains a page of results matching a query, along with other information such as the number of the page, the number of results per page, the total number of results etc.
Method Summary | |
---|---|
int |
getFirstResultIndex()
Get the index of the first result in the page |
java.util.List |
getList()
Get the page of results as the list |
int |
getPageNumber()
Get the page number |
java.util.Map |
getParentOptions()
|
int |
getTotalPageCount()
Get the total number of pages that can be used to divide the total results using the current page size. |
int |
getTotalResultCount()
|
boolean |
isFirst()
See if this page is the first |
boolean |
isLast()
See if this page is the last |
void |
setList(java.util.List list)
Set the list of results for this page. |
Method Detail |
---|
int getTotalResultCount()
int getTotalPageCount()
boolean isFirst()
boolean isLast()
java.util.List getList()
void setList(java.util.List list)
getList()
list
- the list of results to set for this pageint getPageNumber()
int getFirstResultIndex()
java.util.Map getParentOptions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |