org.exoplatform.services.wcm.search
Class SmallPaginatedQueryResult
java.lang.Object
org.exoplatform.commons.utils.PageList
org.exoplatform.services.wcm.utils.PaginatedNodeIterator
org.exoplatform.services.wcm.search.PaginatedQueryResult
org.exoplatform.services.wcm.search.WCMPaginatedQueryResult
org.exoplatform.services.wcm.search.SmallPaginatedQueryResult
public class SmallPaginatedQueryResult
- extends WCMPaginatedQueryResult
Created by The eXo Platform SAS
Author : Hoa Pham
hoa.phamvu@exoplatform.com
Dec 10, 2008
| Fields inherited from class org.exoplatform.commons.utils.PageList |
available_, availablePage_, currentListPage_, currentPage_, EMPTY_LIST |
| Methods inherited from class org.exoplatform.services.wcm.utils.PaginatedNodeIterator |
changePage, checkAndSetPosition, getAll, getCurrentPageData, getNodeIterator, getNodes, getNodesPerPage, getTotalNodes, getTotalPages, setNodeIterator, setNodes |
| Methods inherited from class org.exoplatform.commons.utils.PageList |
currentPage, getAvailable, getAvailablePage, getCurrentPage, getFrom, getPageSize, getTo, setAvailablePage, setPageSize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmallPaginatedQueryResult
public SmallPaginatedQueryResult(int pageSize)
- Instantiates a new small paginated query result.
- Parameters:
pageSize - the page size
SmallPaginatedQueryResult
public SmallPaginatedQueryResult(javax.jcr.query.QueryResult queryResult,
QueryCriteria queryCriteria,
int pageSize,
boolean isSearchContent)
throws java.lang.Exception
- Instantiates a new small paginated query result.
- Parameters:
queryResult - the query resultqueryCriteria - the query criteriapageSize - the page size
- Throws:
java.lang.Exception
java.lang.Exception - the exception
getPage
public java.util.List getPage(int page)
throws java.lang.Exception
- Overrides:
getPage in class PaginatedNodeIterator
- Throws:
java.lang.Exception
populateCurrentPage
protected void populateCurrentPage(int page)
throws java.lang.Exception
- Overrides:
populateCurrentPage in class PaginatedQueryResult
- Throws:
java.lang.Exception
checkAndSetPage
protected void checkAndSetPage(int page)
throws java.lang.Exception
- Overrides:
checkAndSetPage in class org.exoplatform.commons.utils.PageList
- Throws:
java.lang.Exception
Copyright © 2012 eXo Platform SAS. All Rights Reserved.