Class PaginationPropertiesImpl
java.lang.Object
fr.paris.lutece.plugins.crm.business.demand.PaginationPropertiesImpl
- All Implemented Interfaces:
IPaginationProperties
Pagination properties
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new PaginationPropertiesImpl.java object.PaginationPropertiesImpl(int firstResult, int pageSize, int itemsPerPage, int pageIndex) Creates a new PaginationPropertiesImpl.java object. -
Method Summary
Modifier and TypeMethodDescriptionintReturns index of the first result requestedintintintReturns number of results per page requested
-
Constructor Details
-
PaginationPropertiesImpl
public PaginationPropertiesImpl()Creates a new PaginationPropertiesImpl.java object. -
PaginationPropertiesImpl
public PaginationPropertiesImpl(int firstResult, int pageSize, int itemsPerPage, int pageIndex) Creates a new PaginationPropertiesImpl.java object.- Parameters:
firstResult-pageSize-
-
-
Method Details
-
getFirstResult
public int getFirstResult()Description copied from interface:IPaginationPropertiesReturns index of the first result requested- Specified by:
getFirstResultin interfaceIPaginationProperties- Returns:
- index of the first result requested
-
getPageSize
public int getPageSize()Description copied from interface:IPaginationPropertiesReturns number of results per page requested- Specified by:
getPageSizein interfaceIPaginationProperties- Returns:
- number of results per page requested
-
getItemsPerPage
public int getItemsPerPage()- Specified by:
getItemsPerPagein interfaceIPaginationProperties
-
getPageIndex
public int getPageIndex()- Specified by:
getPageIndexin interfaceIPaginationProperties
-