org.exoplatform.content.service
Class ContentPageList<T extends ContentItem>

java.lang.Object
  extended by org.exoplatform.commons.utils.PageList
      extended by org.exoplatform.content.service.ContentPageList<T>

public class ContentPageList<T extends ContentItem>
extends org.exoplatform.commons.utils.PageList

Created by The eXo Platform SARL Author : Nhu Dinh Thuan nhudinhthuan@exoplatform.com Aug 7, 2006


Field Summary
 
Fields inherited from class org.exoplatform.commons.utils.PageList
available_, availablePage_, currentListPage_, currentPage_, EMPTY_LIST
 
Constructor Summary
ContentPageList(java.util.List<T> items)
           
 
Method Summary
 java.util.List<?> getAll()
           
 java.util.List<T> getItems()
           
 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

ContentPageList

public ContentPageList(java.util.List<T> items)
Method Detail

getItems

public java.util.List<T> getItems()

populateCurrentPage

public void populateCurrentPage(int page)
                         throws java.lang.Exception
Specified by:
populateCurrentPage in class org.exoplatform.commons.utils.PageList
Throws:
java.lang.Exception

getAll

public java.util.List<?> getAll()
Specified by:
getAll in class org.exoplatform.commons.utils.PageList


Copyright © 2011 eXo Platform SAS. All Rights Reserved.