E - the typepublic class DelegatePaginator<E> extends AbstractPaginator<E>
LABEL_FIRST, LABEL_LAST, LABEL_NEXT, LABEL_PREVIOUS, PARAMETER_ITEMS_PER_PAGE, PARAMETER_PAGE_INDEX| Constructor and Description |
|---|
DelegatePaginator(List<E> list,
int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex,
int nItemsCount)
Creates a new instance of Paginator.
|
DelegatePaginator(List<E> list,
int nItemPerPage,
String strBaseUrl,
String strPageIndexParameterName,
String strPageIndex,
int nItemsCount,
String strItemsPerPageParameterName)
Creates a new instance of Paginator
|
| Modifier and Type | Method and Description |
|---|---|
List<E> |
getPageItems()
Returns the List
|
getFirstPageLink, getItemsCount, getItemsPerPage, getItemsPerPage, getItemsPerPageParameterName, getLabelFirst, getLabelItemCount, getLabelItemCountPerPage, getLabelLast, getLabelNext, getLabelPrevious, getLastPageLink, getNextPageLink, getPageCurrent, getPageIndex, getPagesCount, getPagesLinks, getPreviousPageLink, getRangeMax, getRangeMin, setItemsPerPageParameterNamepublic DelegatePaginator(List<E> list, int nItemPerPage, String strBaseUrl, String strPageIndexParameterName, String strPageIndex, int nItemsCount)
list - The collection to paginatenItemPerPage - Number of items to display per pagestrBaseUrl - The base Url for build links on each page linkstrPageIndexParameterName - The parameter name for the page indexstrPageIndex - The current page indexnItemsCount - the item countpublic DelegatePaginator(List<E> list, int nItemPerPage, String strBaseUrl, String strPageIndexParameterName, String strPageIndex, int nItemsCount, String strItemsPerPageParameterName)
list - The collection to paginatenItemPerPage - Number of items to display per pagestrBaseUrl - The base Url for build links on each page linkstrPageIndexParameterName - The parameter name for the page indexstrPageIndex - The current page indexnItemsCount - the item countstrItemsPerPageParameterName - The parameter name of the number items per pageCopyright © 2020 City of Paris. All rights reserved.