public class ValidateLocalizedConstraintInterceptor extends java.lang.Object implements ValidateInterceptor<AttributeConstraintModel>
| Constructor and Description |
|---|
ValidateLocalizedConstraintInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onValidate(AttributeConstraintModel attrConstraint,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
public ValidateLocalizedConstraintInterceptor()
public void onValidate(AttributeConstraintModel attrConstraint, InterceptorContext ctx) throws InterceptorException
ValidateInterceptormodelService.saveAll() method. Validates the values of the given model.onValidate in interface ValidateInterceptor<AttributeConstraintModel>attrConstraint - 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.