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 Object
implements PrepareInterceptor<Y2YStreamConfigurationModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Y2YStreamConfigurationModel model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetCatalogTypeService(CatalogTypeService catalogTypeService) voidsetInfoExpressionGenerator(InfoExpressionGenerator infoExpressionGenerator) voidsetModelService(ModelService modelService)
-
Constructor Details
-
Y2YStreamConfigurationPrepareInterceptor
public Y2YStreamConfigurationPrepareInterceptor()
-
-
Method Details
-
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
-
setInfoExpressionGenerator
-
setModelService
-