public class MediaModelPrepareInterceptor extends java.lang.Object implements PrepareInterceptor<MediaModel>
| Constructor and Description |
|---|
MediaModelPrepareInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onPrepare(MediaModel mediaModel,
InterceptorContext ctx)
Called in the
modelService.saveAll() method. |
void |
setMediaService(MediaService mediaService) |
public void onPrepare(MediaModel mediaModel, InterceptorContext ctx) throws InterceptorException
PrepareInterceptormodelService.saveAll() method. Prepares the values of the given model.onPrepare in interface PrepareInterceptor<MediaModel>mediaModel - the model which values has to be preparedctx - the InterceptorContextInterceptorException - if an error occured during the preparationpublic void setMediaService(MediaService mediaService)
Copyright © 2018 SAP SE. All Rights Reserved.