org.exoplatform.commons.utils
Class PageList
java.lang.Object
org.exoplatform.commons.utils.PageList
- Direct Known Subclasses:
- ObjectPageList
public abstract class PageList
- extends Object
- Since:
- Oct 21, 2004
- Version:
- $Id: PageList.java,v 1.2 2004/10/25 03:36:58 tuan08 Exp $
- Author:
- Tuan Nguyen (tuan08@users.sourceforge.net)
|
Constructor Summary |
PageList(int pageSize)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_LIST
public static final PageList EMPTY_LIST
available_
protected int available_
availablePage_
protected int availablePage_
currentPage_
protected int currentPage_
currentListPage_
protected List currentListPage_
PageList
public PageList(int pageSize)
getPageSize
public int getPageSize()
setPageSize
public void setPageSize(int pageSize)
getCurrentPage
public int getCurrentPage()
getAvailable
public int getAvailable()
getAvailablePage
public int getAvailablePage()
currentPage
public List currentPage()
throws Exception
- Throws:
Exception
populateCurrentPage
protected abstract void populateCurrentPage(int page)
throws Exception
- Throws:
Exception
getPage
public List getPage(int page)
throws Exception
- Throws:
Exception
getAll
public abstract List getAll()
throws Exception
- Throws:
Exception
checkAndSetPage
protected void checkAndSetPage(int page)
throws Exception
- Throws:
Exception
setAvailablePage
protected void setAvailablePage(int available)
getFrom
public int getFrom()
getTo
public int getTo()
Copyright © 2009 eXo Platform SAS. All Rights Reserved.