public class RepositorySearchResults extends Object implements Serializable
RepositoryItem
s on this result should
satisfy the search query provided to RepositoryService.search(SearchQuery)
.
However, items in the recycle bin and any items that the current user does not have read access will not be returned.
If the server cannot process all of the items due to server limitations limitReached
will be set to True. If
true, more items may exist that satisfy the query but they cannot be returned.RepositoryService.search(SearchQuery)
,
Serialized FormConstructor and Description |
---|
RepositorySearchResults(Set<RepositoryItem> searchResults,
boolean limitReached)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<RepositoryItem> |
getSearchResults()
Gets search results based on the
SearchQuery provided to RepositoryService.search(SearchQuery) . |
int |
hashCode() |
boolean |
isLimitReached()
Indicates whether the server processed all of the repository items based as a result of the query.
|
String |
toString() |
public RepositorySearchResults(Set<RepositoryItem> searchResults, boolean limitReached)
searchResults
- the results of a repository search.limitReached
- indicates whether the query results exceed the maximum number of items allowed on the server.public Set<RepositoryItem> getSearchResults()
SearchQuery
provided to RepositoryService.search(SearchQuery)
.public boolean isLimitReached()
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA