|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.commons.utils.PageList
org.exoplatform.services.wcm.utils.PaginatedNodeIterator
org.exoplatform.services.wcm.search.PaginatedQueryResult
org.exoplatform.services.wcm.search.WCMPaginatedQueryResult
public class WCMPaginatedQueryResult
Created by The eXo Platform SAS Author : Hoa Pham hoa.phamvu@exoplatform.com Oct 21, 2008
| Field Summary |
|---|
| Fields inherited from class org.exoplatform.services.wcm.search.PaginatedQueryResult |
|---|
queryCriteria, queryResult |
| Fields inherited from class org.exoplatform.services.wcm.utils.PaginatedNodeIterator |
|---|
nodes |
| Fields inherited from class org.exoplatform.commons.utils.PageList |
|---|
available_, availablePage_, currentListPage_, currentPage_, EMPTY_LIST |
| Constructor Summary | |
|---|---|
WCMPaginatedQueryResult(int pageSize)
Instantiates a new wCM paginated query result. |
|
WCMPaginatedQueryResult(javax.jcr.query.QueryResult queryResult,
QueryCriteria queryCriteria,
int pageSize,
boolean isSearchContent)
Instantiates a new wCM paginated query result. |
|
| Method Summary | |
|---|---|
protected javax.jcr.Node |
filterNodeToDisplay(javax.jcr.Node node,
boolean isSearchContent)
|
protected javax.jcr.Node |
getNodeToCheckState(javax.jcr.Node node)
|
QueryCriteria |
getQueryCriteria()
Gets the query criteria. |
float |
getQueryTimeInSecond()
Gets the query time in second. |
java.lang.String |
getSpellSuggestion()
Gets the spell suggestion. |
void |
setQueryCriteria(QueryCriteria queryCriteria)
Sets the query criteria. |
void |
setQueryTime(long time)
Sets the query time. |
void |
setSpellSuggestion(java.lang.String spellSuggestion)
Sets the spell suggestion. |
| Methods inherited from class org.exoplatform.services.wcm.search.PaginatedQueryResult |
|---|
filterNodeToDisplay, getIterator, populateCurrentPage, setIterator |
| Methods inherited from class org.exoplatform.services.wcm.utils.PaginatedNodeIterator |
|---|
changePage, checkAndSetPosition, getAll, getCurrentPageData, getNodes, getNodesPerPage, getPage, getTotalNodes, getTotalPages, 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 |
| Constructor Detail |
|---|
public WCMPaginatedQueryResult(int pageSize)
pageSize - the page size
public WCMPaginatedQueryResult(javax.jcr.query.QueryResult queryResult,
QueryCriteria queryCriteria,
int pageSize,
boolean isSearchContent)
throws java.lang.Exception
queryResult - the query resultpageSize - the page sizequeryCriteria - the query criteria
java.lang.Exception - the exception| Method Detail |
|---|
public void setQueryTime(long time)
time - the new query timepublic float getQueryTimeInSecond()
public QueryCriteria getQueryCriteria()
public void setQueryCriteria(QueryCriteria queryCriteria)
queryCriteria - the new query criteria
protected javax.jcr.Node filterNodeToDisplay(javax.jcr.Node node,
boolean isSearchContent)
throws java.lang.Exception
java.lang.Exception
protected javax.jcr.Node getNodeToCheckState(javax.jcr.Node node)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getSpellSuggestion()
public void setSpellSuggestion(java.lang.String spellSuggestion)
spellSuggestion - the new spell suggestion
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||