|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PaginatedResult<T>
| Method Summary | |
|---|---|
T |
getFirstResult()
Returns the fist result if available, null otherwise. |
Collection<T> |
getItems()
Gets an iterator over the results |
int |
getItemsPerPage()
Gets the maximum number of results per page |
int |
getNumberOfPages()
Gets the total number of pages |
int |
getPage()
Gets the page number (1, 2, 3...) |
int |
getTotalSize()
Gets the total number of results that would be retrieved without pagination. |
| Method Detail |
|---|
int getItemsPerPage()
int getPage()
int getTotalSize()
int getNumberOfPages()
Collection<T> getItems()
T getFirstResult()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||