public class RepositorySearchResults extends Object implements Serializable
RepositoryItem
s
satisfy the search query specified in RepositoryService.search(SearchQuery)
.
However, items in the recycle bin and items for which the current user does not have read access are not returned.
If the server cannot process all of the items due to server limitations, the limitReached
is set to True. If
true, more items might 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 specified in 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
specified in to RepositoryService.search(SearchQuery)
.public boolean isLimitReached()
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>