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 long
The total files that matched the search -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItems()
long
getTotal()
void
setFacets
(List<SearchFacet> facets) void
setItems
(List<SearchResultItem> items) void
setTotal
(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
-