Class SearchResultEntityList
- java.lang.Object
-
- com.atlassian.confluence.plugins.rest.entities.SearchResultEntityList
-
public class SearchResultEntityList extends Object
Entity representing a search result
-
-
Constructor Summary
Constructors Constructor Description SearchResultEntityList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<SearchResultGroupEntity>getGroups()Returns theSearchResultGroupEntitylist that was found using the QUICK search.List<SearchResultEntity>getResults()Returns theSearchResultEntitylist that was found using the FULL search.intgetTotalSize()Get the number of search results before any result filter was applied.inthashCode()voidsetGroups(List<SearchResultGroupEntity> groups)voidsetResults(List<SearchResultEntity> results)voidsetTotalSize(int totalSize)StringtoString()
-
-
-
Method Detail
-
getResults
public List<SearchResultEntity> getResults()
Returns theSearchResultEntitylist 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 theSearchResultGroupEntitylist 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)
-
-