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 PaginationProperties
public int getPageSize()
getPageSize
in interface PaginationProperties
Copyright © 2019 City of Paris. All rights reserved.