Class CheckIfRemovableMediaInterceptor
- java.lang.Object
-
- de.hybris.platform.media.interceptors.CheckIfRemovableMediaInterceptor
-
- All Implemented Interfaces:
Interceptor
,RemoveInterceptor<MediaModel>
public class CheckIfRemovableMediaInterceptor extends java.lang.Object implements RemoveInterceptor<MediaModel>
-
-
Constructor Summary
Constructors Constructor Description CheckIfRemovableMediaInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onRemove(MediaModel mediaModel, InterceptorContext ctx)
Called in themodelService.removeAll()
method.
-
-
-
Method Detail
-
onRemove
public void onRemove(MediaModel mediaModel, InterceptorContext ctx) throws InterceptorException
Description copied from interface:RemoveInterceptor
Called in themodelService.removeAll()
method.- Specified by:
onRemove
in interfaceRemoveInterceptor<MediaModel>
- Parameters:
mediaModel
- the model which should be removedctx
- theInterceptorContext
- Throws:
InterceptorException
- if the remove reports an error
-
-