Class DefaultTuaGenericDao
java.lang.Object
de.hybris.platform.tuadatamodel.daos.impl.DefaultTuaGenericDao
- All Implemented Interfaces:
TuaGenericDao
Default implementation of
TuaGenericDao- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTuaGenericDao(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService) -
Method Summary
Modifier and TypeMethodDescriptionFinds an item model of a specific typeCode with the given idFinds an item model of a specific typeCode with the given parametersprotected de.hybris.platform.servicelayer.search.FlexibleSearchServiceRetrieves an item model of a specific typeCode with the given idRetrieves an item model of a specific typeCode with the given parameters
-
Constructor Details
-
DefaultTuaGenericDao
public DefaultTuaGenericDao(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
-
-
Method Details
-
getItem
Description copied from interface:TuaGenericDaoRetrieves an item model of a specific typeCode with the given id- Specified by:
getItemin interfaceTuaGenericDao- Parameters:
typeCode- the typeCode of the modelid- the id- Returns:
- the model found, null otherwise
-
findItem
Description copied from interface:TuaGenericDaoFinds an item model of a specific typeCode with the given id- Specified by:
findItemin interfaceTuaGenericDao- Parameters:
typeCode- the typeCode of the modelid- the id- Returns:
- the model found, otherwise throws
ModelNotFoundException
-
findItem
Description copied from interface:TuaGenericDaoFinds an item model of a specific typeCode with the given parameters- Specified by:
findItemin interfaceTuaGenericDao- Parameters:
typeCode- the typeCode of the modelparams- the key-value pairs to filter the response- Returns:
- the model found, otherwise throws
ModelNotFoundException
-
getItem
Description copied from interface:TuaGenericDaoRetrieves an item model of a specific typeCode with the given parameters- Specified by:
getItemin interfaceTuaGenericDao- Parameters:
typeCode- the typeCode of the modelparams- the key-value pairs to filter the response- Returns:
- the model found, null otherwise
-
getFlexibleSearchService
protected de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService()
-