Class ConstraintGroupLoadInterceptor
java.lang.Object
de.hybris.platform.validation.interceptors.ConstraintGroupLoadInterceptor
- All Implemented Interfaces:
Interceptor,LoadInterceptor
Every time the default constraint group is loaded all constraints which are not in any group are set to this group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonLoad(Object model, InterceptorContext ctx) If a model is loaded from the database this method is called by the model service.voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
Constructor Details
-
ConstraintGroupLoadInterceptor
public ConstraintGroupLoadInterceptor()
-
-
Method Details
-
onLoad
Description copied from interface:LoadInterceptorIf a model is loaded from the database this method is called by the model service.- Specified by:
onLoadin interfaceLoadInterceptor- Parameters:
model- the model to be loadedctx- theInterceptorContext- Throws:
InterceptorException- if the model could not be loaded
-
setFlexibleSearchService
-