public class CxConfigValidationInterceptor extends java.lang.Object implements ValidateInterceptor<CxConfigModel>
| Constructor and Description |
|---|
CxConfigValidationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getConsentTemplateFriendlyName(ConsentTemplateModel consentTemplate) |
void |
onValidate(CxConfigModel model,
InterceptorContext context)
Called in the
modelService.saveAll() method. |
public void onValidate(CxConfigModel model, InterceptorContext context) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<CxConfigModel>model - the model which values has to be validatedcontext - the InterceptorContextInterceptorException - if any values of the model are not valid.protected java.lang.String getConsentTemplateFriendlyName(ConsentTemplateModel consentTemplate)
Copyright © 2018 SAP SE. All Rights Reserved.