Class RecycleBinSearchResults

  • All Implemented Interfaces:
    java.io.Serializable

    public class RecycleBinSearchResults
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Constructor Detail

      • RecycleBinSearchResults

        public RecycleBinSearchResults​(java.util.Set<RecycleBinItem> searchResults,
                                       boolean limitReached)
        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 Detail

      • 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()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object