public class CxSegmentTriggerValidationInterceptor extends BaseTriggerInterceptor implements ValidateInterceptor<CxSegmentTriggerModel>
| Constructor and Description |
|---|
CxSegmentTriggerValidationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onValidate(CxSegmentTriggerModel model,
InterceptorContext context)
Called in the
modelService.saveAll() method. |
isTriggerUniquepublic 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.Copyright © 2018 SAP SE. All Rights Reserved.