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