public class CatalogVersionSyncScheduleMediaPreparer extends java.lang.Object implements PrepareInterceptor
CatalogVersionSyncScheduleMediaModel. Sets the catalog sync media folder.| Constructor and Description |
|---|
CatalogVersionSyncScheduleMediaPreparer() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPrepare(java.lang.Object model,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setMediaService(MediaService service) |
public CatalogVersionSyncScheduleMediaPreparer()
public void setMediaService(MediaService service)
service - the MediaService to setpublic void onPrepare(java.lang.Object model,
InterceptorContext ctx)
throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptormodel - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationCopyright © 2018 SAP SE. All Rights Reserved.