Interface IndexFieldDao
- All Known Implementing Classes:
IndexFieldDaoImpl
public interface IndexFieldDao
DAO used to interact with the database search fields
- Author:
- Nick Crum (ncrum)
-
Method Summary
Modifier and TypeMethodDescriptiongetIndexFieldTypes(FieldType facetFieldType) getIndexFieldTypesByAbbreviation(String abbreviation) getIndexFieldTypesByAbbreviationAndEntityType(String abbreviation, FieldEntity entityType) readAllIndexFieldsByFieldId(Long fieldId) Finds all of theIndexFields associated with the given field parameter, or null if non exists.readFieldsByEntityType(FieldEntity entityType) Finds all of theIndexFields based on the entity type.readIndexFieldByAbbreviation(String abbreviation) readIndexFieldByAbbreviationAndEntityType(String abbreviation, FieldEntity entityType) readIndexFieldByFieldId(Long fieldId) Returns the IndexField instance associated with the given field parameter, or null if non exists.readIndexFieldForField(Field field) Returns the IndexField instance associated with the given field parameter, or null if non exists.readSearchableFieldsByEntityType(FieldEntity entityType) Reads all of theIndexFields that are searchable on the entity type
-
Method Details
-
readIndexFieldForField
Returns the IndexField instance associated with the given field parameter, or null if non exists.- Parameters:
field- the Field we are looking for the IndexField for- Returns:
- a IndexField instance for the given field
-
readIndexFieldByFieldId
Returns the IndexField instance associated with the given field parameter, or null if non exists.- Parameters:
fieldId- the Field we are looking for the IndexField for- Returns:
- a IndexField instance for the given field
-
readAllIndexFieldsByFieldId
Finds all of theIndexFields associated with the given field parameter, or null if non exists.- Parameters:
fieldId- the Field we are looking for the IndexField for- Returns:
-
readFieldsByEntityType
Finds all of theIndexFields based on the entity type.- Parameters:
entityType-- Returns:
-
readSearchableFieldsByEntityType
Reads all of theIndexFields that are searchable on the entity type- Parameters:
entityType-- Returns:
-
getIndexFieldTypesByAbbreviation
-
getIndexFieldTypesByAbbreviationAndEntityType
List<IndexFieldType> getIndexFieldTypesByAbbreviationAndEntityType(String abbreviation, FieldEntity entityType) -
getIndexFieldTypesByAbbreviationOrPropertyName
-
getIndexFieldTypes
-
readIndexFieldByAbbreviation
-
readIndexFieldByAbbreviationAndEntityType
-