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 voidonPrepare(Y2YStreamConfigurationModel model, InterceptorContext ctx)Called in themodelService.saveAll()method.voidsetCatalogTypeService(CatalogTypeService catalogTypeService)voidsetInfoExpressionGenerator(InfoExpressionGenerator infoExpressionGenerator)voidsetModelService(ModelService modelService)
-
-
-
Method Detail
-
onPrepare
public void onPrepare(Y2YStreamConfigurationModel 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<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)
-
-