org.exoplatform.mail.service
Class MessagePageList

java.lang.Object
  extended by org.exoplatform.mail.service.JCRPageList
      extended by org.exoplatform.mail.service.MessagePageList

public class MessagePageList
extends JCRPageList

Since:
July 25, 2007
Author:
Phung Nam (phunghainam@gmail.com)

Field Summary
 
Fields inherited from class org.exoplatform.mail.service.JCRPageList
available_, availablePage_, currentListPage_, currentPage_
 
Constructor Summary
MessagePageList(long pageSize, java.lang.String value, boolean hasStructure)
           
 
Method Summary
 java.util.List<Message> getAll()
           
 java.util.List<Message> getAll(java.lang.String username)
           
 java.util.List<java.lang.String> getReferedMessageIds(javax.jcr.Node node, java.lang.String[] refFolders)
           
protected  void populateCurrentPage(long page, java.lang.String username)
           
 
Methods inherited from class org.exoplatform.mail.service.JCRPageList
checkAndSetPage, currentPage, getAvailable, getAvailablePage, getCurrentPage, getPage, getPageSize, setAvailablePage, setPageSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessagePageList

public MessagePageList(long pageSize,
                       java.lang.String value,
                       boolean hasStructure)
                throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

populateCurrentPage

protected void populateCurrentPage(long page,
                                   java.lang.String username)
                            throws java.lang.Exception
Specified by:
populateCurrentPage in class JCRPageList
Throws:
java.lang.Exception

getReferedMessageIds

public java.util.List<java.lang.String> getReferedMessageIds(javax.jcr.Node node,
                                                             java.lang.String[] refFolders)
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

getAll

public java.util.List<Message> getAll()
                               throws java.lang.Exception
Specified by:
getAll in class JCRPageList
Throws:
java.lang.Exception

getAll

public java.util.List<Message> getAll(java.lang.String username)
                               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012 eXo Platform SAS. All Rights Reserved.