Class SearchResultEntityList

java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.entities.SearchResultEntityList

public class SearchResultEntityList extends Object
Entity representing a search result
  • Constructor Details

    • SearchResultEntityList

      public SearchResultEntityList()
  • Method Details

    • getResults

      public List<SearchResultEntity> getResults()
      Returns the SearchResultEntity list that was found using the FULL search. NOTE that this list will only be populated if using the full search, otherwise it will be an empty list.
      Returns:
      list of results
    • setResults

      public void setResults(List<SearchResultEntity> results)
    • getGroups

      public List<SearchResultGroupEntity> getGroups()
      Returns the SearchResultGroupEntity list that was found using the QUICK search. NOTE that this list will only be populated if using the quick search, otherwise it will be an empty list.
      Returns:
      list of results
    • setGroups

      public void setGroups(List<SearchResultGroupEntity> groups)
    • getTotalSize

      public int getTotalSize()
      Get the number of search results before any result filter was applied. For example, if you ran a filter to limit the number of results returned, this would give the total number of hits for your query before the limit was taken into account.
      Returns:
      the number of search results available before filtering was performed
    • setTotalSize

      public void setTotalSize(int totalSize)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object