@Repository(value="blSearchFacetDao") public class SearchFacetDaoImpl extends java.lang.Object implements SearchFacetDao
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
SearchFacetDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SearchFacet> |
readAllSearchFacets()
Returns all SearchFacets that are tagged with showOnSearch
|
<T> java.util.List<T> |
readDistinctValuesForField(java.lang.String fieldName,
java.lang.Class<T> fieldValueClass)
Returns the distinct values for the given fieldName inside of the search clas sas a list of the specified
type.
|
SearchFacet |
save(SearchFacet searchFacet)
Persist to the data layer.
|
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public java.util.List<SearchFacet> readAllSearchFacets()
SearchFacetDaoreadAllSearchFacets in interface SearchFacetDaopublic <T> java.util.List<T> readDistinctValuesForField(java.lang.String fieldName,
java.lang.Class<T> fieldValueClass)
SearchFacetDaoreadDistinctValuesForField in interface SearchFacetDaopublic SearchFacet save(SearchFacet searchFacet)
SearchFacetDaosave in interface SearchFacetDaosearchFacet - the instance to persistCopyright © 2018. All Rights Reserved.