Class ReportParameterValidator

java.lang.Object
io.jmix.reportsflowui.view.ReportParameterValidator

@Component("report_ReportParameterValidator") public class ReportParameterValidator extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • validateParameterValue

      public void validateParameterValue(ReportInputParameter parameter, Object value)
      Checking validation for an input parameter field before running the report.
      Parameters:
      parameter - data info which describes report's parameter
      value - parameter's value
    • crossValidateParameters

      public void crossValidateParameters(Report report, Map<String,Object> reportParameters)
      Performs cross field parameters validation before running the report.
      Parameters:
      report - report instance
      reportParameters - map of parameters values taken from components
    • runValidationScript

      protected void runValidationScript(String groovyScript, Map<String,Object> scriptContext)
    • createScriptContext

      protected Map<String,Object> createScriptContext(Map<String,Object> contextParameters)