public interface PagingServletContext
extends java.io.Serializable
For use by servlets that allow for paging through a list of records.
Modifier and Type | Method and Description |
---|---|
int |
getConfigMaxPages()
Returns the configured maximum number of pages.
|
int |
getConfigMinPerPage()
Returns the configured minimum records per page.
|
int |
getListSize()
Returns the size of the list being processed (the number of records in
the list.
|
int |
getPageNum()
Returns the current page number being processed.
|
int |
getPageSize()
Returns the size of a page (the number of records displayed on a page).
|
void |
setListSize(int value)
Sets the size of the list being processed (the number of records in
the list.
|
void |
setPageNum(int value)
Sets the current page number being processed.
|
void |
setPageSize(int value)
Sets the size of a page (the number of records displayed on a page).
|
int getConfigMaxPages()
int getConfigMinPerPage()
int getListSize()
void setListSize(int value)
value
- ( int) The size of the list.int getPageSize()
void setPageSize(int value)
value
- (int) The size of a page.int getPageNum()
void setPageNum(int value)
value
- (int) The page number.