Class VariantTypePrepareInterceptor
- java.lang.Object
-
- de.hybris.platform.product.interceptors.VariantTypePrepareInterceptor
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
public class VariantTypePrepareInterceptor extends java.lang.Object implements PrepareInterceptor
Interceptor, which makes some additional operations on variant types, which are being created.
-
-
Constructor Summary
Constructors Constructor Description VariantTypePrepareInterceptor()
-
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.voidsetTypeService(TypeService typeService)
-
-
-
Method Detail
-
setTypeService
public void setTypeService(TypeService typeService)
-
onPrepare
public void onPrepare(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionCalled 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
-
-