Class JasperWidgetPreferencesPreparer

java.lang.Object
de.hybris.platform.cockpit.reports.interceptor.JasperWidgetPreferencesPreparer
All Implemented Interfaces:
Interceptor, PrepareInterceptor

public class JasperWidgetPreferencesPreparer extends Object implements PrepareInterceptor
WARNING: unstable API, don't extend/implement
  • Constructor Details

    • JasperWidgetPreferencesPreparer

      public JasperWidgetPreferencesPreparer()
  • Method Details

    • onPrepare

      public void onPrepare(Object model, InterceptorContext ctx) throws InterceptorException
      Description copied from interface: PrepareInterceptor
      Called in the modelService.saveAll() method. Prepares the values of the given model.
      Specified by:
      onPrepare in interface PrepareInterceptor
      Parameters:
      model - the model which values has to be prepared
      ctx - the InterceptorContext
      Throws:
      InterceptorException - if an error occured during the preparation
    • setMediaService

      public void setMediaService(MediaService mediaService)
      Parameters:
      mediaService - the mediaService to set
    • setJasperReportParameterFactory

      public void setJasperReportParameterFactory(JasperReportParameterFactory jasperReportParameterFactory)
      Parameters:
      jasperReportParameterFactory - the jasperReportParameterFactory to set
    • setModelService

      public void setModelService(ModelService modelService)
      Parameters:
      modelService - the modelService to set