public class PaginationPropertiesImpl extends Object implements IPaginationProperties
| Constructor and Description |
|---|
PaginationPropertiesImpl()
Creates a new PaginationPropertiesImpl.java object.
|
PaginationPropertiesImpl(int firstResult,
int pageSize,
int itemsPerPage,
int pageIndex)
Creates a new PaginationPropertiesImpl.java object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFirstResult()
Returns index of the first result requested
|
int |
getItemsPerPage() |
int |
getPageIndex() |
int |
getPageSize()
Returns number of results per page requested
|
public PaginationPropertiesImpl()
public PaginationPropertiesImpl(int firstResult,
int pageSize,
int itemsPerPage,
int pageIndex)
firstResult - pageSize - public int getFirstResult()
IPaginationPropertiesgetFirstResult in interface IPaginationPropertiespublic int getPageSize()
IPaginationPropertiesgetPageSize in interface IPaginationPropertiespublic int getItemsPerPage()
getItemsPerPage in interface IPaginationPropertiespublic int getPageIndex()
getPageIndex in interface IPaginationPropertiesCopyright © 2019 City of Paris. All rights reserved.