org.exoplatform.mail.service
Class JCRPageList
java.lang.Object
org.exoplatform.mail.service.JCRPageList
- Direct Known Subclasses:
- MessagePageList
public abstract class JCRPageList
- 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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
available_
protected long available_
availablePage_
protected long availablePage_
currentPage_
protected long currentPage_
currentListPage_
protected java.util.LinkedHashMap<java.lang.String,Message> currentListPage_
JCRPageList
public JCRPageList(long pageSize)
getPageSize
public long getPageSize()
setPageSize
public void setPageSize(long pageSize)
getCurrentPage
public long getCurrentPage()
getAvailable
public long getAvailable()
getAvailablePage
public long getAvailablePage()
currentPage
public java.util.List<Message> currentPage(java.lang.String username)
throws java.lang.Exception
- Throws:
java.lang.Exception
populateCurrentPage
protected abstract void populateCurrentPage(long page,
java.lang.String username)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPage
public java.util.List<Message> getPage(long page,
java.lang.String username)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAll
public abstract java.util.List<Message> getAll()
throws java.lang.Exception
- Throws:
java.lang.Exception
checkAndSetPage
public void checkAndSetPage(long page)
throws java.lang.Exception
- Throws:
java.lang.Exception
setAvailablePage
protected void setAvailablePage(long available)
Copyright © 2012 eXo Platform SAS. All Rights Reserved.