Interface PromotionDao
- All Known Implementing Classes:
DefaultPromotionDao
public interface PromotionDao
Data Access Object for looking up items related to
AbstractPromotionModel.-
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).Finds PromotionGroup objects from the code identifier
-
Method Details
-
findPromotionByCode
Find a stored item of AbstractPromotionModel type by it code (even if has immutableKeyHash != null). Or null if it is not found. -
findPromotionGroupByCode
Finds PromotionGroup objects from the code identifier- Parameters:
code- identifier for the promotion group- Returns:
- PromotionGroupModel matching the code
-
findDefaultPromotionGroup
PromotionGroupModel findDefaultPromotionGroup()Finds default PromotionGroup object- Returns:
- default PromotionGroupModel
-