@Repository(value="blSearchFacetDao") public class SearchFacetDaoImpl extends 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 |
|---|---|
List<SearchFacet> |
readAllSearchFacets()
Returns all SearchFacets that are tagged with showOnSearch
|
<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.
|
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public List<SearchFacet> readAllSearchFacets()
SearchFacetDaoreadAllSearchFacets in interface SearchFacetDaopublic <T> List<T> readDistinctValuesForField(String fieldName, Class<T> fieldValueClass)
SearchFacetDaoreadDistinctValuesForField in interface SearchFacetDaoCopyright © 2013. All rights reserved.