Class JasperMediaPrepareInterceptor
java.lang.Object
de.hybris.platform.cockpit.reports.interceptor.JasperMediaPrepareInterceptor
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
Interceptor which sets folder for JasperMedia when it is about to save
- Spring Bean ID:
- jasperMediaPrepareInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetJasperMediaService(JasperMediaService jasperMediaService)
-
Constructor Details
-
JasperMediaPrepareInterceptor
public JasperMediaPrepareInterceptor()
-
-
Method Details
-
onPrepare
Description copied from interface:PrepareInterceptorCalled in themodelService.saveAll()method. Prepares the values of the given model.- Specified by:
onPreparein interfacePrepareInterceptor- Parameters:
model- the model which values has to be preparedctx- theInterceptorContext- Throws:
InterceptorException- if an error occured during the preparation
-
setJasperMediaService
-