Class ValidateLocalizedConstraintInterceptor
java.lang.Object
de.hybris.platform.validation.interceptors.ValidateLocalizedConstraintInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<AttributeConstraintModel>
public class ValidateLocalizedConstraintInterceptor
extends Object
implements ValidateInterceptor<AttributeConstraintModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(AttributeConstraintModel attrConstraint, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
ValidateLocalizedConstraintInterceptor
public ValidateLocalizedConstraintInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(AttributeConstraintModel attrConstraint, InterceptorContext ctx) throws InterceptorException Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<AttributeConstraintModel>- Parameters:
attrConstraint- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-