Class CampaignRuleValidateInterceptor
java.lang.Object
de.hybris.platform.ruleengineservices.rule.interceptors.CampaignRuleValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<CampaignModel>
public class CampaignRuleValidateInterceptor
extends Object
implements ValidateInterceptor<CampaignModel>
Instance of
ValidateInterceptor monitoring the campaign rule removal-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<SourceRuleModel>getFrozenAssociatedSourceRules(CampaignModel campaign) protected L10NServicevoidonValidate(CampaignModel campaign, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetL10NService(L10NService l10NService)
-
Constructor Details
-
CampaignRuleValidateInterceptor
public CampaignRuleValidateInterceptor()
-
-
Method Details
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<CampaignModel>- Parameters:
campaign- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
getFrozenAssociatedSourceRules
-
getL10NService
-
setL10NService
-