Class VariantTypePrepareInterceptor
java.lang.Object
de.hybris.platform.product.interceptors.VariantTypePrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
Interceptor, which makes some additional operations on variant types, which are being created.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetTypeService(TypeService typeService)
-
Constructor Details
-
VariantTypePrepareInterceptor
public VariantTypePrepareInterceptor()
-
-
Method Details
-
setTypeService
-
onPrepare
Called 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
-