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 boolean
equals(Object o)
List<SearchResultGroupEntity>
getGroups()
Returns theSearchResultGroupEntity
list that was found using the QUICK search.List<SearchResultEntity>
getResults()
Returns theSearchResultEntity
list that was found using the FULL search.int
getTotalSize()
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)
String
toString()
-
-
-
Method Detail
-
getResults
public List<SearchResultEntity> 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
public void setResults(List<SearchResultEntity> results)
-
getGroups
public List<SearchResultGroupEntity> 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
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)
-
-