org.exoplatform.forum.service
Class ForumPageList

java.lang.Object
  extended by org.exoplatform.commons.utils.PageList
      extended by org.exoplatform.forum.service.JCRPageList
          extended by org.exoplatform.forum.service.ForumPageList

public class ForumPageList
extends JCRPageList

Since:
July 25, 2007
Author:
Hung Nguyen (hung.nguyen@exoplatform.com)

Field Summary
 
Fields inherited from class org.exoplatform.forum.service.JCRPageList
pageSelected
 
Fields inherited from class org.exoplatform.commons.utils.PageList
available_, availablePage_, currentListPage_, currentPage_, EMPTY_LIST
 
Constructor Summary
ForumPageList(int pageSize, int size)
           
ForumPageList(java.util.List listResult)
          Set ForumPageList for search user.
ForumPageList(javax.jcr.NodeIterator iter, int pageSize, java.lang.String value, boolean isQuery)
           
 
Method Summary
 java.util.List getAll()
           
protected  void populateCurrentPage(int page)
           
protected  void populateCurrentPage(java.lang.String valueString)
           
protected  void populateCurrentPageList(int page, java.util.List list)
           
protected  void populateCurrentPageSearch(int page, java.util.List list, boolean isWatch, boolean isSearchUser)
           
 
Methods inherited from class org.exoplatform.forum.service.JCRPageList
currentPage, getAvailable, getAvailablePage, getCurrentPage, getPage, getpage, getPageList, getPageSearch, getPageSelected, getPageUser, getPageWatch, setPageSize
 
Methods inherited from class org.exoplatform.commons.utils.PageList
checkAndSetPage, getFrom, getPage, getPageSize, getTo, setAvailablePage, setPageSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForumPageList

public ForumPageList(int pageSize,
                     int size)

ForumPageList

public ForumPageList(javax.jcr.NodeIterator iter,
                     int pageSize,
                     java.lang.String value,
                     boolean isQuery)
              throws java.lang.Exception
Throws:
java.lang.Exception

ForumPageList

public ForumPageList(java.util.List listResult)
Set ForumPageList for search user.

Parameters:
listResult - result which is returned from search proccessing.
Method Detail

populateCurrentPage

protected void populateCurrentPage(int page)
                            throws java.lang.Exception
Specified by:
populateCurrentPage in class JCRPageList
Throws:
java.lang.Exception

populateCurrentPage

protected void populateCurrentPage(java.lang.String valueString)
                            throws java.lang.Exception
Specified by:
populateCurrentPage in class JCRPageList
Throws:
java.lang.Exception

populateCurrentPageSearch

protected void populateCurrentPageSearch(int page,
                                         java.util.List list,
                                         boolean isWatch,
                                         boolean isSearchUser)
                                  throws java.lang.Exception
Specified by:
populateCurrentPageSearch in class JCRPageList
Throws:
java.lang.Exception

populateCurrentPageList

protected void populateCurrentPageList(int page,
                                       java.util.List list)
                                throws java.lang.Exception
Specified by:
populateCurrentPageList in class JCRPageList
Throws:
java.lang.Exception

getAll

public java.util.List getAll()
                      throws java.lang.Exception
Specified by:
getAll in class org.exoplatform.commons.utils.PageList
Throws:
java.lang.Exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.