Class DefaultPromotionDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.promotionengineservices.dao.impl.DefaultPromotionDao
- All Implemented Interfaces:
PromotionDao,Dao
Default implementation of the
PromotionDao.-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFinds default PromotionGroup objectfindPromotionByCode(String code) Find a stored item of AbstractPromotionModel type by it code (even if has immutableKeyHash != null).findPromotionGroupByCode(String identifier) Finds PromotionGroup objects from the code identifierMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultPromotionDao
public DefaultPromotionDao()
-
-
Method Details
-
findPromotionByCode
Description copied from interface:PromotionDaoFind a stored item of AbstractPromotionModel type by it code (even if has immutableKeyHash != null). Or null if it is not found.- Specified by:
findPromotionByCodein interfacePromotionDao
-
findPromotionGroupByCode
Description copied from interface:PromotionDaoFinds PromotionGroup objects from the code identifier- Specified by:
findPromotionGroupByCodein interfacePromotionDao- Parameters:
identifier- identifier for the promotion group- Returns:
- PromotionGroupModel matching the code
-
findDefaultPromotionGroup
Description copied from interface:PromotionDaoFinds default PromotionGroup object- Specified by:
findDefaultPromotionGroupin interfacePromotionDao- Returns:
- default PromotionGroupModel
-