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