org.exoplatform.services.wcm.search
Class PaginatedQueryResult
java.lang.Object
org.exoplatform.commons.utils.PageList
org.exoplatform.services.wcm.utils.PaginatedNodeIterator
org.exoplatform.services.wcm.search.PaginatedQueryResult
- Direct Known Subclasses:
- WCMPaginatedQueryResult
public class PaginatedQueryResult
- extends PaginatedNodeIterator
Created by The eXo Platform SAS
Author : Hoa Pham
hoa.phamvu@exoplatform.com
Oct 17, 2008
| Fields inherited from class org.exoplatform.commons.utils.PageList |
available_, availablePage_, currentListPage_, currentPage_, EMPTY_LIST |
|
Constructor Summary |
PaginatedQueryResult(int pageSize)
Instantiates a new paginated query result. |
PaginatedQueryResult(javax.jcr.query.QueryResult queryResult,
int pageSize,
boolean isSearchContent)
Instantiates a new paginated query result. |
| Methods inherited from class org.exoplatform.services.wcm.utils.PaginatedNodeIterator |
changePage, checkAndSetPosition, getAll, getCurrentPageData, getNodeIterator, getNodes, getNodesPerPage, getPage, getTotalNodes, getTotalPages, setNodeIterator, setNodes |
| Methods inherited from class org.exoplatform.commons.utils.PageList |
checkAndSetPage, 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 |
queryCriteria
protected QueryCriteria queryCriteria
- The query criteria.
queryResult
protected javax.jcr.query.QueryResult queryResult
- The row iterator.
PaginatedQueryResult
public PaginatedQueryResult(int pageSize)
- Instantiates a new paginated query result.
- Parameters:
pageSize - the page size
PaginatedQueryResult
public PaginatedQueryResult(javax.jcr.query.QueryResult queryResult,
int pageSize,
boolean isSearchContent)
throws java.lang.Exception
- Instantiates a new paginated query result.
- Parameters:
queryResult - the query resultpageSize - the page size
- Throws:
java.lang.Exception - the exception
populateCurrentPage
protected void populateCurrentPage(int page)
throws java.lang.Exception
- Overrides:
populateCurrentPage in class PaginatedNodeIterator
- Throws:
java.lang.Exception
filterNodeToDisplay
protected javax.jcr.Node filterNodeToDisplay(javax.jcr.Node node)
throws java.lang.Exception
- Filter node to display.
- Parameters:
node - the node
- Returns:
- the node
- Throws:
java.lang.Exception - the exception
getNodeToCheckState
protected javax.jcr.Node getNodeToCheckState(javax.jcr.Node node)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2012 eXo Platform SAS. All Rights Reserved.