Class JmixGroovyScriptParametersProvider

java.lang.Object
io.jmix.reports.libintegration.JmixGroovyScriptParametersProvider
All Implemented Interfaces:
GroovyScriptParametersProvider

@Component("report_GroovyParametersProvider") public class JmixGroovyScriptParametersProvider extends Object implements GroovyScriptParametersProvider
  • Field Details

    • reportsProperties

      @Autowired protected ReportsProperties reportsProperties
    • metadata

      @Autowired protected Metadata metadata
    • dataManager

      @Autowired protected DataManager dataManager
    • currentAuthentication

      @Autowired protected CurrentAuthentication currentAuthentication
    • timeSource

      @Autowired protected TimeSource timeSource
    • applicationContext

      @Autowired protected org.springframework.context.ApplicationContext applicationContext
  • Constructor Details

    • JmixGroovyScriptParametersProvider

      public JmixGroovyScriptParametersProvider()
  • Method Details

    • prepareParameters

      public Map<String,Object> prepareParameters(com.haulmont.yarg.structure.ReportQuery reportQuery, com.haulmont.yarg.structure.BandData parentBand, Map<String,Object> reportParameters)
      Description copied from interface: GroovyScriptParametersProvider
      Prepares and return the map of objects
      Specified by:
      prepareParameters in interface GroovyScriptParametersProvider
      Parameters:
      reportQuery - report query
      parentBand - parent band
      reportParameters - - parameters to include into the map of parameters
      Returns:
      map of objects
    • validationException

      protected void validationException(String message)