Class RemoveDataOnSetURLPrepareInterceptor
java.lang.Object
de.hybris.platform.media.interceptors.RemoveDataOnSetURLPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<MediaModel>
public class RemoveDataOnSetURLPrepareInterceptor
extends Object
implements PrepareInterceptor<MediaModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(MediaModel media, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
RemoveDataOnSetURLPrepareInterceptor
public RemoveDataOnSetURLPrepareInterceptor()
-
-
Method Details
-
onPrepare
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
-