Class ProductReferencePrepareInterceptor
java.lang.Object
de.hybris.platform.catalog.interceptors.ProductReferencePrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<ProductReferenceModel>
public class ProductReferencePrepareInterceptor
extends Object
implements PrepareInterceptor<ProductReferenceModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(ProductReferenceModel productReferenceModel, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
ProductReferencePrepareInterceptor
public ProductReferencePrepareInterceptor()
-
-
Method Details
-
onPrepare
public void onPrepare(ProductReferenceModel productReferenceModel, InterceptorContext ctx) throws InterceptorException Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<ProductReferenceModel>- Parameters:
productReferenceModel- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-