eXo Kernel :: Commons Utils 2.4.9-GA

org.exoplatform.commons.utils
Class LazyPageList<E>

java.lang.Object
  extended by org.exoplatform.commons.utils.PageList<E>
      extended by org.exoplatform.commons.utils.LazyPageList<E>

public class LazyPageList<E>
extends PageList<E>

Version:
$Revision$
Author:
Julien Viet

Field Summary
 
Fields inherited from class org.exoplatform.commons.utils.PageList
available_, availablePage_, currentListPage_, currentPage_, EMPTY_LIST
 
Constructor Summary
LazyPageList(ListAccess<E> listAccess, int pageSize)
           
 
Method Summary
 List<E> getAll()
           
protected  void populateCurrentPage(int page)
           
 
Methods inherited from class org.exoplatform.commons.utils.PageList
checkAndSetPage, currentPage, getAvailable, getAvailablePage, getCurrentPage, 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

LazyPageList

public LazyPageList(ListAccess<E> listAccess,
                    int pageSize)
Method Detail

populateCurrentPage

protected void populateCurrentPage(int page)
                            throws Exception
Specified by:
populateCurrentPage in class PageList<E>
Throws:
Exception

getAll

public List<E> getAll()
               throws Exception
Specified by:
getAll in class PageList<E>
Throws:
Exception

eXo Kernel :: Commons Utils 2.4.9-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.