Class PromotionRulePrepareInterceptor

java.lang.Object
de.hybris.platform.promotionengineservices.interceptors.PromotionRulePrepareInterceptor
All Implemented Interfaces:
Interceptor, PrepareInterceptor<AbstractRuleEngineRuleModel>

public class PromotionRulePrepareInterceptor extends Object implements PrepareInterceptor<AbstractRuleEngineRuleModel>
A prepare interceptor for AbstractRuleEngineRuleModel which creates a RuleBasedPromotion for the rule, if it doesn't already exist. For existing RuleBasedPromotions the interceptor also updates the the AbstractRuleEngineRuleModel.getMessageFired().