Class DefaultSnFieldDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<SnFieldModel>
-
- de.hybris.platform.searchservices.admin.dao.impl.DefaultSnFieldDao
-
- All Implemented Interfaces:
SnFieldDao,GenericDao<SnFieldModel>
public class DefaultSnFieldDao extends DefaultGenericDao<SnFieldModel> implements SnFieldDao
Default implementation ofSnFieldDao.
-
-
Constructor Summary
Constructors Constructor Description DefaultSnFieldDao()
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
-
-
-
Method Detail
-
findFieldsByIndexType
public java.util.List<SnFieldModel> findFieldsByIndexType(SnIndexTypeModel indexType)
Description copied from interface:SnFieldDaoFinds the fields for the given index type.- Specified by:
findFieldsByIndexTypein interfaceSnFieldDao- Parameters:
indexType- - the index type- Returns:
- the fieldw
-
findFieldByIndexTypeAndId
public java.util.Optional<SnFieldModel> findFieldByIndexTypeAndId(SnIndexTypeModel indexType, java.lang.String id)
Description copied from interface:SnFieldDaoFinds the field for the given index type and id.- Specified by:
findFieldByIndexTypeAndIdin interfaceSnFieldDao- Parameters:
indexType- - the index typeid- - the id- Returns:
- the field
-
-