@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()
SearchFacetDao
readAllSearchFacets
in interface SearchFacetDao
public <T> List<T> readDistinctValuesForField(String fieldName, Class<T> fieldValueClass)
SearchFacetDao
readDistinctValuesForField
in interface SearchFacetDao
Copyright © 2013. All rights reserved.