Class JmixJsonDataLoader

java.lang.Object
com.haulmont.yarg.loaders.impl.AbstractDataLoader
com.haulmont.yarg.loaders.impl.JsonDataLoader
io.jmix.reports.libintegration.JmixJsonDataLoader
All Implemented Interfaces:
com.haulmont.yarg.loaders.ReportDataLoader

public class JmixJsonDataLoader extends com.haulmont.yarg.loaders.impl.JsonDataLoader
  • Field Details

    • scripting

      protected com.haulmont.yarg.util.groovy.Scripting scripting
    • groovyScriptParametersProvider

      @Autowired protected GroovyScriptParametersProvider groovyScriptParametersProvider
    • resources

      @Autowired protected Resources resources
  • Constructor Details

    • JmixJsonDataLoader

      @Autowired public JmixJsonDataLoader(com.haulmont.yarg.util.groovy.Scripting scripting)
  • Method Details

    • loadData

      public List<Map<String,Object>> loadData(com.haulmont.yarg.structure.ReportQuery reportQuery, com.haulmont.yarg.structure.BandData parentBand, Map<String,Object> reportParams)
      Specified by:
      loadData in interface com.haulmont.yarg.loaders.ReportDataLoader
      Overrides:
      loadData in class com.haulmont.yarg.loaders.impl.JsonDataLoader
    • loadDataFromParameter

      protected List<Map<String,Object>> loadDataFromParameter(com.haulmont.yarg.structure.ReportQuery reportQuery, Map<String,Object> reportParams)
    • loadDataFromGroovyScript

      protected List<Map<String,Object>> loadDataFromGroovyScript(com.haulmont.yarg.structure.ReportQuery reportQuery, com.haulmont.yarg.structure.BandData parentBand, Map<String,Object> reportParams)
    • loadDataFromUrl

      protected List<Map<String,Object>> loadDataFromUrl(com.haulmont.yarg.structure.ReportQuery reportQuery)
    • readJsonFromGroovyScript

      protected String readJsonFromGroovyScript(com.haulmont.yarg.structure.ReportQuery reportQuery, com.haulmont.yarg.structure.BandData parentBand, Map<String,Object> reportParams)
    • readJsonFromUrl

      protected String readJsonFromUrl(String url)
    • getJsonSourceText

      protected String getJsonSourceText(com.haulmont.yarg.structure.ReportQuery reportQuery)
    • getJsonPathScript

      protected String getJsonPathScript(com.haulmont.yarg.structure.ReportQuery reportQuery)
    • readJsonFromParameter

      protected String readJsonFromParameter(com.haulmont.yarg.structure.ReportQuery reportQuery, Map<String,Object> reportParams)