Class ConstraintGroupLoadInterceptor
- java.lang.Object
-
- de.hybris.platform.validation.interceptors.ConstraintGroupLoadInterceptor
-
- All Implemented Interfaces:
Interceptor,LoadInterceptor
public class ConstraintGroupLoadInterceptor extends java.lang.Object implements 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 Constructor Description ConstraintGroupLoadInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonLoad(java.lang.Object model, InterceptorContext ctx)If a model is loaded from the database this method is called by the model service.voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
-
-
Method Detail
-
onLoad
public void onLoad(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription 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
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
-