public class EgovPaginatedList extends Object implements org.displaytag.pagination.PaginatedList
| Constructor and Description |
|---|
EgovPaginatedList(int pageNumber,
int objectsPerPage)
Instantiates a new egov paginated list.
|
EgovPaginatedList(int pageNumber,
int objectsPerPage,
String sortCriterion,
org.displaytag.properties.SortOrderEnum sortDir)
Instantiates a new egov paginated list.
|
EgovPaginatedList(Page page,
int fullListSize)
Instantiates a new egov paginated list.
|
EgovPaginatedList(Page page,
int fullListSize,
String sortCriterion,
org.displaytag.properties.SortOrderEnum sortDir)
Instantiates a new egov paginated list.
|
EgovPaginatedList(Page page,
String sortCriterion,
org.displaytag.properties.SortOrderEnum sortDir)
Instantiates a new egov paginated list.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFullListSize() |
List |
getList() |
int |
getObjectsPerPage() |
int |
getPageNumber() |
String |
getSearchId() |
String |
getSortCriterion() |
org.displaytag.properties.SortOrderEnum |
getSortDirection() |
void |
setFullListSize(int fullListSize)
Sets the full list size.
|
void |
setList(List list)
Sets the list.
|
void |
setObjectsPerPage(int objectsPerPage)
Sets the objects per page.
|
void |
setPageNumber(int pageNumber)
Sets the page number.
|
void |
setSortCriterion(String sortCriterion)
Sets the sort criterion.
|
void |
setSortDirection(org.displaytag.properties.SortOrderEnum sortDirection)
Sets the sort direction.
|
public EgovPaginatedList(Page page, int fullListSize)
page - the pagepublic EgovPaginatedList(Page page, int fullListSize, String sortCriterion, org.displaytag.properties.SortOrderEnum sortDir)
page - the pagefullListSize - Size of the full listsortCriterion - Sort criteria (field name)sortDir - Sort direction (ascending/descending)public EgovPaginatedList(int pageNumber,
int objectsPerPage)
pageNumber - the page numberobjectsPerPage - the objects per pagepublic EgovPaginatedList(Page page, String sortCriterion, org.displaytag.properties.SortOrderEnum sortDir)
page - the pagesortCriterion - the sort criterionsortDir - the sort dirpublic EgovPaginatedList(int pageNumber,
int objectsPerPage,
String sortCriterion,
org.displaytag.properties.SortOrderEnum sortDir)
pageNumber - the page numberobjectsPerPage - the objects per pagesortCriterion - the sort criterionsortDir - the sort dirpublic int getFullListSize()
getFullListSize in interface org.displaytag.pagination.PaginatedListpublic void setFullListSize(int fullListSize)
fullListSize - the new full list sizepublic List getList()
getList in interface org.displaytag.pagination.PaginatedListpublic void setList(List list)
list - the new listpublic int getObjectsPerPage()
getObjectsPerPage in interface org.displaytag.pagination.PaginatedListpublic void setObjectsPerPage(int objectsPerPage)
objectsPerPage - the new objects per pagepublic int getPageNumber()
getPageNumber in interface org.displaytag.pagination.PaginatedListpublic void setPageNumber(int pageNumber)
pageNumber - the new page numberpublic String getSearchId()
getSearchId in interface org.displaytag.pagination.PaginatedListpublic String getSortCriterion()
getSortCriterion in interface org.displaytag.pagination.PaginatedListpublic void setSortCriterion(String sortCriterion)
sortCriterion - the new sort criterionpublic org.displaytag.properties.SortOrderEnum getSortDirection()
getSortDirection in interface org.displaytag.pagination.PaginatedListpublic void setSortDirection(org.displaytag.properties.SortOrderEnum sortDirection)
sortDirection - the new sort directionCopyright © 2015–2017 eGovernments Foundation. All rights reserved.