Interface SnFieldDao
-
- All Superinterfaces:
GenericDao<SnFieldModel>
- All Known Implementing Classes:
DefaultSnFieldDao
public interface SnFieldDao extends GenericDao<SnFieldModel>
TheSnFieldModelDAO.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<SnFieldModel>findFieldByIndexTypeAndId(SnIndexTypeModel indexType, java.lang.String id)Finds the field for the given index type and id.java.util.List<SnFieldModel>findFieldsByIndexType(SnIndexTypeModel indexType)Finds the fields for the given index type.
-
-
-
Method Detail
-
findFieldsByIndexType
java.util.List<SnFieldModel> findFieldsByIndexType(SnIndexTypeModel indexType)
Finds the fields for the given index type.- Parameters:
indexType- - the index type- Returns:
- the fieldw
-
findFieldByIndexTypeAndId
java.util.Optional<SnFieldModel> findFieldByIndexTypeAndId(SnIndexTypeModel indexType, java.lang.String id)
Finds the field for the given index type and id.- Parameters:
indexType- - the index typeid- - the id- Returns:
- the field
-
-