Class JasperWidgetPreferencesPreparer
java.lang.Object
de.hybris.platform.cockpit.reports.interceptor.JasperWidgetPreferencesPreparer
- All Implemented Interfaces:
Interceptor,PrepareInterceptor
WARNING: unstable API, don't extend/implement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonPrepare(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.voidsetJasperReportParameterFactory(JasperReportParameterFactory jasperReportParameterFactory) voidsetMediaService(MediaService mediaService) voidsetModelService(ModelService modelService)
-
Constructor Details
-
JasperWidgetPreferencesPreparer
public JasperWidgetPreferencesPreparer()
-
-
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
-
setMediaService
- Parameters:
mediaService- the mediaService to set
-
setJasperReportParameterFactory
public void setJasperReportParameterFactory(JasperReportParameterFactory jasperReportParameterFactory) - Parameters:
jasperReportParameterFactory- the jasperReportParameterFactory to set
-
setModelService
- Parameters:
modelService- the modelService to set
-