public class EmptyPagingResults extends java.lang.Object implements PagingResults
PagingResults, used when you know
you can short circuit a query when no results are found.| Constructor and Description |
|---|
EmptyPagingResults() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getPage()
Returns an empty page
|
java.lang.String |
getQueryExecutionId()
There is no unique query ID, as no query was done
|
Pair |
getTotalResultCount()
There are no results
|
boolean |
hasMoreItems()
No more items remain
|
public java.util.List getPage()
getPage in interface PagingResultspublic boolean hasMoreItems()
hasMoreItems in interface PagingResultspublic Pair getTotalResultCount()
getTotalResultCount in interface PagingResultspublic java.lang.String getQueryExecutionId()
getQueryExecutionId in interface PagingResultsCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.