public class CampaignRuleValidateInterceptor extends java.lang.Object implements ValidateInterceptor<CampaignModel>
ValidateInterceptor monitoring the campaign rule removal| Constructor and Description |
|---|
CampaignRuleValidateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<SourceRuleModel> |
getFrozenAssociatedSourceRules(CampaignModel campaign) |
void |
onValidate(CampaignModel campaign,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
public void onValidate(CampaignModel campaign, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<CampaignModel>campaign - the model which values has to be validatedctx - the InterceptorContextInterceptorException - if any values of the model are not valid.protected java.util.Set<SourceRuleModel> getFrozenAssociatedSourceRules(CampaignModel campaign)
Copyright © 2018 SAP SE. All Rights Reserved.