Class MediaModelPrepareInterceptor
java.lang.Object
de.hybris.platform.media.interceptors.MediaModelPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor<MediaModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(MediaModel mediaModel, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetMediaService(MediaService mediaService)
-
Constructor Details
-
MediaModelPrepareInterceptor
public MediaModelPrepareInterceptor()
-
-
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:
mediaModel- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
setMediaService
-