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