eXo Kernel :: Commons Utils 2.4.13-GA

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

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

Deprecated.

public class ObjectPageList<E>
extends PageList<E>

This object breaks the concepts of paging at its usage leads to load all the objects. It should not be used and will be probably removed.

Since:
Oct 21, 2004
Version:
$Id: ObjectPageList.java,v 1.1 2004/10/22 14:18:46 tuan08 Exp $
Author:
Tuan Nguyen (tuan08@users.sourceforge.net)

Field Summary
 
Fields inherited from class org.exoplatform.commons.utils.PageList
available_, availablePage_, currentListPage_, currentPage_, EMPTY_LIST
 
Constructor Summary
ObjectPageList(List<E> list, int pageSize)
          Deprecated.  
 
Method Summary
 List<E> getAll()
          Deprecated.  
protected  void populateCurrentPage(int page)
          Deprecated.  
 
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

ObjectPageList

public ObjectPageList(List<E> list,
                      int pageSize)
Deprecated. 
Method Detail

populateCurrentPage

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

getAll

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

eXo Kernel :: Commons Utils 2.4.13-GA

Copyright © 2015 eXo Platform SAS. All Rights Reserved.