Class DefaultAssistedServicePromotionFacade
- java.lang.Object
-
- de.hybris.platform.assistedservicepromotionfacades.impl.DefaultAssistedServicePromotionFacade
-
- All Implemented Interfaces:
AssistedServicePromotionFacade
public class DefaultAssistedServicePromotionFacade extends java.lang.Object implements AssistedServicePromotionFacade
Default implementation ofAssistedServicePromotionFacadethat queries promotion data model to get customer support related coupons and promotions
-
-
Constructor Summary
Constructors Constructor Description DefaultAssistedServicePromotionFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AbstractCouponModel>getCSACoupons(java.lang.String couponCodeLike)returns Couponsjava.util.List<AbstractRuleModel>getCSAPromotions(java.lang.String promotionCodeLike)returns Promotionsjava.util.List<AbstractRuleModel>getCustomerPromotions(java.lang.String promotionCodeLike)returns Promotionsprotected FlexibleSearchServicegetFlexibleSearchService()voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
-
-
Method Detail
-
getCSAPromotions
public java.util.List<AbstractRuleModel> getCSAPromotions(java.lang.String promotionCodeLike)
Description copied from interface:AssistedServicePromotionFacadereturns Promotions- Specified by:
getCSAPromotionsin interfaceAssistedServicePromotionFacade- Parameters:
promotionCodeLike- "like" parameter for promotions query- Returns:
- {List} of AbstractRuleModel
-
getCSACoupons
public java.util.List<AbstractCouponModel> getCSACoupons(java.lang.String couponCodeLike)
Description copied from interface:AssistedServicePromotionFacadereturns Coupons- Specified by:
getCSACouponsin interfaceAssistedServicePromotionFacade- Parameters:
couponCodeLike- "like" parameter for coupons query- Returns:
- {List} of AbstractCouponModel
-
getFlexibleSearchService
protected FlexibleSearchService getFlexibleSearchService()
-
setFlexibleSearchService
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
getCustomerPromotions
public java.util.List<AbstractRuleModel> getCustomerPromotions(java.lang.String promotionCodeLike)
Description copied from interface:AssistedServicePromotionFacadereturns Promotions- Specified by:
getCustomerPromotionsin interfaceAssistedServicePromotionFacade- Parameters:
promotionCodeLike- "like" parameter for promotions query- Returns:
- {List} of AbstractRuleModel for current customer
-
-