Interface PromotionDao
-
- All Known Implementing Classes:
DefaultPromotionDao
public interface PromotionDaoData Access Object for looking up items related toAbstractPromotionModel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PromotionGroupModelfindDefaultPromotionGroup()Finds default PromotionGroup objectAbstractPromotionModelfindPromotionByCode(java.lang.String code)Find a stored item of AbstractPromotionModel type by it code (even if has immutableKeyHash != null).PromotionGroupModelfindPromotionGroupByCode(java.lang.String code)Finds PromotionGroup objects from the code identifier
-
-
-
Method Detail
-
findPromotionByCode
AbstractPromotionModel findPromotionByCode(java.lang.String code)
Find a stored item of AbstractPromotionModel type by it code (even if has immutableKeyHash != null). Or null if it is not found.
-
findPromotionGroupByCode
PromotionGroupModel findPromotionGroupByCode(java.lang.String code)
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
-
-