|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.utils.Pagination
public class Pagination
Abstracts the various implementations of pagination
Constructor Summary | |
---|---|
Pagination(Integer page,
Integer rowsPerPage)
Instantiates a new pagination object. |
Method Summary | |
---|---|
int |
getEndRow()
Get the end row |
int |
getPage()
Get the page to be fetched |
int |
getRowsPerPage()
Get the limit of results per page |
int |
getStartRow()
Get the start row |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pagination(Integer page, Integer rowsPerPage)
page
- The page to be presented or null (start required)rowsPerPage
- The limit of results per pageMethod Detail |
---|
public int getEndRow()
public int getPage()
public int getRowsPerPage()
public int getStartRow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |