Class SearchResult
java.lang.Object
org.craftercms.studio.model.search.SearchResult
Holds all the data for a search operation
- Author:
- joseross
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<SearchFacet> The facets of the matched filesprotected List<SearchResultItem> The list of filesprotected longThe total files that matched the search -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItems()longgetTotal()voidsetFacets(List<SearchFacet> facets) voidsetItems(List<SearchResultItem> items) voidsetTotal(long total)
-
Field Details
-
total
protected long totalThe total files that matched the search -
items
The list of files -
facets
The facets of the matched files
-
-
Constructor Details
-
SearchResult
public SearchResult()
-
-
Method Details
-
getTotal
public long getTotal() -
setTotal
public void setTotal(long total) -
getItems
-
setItems
-
getFacets
-
setFacets
-