org.exoplatform.forum.service
Class LazyPageList<E>
java.lang.Object
org.exoplatform.commons.utils.PageList
org.exoplatform.forum.service.JCRPageList<E>
org.exoplatform.forum.service.LazyPageList<E>
public class LazyPageList<E>
- extends JCRPageList<E>
A PageList implementation backed by a LazyList to load data lazily.
Implementation was partially borrowed from kernel 2.1 class of same name.
Extends JCRPageList for backward compatibility.
- Version:
- $Revision$
- Author:
- Patrice lamarque
| Fields inherited from class org.exoplatform.commons.utils.PageList |
available_, availablePage_, currentListPage_, currentPage_, EMPTY_LIST |
| 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 |
LazyPageList
public LazyPageList(ListAccess<E> listAccess,
int pageSize)
populateCurrentPage
protected void populateCurrentPage(int page)
throws java.lang.Exception
- Specified by:
populateCurrentPage in class JCRPageList<E>
- Throws:
java.lang.Exception
getAll
public java.util.List<E> getAll()
throws java.lang.Exception
- Specified by:
getAll in class org.exoplatform.commons.utils.PageList
- Throws:
java.lang.Exception
populateCurrentPage
protected void populateCurrentPage(java.lang.String valueString)
throws java.lang.Exception
- Specified by:
populateCurrentPage in class JCRPageList<E>
- Throws:
java.lang.Exception
populateCurrentPageList
protected void populateCurrentPageList(int page,
java.util.List list)
throws java.lang.Exception
- Specified by:
populateCurrentPageList in class JCRPageList<E>
- 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<E>
- Throws:
java.lang.Exception
Copyright © 2010 eXo Platform SAS. All Rights Reserved.