Class RemoveDataOnSetURLPrepareInterceptor
- java.lang.Object
-
- de.hybris.platform.media.interceptors.RemoveDataOnSetURLPrepareInterceptor
-
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<MediaModel>
public class RemoveDataOnSetURLPrepareInterceptor extends java.lang.Object implements PrepareInterceptor<MediaModel>
-
-
Constructor Summary
Constructors Constructor Description RemoveDataOnSetURLPrepareInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonPrepare(MediaModel media, InterceptorContext ctx)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onPrepare
public void onPrepare(MediaModel media, InterceptorContext ctx) throws InterceptorException
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor<MediaModel>- Parameters:
media- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
-