Class SearchResultEntityList
java.lang.Object
com.atlassian.confluence.plugins.rest.entities.SearchResultEntityList
Entity representing a search result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns theSearchResultGroupEntity
list that was found using the QUICK search.Returns theSearchResultEntity
list that was found using the FULL search.int
Get the number of search results before any result filter was applied.int
hashCode()
void
setGroups
(List<SearchResultGroupEntity> groups) void
setResults
(List<SearchResultEntity> results) void
setTotalSize
(int totalSize) toString()
-
Constructor Details
-
SearchResultEntityList
public SearchResultEntityList()
-
-
Method Details
-
getResults
Returns theSearchResultEntity
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
-
getGroups
Returns theSearchResultGroupEntity
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
-
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
-
equals
-
hashCode
public int hashCode()
-