public class PaginationPropertiesImpl extends Object implements PaginationProperties
| Constructor and Description |
|---|
PaginationPropertiesImpl()
Creates a new PaginationPropertiesImpl.java object.
|
PaginationPropertiesImpl(int firstResult,
int pageSize)
Creates a new PaginationPropertiesImpl.java object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getFirstResult()
Returns index of the first result requested.
|
int |
getPageSize()
Returns number of results per page requested.
|
public PaginationPropertiesImpl()
public PaginationPropertiesImpl(int firstResult,
int pageSize)
firstResult - the first resultpageSize - the page sizepublic int getFirstResult()
getFirstResult in interface PaginationPropertiespublic int getPageSize()
getPageSize in interface PaginationPropertiesCopyright © 2016 City of Paris. All rights reserved.