Class ConstraintGroupPrepareInterceptor
java.lang.Object
de.hybris.platform.validation.interceptors.ConstraintGroupPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
The
ConstraintGroupModel PrepareInterceptor sets the ConstraintGroupModel.INTERFACENAME if
not provided based on the Id. The generated Interface path is
ValidationConstants.CONSTRAINTGROUP_PACKAGEPREFIX + group.getId().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
ConstraintGroupPrepareInterceptor
public ConstraintGroupPrepareInterceptor()
-
-
Method Details
-
onPrepare
Description 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
-