public class SearchResultsImpl extends Object implements SearchResults
| Constructor and Description |
|---|
SearchResultsImpl() |
| Modifier and Type | Method and Description |
|---|---|
Query |
getQuery()
Obtain the query that was executed to return these results.
|
List<SearchResult> |
getResults()
Obtain the list of results held by this object
|
long |
getSize()
Obtain the number of results held by this object.
|
long |
getTotalSize()
Obtain the total results count.
|
void |
setQuery(Query query) |
void |
setResults(List<SearchResult> results) |
void |
setTotalSize(long totalNumItems) |
public Query getQuery()
SearchResultsgetQuery in interface SearchResultspublic List<SearchResult> getResults()
SearchResultsgetResults in interface SearchResultspublic long getSize()
SearchResultsgetSize in interface SearchResultspublic long getTotalSize()
SearchResultsgetTotalSize in interface SearchResultspublic void setResults(List<SearchResult> results)
public void setQuery(Query query)
public void setTotalSize(long totalNumItems)
Copyright © 2005–2014 Alfresco Software. All rights reserved.