Package de.hybris.y2ysync.model
Class Y2YColumnDefinitionPrepareInterceptor
java.lang.Object
de.hybris.y2ysync.model.Y2YColumnDefinitionPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<Y2YColumnDefinitionModel>
public class Y2YColumnDefinitionPrepareInterceptor
extends Object
implements PrepareInterceptor<Y2YColumnDefinitionModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Y2YColumnDefinitionModel model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetCommonI18NService(CommonI18NService commonI18NService) voidsetImpexHeaderBuilder(ImpexHeaderBuilder impexHeaderBuilder)
-
Constructor Details
-
Y2YColumnDefinitionPrepareInterceptor
public Y2YColumnDefinitionPrepareInterceptor()
-
-
Method Details
-
onPrepare
public void onPrepare(Y2YColumnDefinitionModel 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<Y2YColumnDefinitionModel>- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
setImpexHeaderBuilder
-
setCommonI18NService
-