Package de.hybris.platform.catalog.impl
Class CatalogVersionSyncScheduleMediaPreparer
java.lang.Object
de.hybris.platform.catalog.impl.CatalogVersionSyncScheduleMediaPreparer
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
PrepareInterceptor for the
CatalogVersionSyncScheduleMediaModel. Sets the catalog sync media folder.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetMediaService(MediaService service)
-
Constructor Details
-
CatalogVersionSyncScheduleMediaPreparer
public CatalogVersionSyncScheduleMediaPreparer()
-
-
Method Details
-
setMediaService
- Parameters:
service- the MediaService to set
-
onPrepare
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-