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