com.googlecode.fascinator.portal
Class Pagination

java.lang.Object
  extended by com.googlecode.fascinator.portal.Pagination

public class Pagination
extends Object


Constructor Summary
Pagination(int page, int totalFound, int numPerPage)
           
 
Method Summary
 int getEndNum()
           
 int getLastPage()
           
 int getPage()
           
 List<Page> getPages()
           
 int getStartNum()
           
 int getTotalFound()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pagination

public Pagination(int page,
                  int totalFound,
                  int numPerPage)
Method Detail

hasPrevious

public boolean hasPrevious()

hasNext

public boolean hasNext()

getPage

public int getPage()

getTotalFound

public int getTotalFound()

getLastPage

public int getLastPage()

getStartNum

public int getStartNum()

getEndNum

public int getEndNum()

getPages

public List<Page> getPages()


Copyright © 2009-2012. All Rights Reserved.