Class PaginationPropertiesImpl
- java.lang.Object
-
- fr.paris.lutece.plugins.crm.business.demand.PaginationPropertiesImpl
-
- All Implemented Interfaces:
IPaginationProperties
public class PaginationPropertiesImpl extends Object implements IPaginationProperties
Pagination properties
-
-
Constructor Summary
Constructors Constructor Description PaginationPropertiesImpl()Creates a new PaginationPropertiesImpl.java object.PaginationPropertiesImpl(int firstResult, int pageSize, int itemsPerPage, int pageIndex)Creates a new PaginationPropertiesImpl.java object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFirstResult()Returns index of the first result requestedintgetItemsPerPage()intgetPageIndex()intgetPageSize()Returns number of results per page requested
-
-
-
Constructor Detail
-
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 Detail
-
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
-
-