com.stratelia.webactiv.beans.admin
Class PaginationPage

java.lang.Object
  extended by com.stratelia.webactiv.beans.admin.PaginationPage

public class PaginationPage
extends Object

A page in a pagination of resources. This bean is dedicated to be used with search criteria.


Constructor Summary
PaginationPage(int pageNumber, int pageSize)
          Constructs a new page in a pagination mechanism.
 
Method Summary
 int getPageNumber()
          Gets this page number.
 int getPageSize()
          Gets the size of this page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaginationPage

public PaginationPage(int pageNumber,
                      int pageSize)
Constructs a new page in a pagination mechanism.

Parameters:
pageNumber - the number of the page.
pageSize - the size in items of the page.
Method Detail

getPageNumber

public int getPageNumber()
Gets this page number.

Returns:
the page number.

getPageSize

public int getPageSize()
Gets the size of this page.

Returns:
the count of items being in part of each page.


Copyright © 2016 Silverpeas. All Rights Reserved.