Class ConstraintGroupInterfaceNameValidator
- java.lang.Object
-
- de.hybris.platform.validation.interceptors.ConstraintGroupInterfaceNameValidator
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
public class ConstraintGroupInterfaceNameValidator extends java.lang.Object implements ValidateInterceptor
This validator checks if the given interface name is a valid JAVA interface name. SeeSourceVersion.isName(CharSequence).
-
-
Constructor Summary
Constructors Constructor Description ConstraintGroupInterfaceNameValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(java.lang.Object model, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetConstraintDao(ConstraintDao constraintDao)
-
-
-
Method Detail
-
onValidate
public void onValidate(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
setConstraintDao
public void setConstraintDao(ConstraintDao constraintDao)
-
-