Package de.hybris.platform.catalog.impl
Class CatalogVersionSyncScheduleMediaPreparer
- java.lang.Object
-
- de.hybris.platform.catalog.impl.CatalogVersionSyncScheduleMediaPreparer
-
- All Implemented Interfaces:
Interceptor
,PrepareInterceptor
public class CatalogVersionSyncScheduleMediaPreparer extends java.lang.Object implements PrepareInterceptor
PrepareInterceptor for theCatalogVersionSyncScheduleMediaModel
. Sets the catalog sync media folder.
-
-
Constructor Summary
Constructors Constructor Description CatalogVersionSyncScheduleMediaPreparer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onPrepare(java.lang.Object model, InterceptorContext ctx)
Called in themodelService.saveAll()
method.void
setMediaService(MediaService service)
-
-
-
Method Detail
-
setMediaService
public void setMediaService(MediaService service)
- Parameters:
service
- the MediaService to set
-
onPrepare
public void onPrepare(java.lang.Object 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
- Parameters:
model
- the model which values has to be preparedctx
- theInterceptorContext
- Throws:
InterceptorException
- if an error occured during the preparation
-
-