Package de.hybris.y2ysync.model
Class Y2YStreamConfigurationPrepareInterceptor
- java.lang.Object
-
- de.hybris.y2ysync.model.Y2YStreamConfigurationPrepareInterceptor
-
- All Implemented Interfaces:
Interceptor
,PrepareInterceptor<Y2YStreamConfigurationModel>
public class Y2YStreamConfigurationPrepareInterceptor extends java.lang.Object implements PrepareInterceptor<Y2YStreamConfigurationModel>
-
-
Constructor Summary
Constructors Constructor Description Y2YStreamConfigurationPrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onPrepare(Y2YStreamConfigurationModel model, InterceptorContext ctx)
Called in themodelService.saveAll()
method.void
setCatalogTypeService(CatalogTypeService catalogTypeService)
void
setInfoExpressionGenerator(InfoExpressionGenerator infoExpressionGenerator)
void
setModelService(ModelService modelService)
-
-
-
Method Detail
-
onPrepare
public void onPrepare(Y2YStreamConfigurationModel 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<Y2YStreamConfigurationModel>
- Parameters:
model
- the model which values has to be preparedctx
- theInterceptorContext
- Throws:
InterceptorException
- if an error occured during the preparation
-
setCatalogTypeService
public void setCatalogTypeService(CatalogTypeService catalogTypeService)
-
setInfoExpressionGenerator
public void setInfoExpressionGenerator(InfoExpressionGenerator infoExpressionGenerator)
-
setModelService
public void setModelService(ModelService modelService)
-
-