public class CxSegmentTriggerValidationInterceptor extends Object implements ValidateInterceptor<CxSegmentTriggerModel>
| Constructor and Description |
|---|
CxSegmentTriggerValidationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSegments(CxSegmentTriggerModel model) |
protected void |
checkVariation(CxSegmentTriggerModel model,
InterceptorContext context) |
void |
onValidate(CxSegmentTriggerModel model,
InterceptorContext context)
Called in the
modelService.saveAll() method. |
public CxSegmentTriggerValidationInterceptor()
public void onValidate(CxSegmentTriggerModel model, InterceptorContext context) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<CxSegmentTriggerModel>model - the model which values has to be validatedcontext - the InterceptorContextInterceptorException - if any values of the model are not valid.protected void checkSegments(CxSegmentTriggerModel model) throws InterceptorException
InterceptorExceptionprotected void checkVariation(CxSegmentTriggerModel model, InterceptorContext context) throws InterceptorException
InterceptorExceptionCopyright © 2017 SAP SE. All Rights Reserved.