org.exoplatform.commons.utils
Class PageList
java.lang.Object
org.exoplatform.commons.utils.PageList
- Direct Known Subclasses:
- ObjectPageList
public abstract class PageList
- extends java.lang.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 java.util.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 java.util.List currentPage()
throws java.lang.Exception
- Throws:
java.lang.Exception
populateCurrentPage
protected abstract void populateCurrentPage(int page)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPage
public java.util.List getPage(int page)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAll
public abstract java.util.List getAll()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkAndSetPage
protected void checkAndSetPage(int page)
throws java.lang.Exception
- Throws:
java.lang.Exception
setAvailablePage
protected void setAvailablePage(int available)
getFrom
public int getFrom()
getTo
public int getTo()
Copyright © 2010 eXo Platform SAS. All Rights Reserved.