public interface SearchFacetDao
| Modifier and Type | Method and Description |
|---|---|
List<SearchFacet> |
readAllSearchFacets(FieldEntity entityType)
Returns all SearchFacets that are tagged with showOnSearch for the given entity type
|
<T> List<T> |
readDistinctValuesForField(String fieldName,
Class<T> fieldValueClass)
Returns the distinct values for the given fieldName inside of the search clas sas a list of the specified
type.
|
SearchFacet |
readSearchFacetForField(Field field)
Returns a SearchFacet for the given field, if one exists
|
List<SearchFacetRange> |
readSearchFacetRangesForSearchFacet(SearchFacet searchFacet)
Returns a list of SearchFacetRanges for a given SearchFacet
|
SearchFacet |
save(SearchFacet searchFacet)
Persist to the data layer.
|
<T> List<T> readDistinctValuesForField(String fieldName, Class<T> fieldValueClass)
fieldName - fieldValueClass - List<SearchFacet> readAllSearchFacets(FieldEntity entityType)
SearchFacet save(SearchFacet searchFacet)
searchFacet - the instance to persistSearchFacet readSearchFacetForField(Field field)
field - the field to find a SearchFacet forList<SearchFacetRange> readSearchFacetRangesForSearchFacet(SearchFacet searchFacet)
searchFacet - the SearchFacet to useCopyright © 2022. All rights reserved.