Class ConstraintGroupPrepareInterceptor
- java.lang.Object
-
- de.hybris.platform.validation.interceptors.ConstraintGroupPrepareInterceptor
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
public class ConstraintGroupPrepareInterceptor extends java.lang.Object implements PrepareInterceptor
TheConstraintGroupModelPrepareInterceptorsets theConstraintGroupModel.INTERFACENAMEif not provided based on the Id. The generated Interface path isValidationConstants.CONSTRAINTGROUP_PACKAGEPREFIX+ group.getId().
-
-
Constructor Summary
Constructors Constructor Description ConstraintGroupPrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPrepare(java.lang.Object model, InterceptorContext ctx)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onPrepare
public void onPrepare(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
-