@Repository(value="blIndexFieldDao") public class IndexFieldDaoImpl extends Object implements IndexFieldDao
| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
IndexFieldDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<IndexFieldType> |
getIndexFieldTypes(FieldType facetFieldType) |
List<IndexFieldType> |
getIndexFieldTypesByAbbreviation(String abbreviation) |
List<IndexField> |
readFieldsByEntityType(FieldEntity entityType)
Finds all of the
IndexFields based on the entity type. |
IndexField |
readIndexFieldByFieldId(Long fieldId)
Returns the SearchField instance associated with the given field parameter, or null if non exists.
|
IndexField |
readIndexFieldForField(Field field)
Returns the SearchField instance associated with the given field parameter, or null if non exists.
|
List<IndexField> |
readSearchableFieldsByEntityType(FieldEntity entityType)
Reads all of the
IndexFields that are searchable on the entity type |
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public IndexField readIndexFieldForField(Field field)
IndexFieldDaoreadIndexFieldForField in interface IndexFieldDaofield - the Field we are looking for the SearchField forpublic IndexField readIndexFieldByFieldId(Long fieldId)
IndexFieldDaoreadIndexFieldByFieldId in interface IndexFieldDaofieldId - the Field we are looking for the SearchField forpublic List<IndexField> readFieldsByEntityType(FieldEntity entityType)
IndexFieldDaoIndexFields based on the entity type.readFieldsByEntityType in interface IndexFieldDaopublic List<IndexField> readSearchableFieldsByEntityType(FieldEntity entityType)
IndexFieldDaoIndexFields that are searchable on the entity typereadSearchableFieldsByEntityType in interface IndexFieldDaopublic List<IndexFieldType> getIndexFieldTypesByAbbreviation(String abbreviation)
getIndexFieldTypesByAbbreviation in interface IndexFieldDaopublic List<IndexFieldType> getIndexFieldTypes(FieldType facetFieldType)
getIndexFieldTypes in interface IndexFieldDaoCopyright © 2017. All rights reserved.