|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.query.EmptyPagingResults
org.alfresco.query.EmptyCannedQueryResults
public class EmptyCannedQueryResults
An always empty CannedQueryResults, used when you know
you can short circuit a query when no results are found.
| Constructor Summary | |
|---|---|
EmptyCannedQueryResults(CannedQuery query)
|
|
| Method Summary | |
|---|---|
CannedQuery |
getOriginatingQuery()
Get the instance of the query that generated these results. |
int |
getPageCount()
Get the number of pages available |
int |
getPagedResultCount()
Get the total number of results available within the pages of this result. |
java.util.List |
getPages()
Get the paged results |
java.lang.Object |
getSingleResult()
Get a single result if there is only one result expected. |
| Methods inherited from class org.alfresco.query.EmptyPagingResults |
|---|
getPage, getQueryExecutionId, getTotalResultCount, hasMoreItems |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.alfresco.query.PagingResults |
|---|
getPage, getQueryExecutionId, getTotalResultCount, hasMoreItems |
| Constructor Detail |
|---|
public EmptyCannedQueryResults(CannedQuery query)
| Method Detail |
|---|
public CannedQuery getOriginatingQuery()
CannedQueryResults
getOriginatingQuery in interface CannedQueryResultspublic int getPageCount()
CannedQueryResults
getPageCount in interface CannedQueryResultspublic int getPagedResultCount()
CannedQueryResults
getPagedResultCount in interface CannedQueryResultspublic java.util.List getPages()
CannedQueryResults
getPages in interface CannedQueryResultspublic java.lang.Object getSingleResult()
CannedQueryResults
getSingleResult in interface CannedQueryResults
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||