fr.paris.lutece.plugins.crm.business.demand
Class PaginationPropertiesImpl

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.business.demand.PaginationPropertiesImpl
All Implemented Interfaces:
IPaginationProperties

public class PaginationPropertiesImpl
extends Object
implements IPaginationProperties

Pagination properties


Constructor Summary
PaginationPropertiesImpl()
          Creates a new PaginationPropertiesImpl.java object.
PaginationPropertiesImpl(int firstResult, int pageSize, int itemsPerPage, int pageIndex)
          Creates a new PaginationPropertiesImpl.java object.
 
Method Summary
 int getFirstResult()
          Returns index of the first result requested
 int getItemsPerPage()
           
 int getPageIndex()
           
 int getPageSize()
          Returns number of results per page requested
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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: IPaginationProperties
Returns index of the first result requested

Specified by:
getFirstResult in interface IPaginationProperties
Returns:
index of the first result requested

getPageSize

public int getPageSize()
Description copied from interface: IPaginationProperties
Returns number of results per page requested

Specified by:
getPageSize in interface IPaginationProperties
Returns:
number of results per page requested

getItemsPerPage

public int getItemsPerPage()
Specified by:
getItemsPerPage in interface IPaginationProperties

getPageIndex

public int getPageIndex()
Specified by:
getPageIndex in interface IPaginationProperties


Copyright © 2013 Mairie de Paris. All Rights Reserved.