Class RecycleBinSearchResults
java.lang.Object
com.sas.lsaf.content.repository.recyclebin.RecycleBinSearchResults
- All Implemented Interfaces:
Serializable
The class that represents the results of a recycle bin search based on a search query.
RecycleBinItems in the
results satisfy the search query that is specified in RecycleBinService.search(RecycleBinQuery). If the
server cannot process all of the items due to server limitations, limitReached are set to True. If True, more
items that satisfy the query might exist, but they cannot be returned.- Since:
- 2.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRecycleBinSearchResults(Set<RecycleBinItem> searchResults, boolean limitReached) It is not intended or recommended that the consumer of this API construct these objects. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the search results that are based on theRecycleBinQuerythat is specified inRecycleBinService.search(RecycleBinQuery).inthashCode()booleanIndicates whether the server processed all of the repository items that are based on the query.toString()
-
Constructor Details
-
RecycleBinSearchResults
It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the results returned by the API.- Parameters:
searchResults- The results of the search.limitReached- Indicates whether the query results exceed the maximum number of items that are allowed on the server.
-
-
Method Details
-
getRecycleBinSearchResults
Gets the search results that are based on theRecycleBinQuerythat is specified inRecycleBinService.search(RecycleBinQuery).- Returns:
- The recycle bin items that match the query.
-
isLimitReached
public boolean isLimitReached()Indicates whether the server processed all of the repository items that are based on the query. If True, the query results returned are what the search processed before it had to terminate processing. Therefore, more items that satisfy the query might exist, but they cannot be returned.- Returns:
- True, if the server had to terminate the search, possibly before all items were found. Otherwise, false.
-
hashCode
public int hashCode() -
equals
-
toString
-