public class DefaultFlashBuyDao extends DefaultGenericDao<FlashBuyCouponModel> implements FlashBuyDao
FlashBuyDao| Constructor and Description |
|---|
DefaultFlashBuyDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ProductModel> |
findAllProductsByPromotionSourceRule(PromotionSourceRuleModel rule)
Finds all Products by given promotion source rule
|
java.util.List<FlashBuyCouponModel> |
findFlashBuyCouponByProduct(ProductModel product)
Finds flash buy coupon by product
|
java.util.Optional<FlashBuyCouponModel> |
findFlashBuyCouponByPromotionCode(java.lang.String promotionCode)
Finds FlashBuyCoupon by given promotion code
|
java.util.Optional<ProductModel> |
findProductByPromotion(AbstractPromotionModel promotion)
Finds product by given promotion
|
java.util.List<ProductForPromotionSourceRuleModel> |
findProductForPromotionSourceRules(PromotionSourceRuleModel rule)
Finds ProductForPromotionRule by given promotion source rule
|
java.util.List<PromotionSourceRuleModel> |
findPromotionSourceRuleByProduct(java.lang.String productCode)
Finds promotion source rule by product
|
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServicepublic java.util.Optional<FlashBuyCouponModel> findFlashBuyCouponByPromotionCode(java.lang.String promotionCode)
FlashBuyDaofindFlashBuyCouponByPromotionCode in interface FlashBuyDaopromotionCode - promotion codepublic java.util.List<PromotionSourceRuleModel> findPromotionSourceRuleByProduct(java.lang.String productCode)
FlashBuyDaofindPromotionSourceRuleByProduct in interface FlashBuyDaoproductCode - product codepublic java.util.Optional<ProductModel> findProductByPromotion(AbstractPromotionModel promotion)
FlashBuyDaofindProductByPromotion in interface FlashBuyDaopromotion - the given promotionpublic java.util.List<ProductForPromotionSourceRuleModel> findProductForPromotionSourceRules(PromotionSourceRuleModel rule)
FlashBuyDaofindProductForPromotionSourceRules in interface FlashBuyDaorule - the promotion source rulepublic java.util.List<ProductModel> findAllProductsByPromotionSourceRule(PromotionSourceRuleModel rule)
FlashBuyDaofindAllProductsByPromotionSourceRule in interface FlashBuyDaorule - promotion source rulepublic java.util.List<FlashBuyCouponModel> findFlashBuyCouponByProduct(ProductModel product)
FlashBuyDaofindFlashBuyCouponByProduct in interface FlashBuyDaoproduct - product modelCopyright © 2018 SAP SE. All Rights Reserved.