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