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