public class CheckIfRemovableMediaInterceptor extends java.lang.Object implements RemoveInterceptor<MediaModel>
| Constructor and Description |
|---|
CheckIfRemovableMediaInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
onRemove(MediaModel mediaModel,
InterceptorContext ctx)
Called in the
modelService.removeAll() method. |
public void onRemove(MediaModel mediaModel, InterceptorContext ctx) throws InterceptorException
RemoveInterceptormodelService.removeAll() method.onRemove in interface RemoveInterceptor<MediaModel>mediaModel - the model which should be removedctx - the InterceptorContextInterceptorException - if the remove reports an errorCopyright © 2018 SAP SE. All Rights Reserved.