Package io.jmix.reports.libintegration
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 Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected CurrentAuthentication
protected DataManager
protected Metadata
protected ReportsProperties
protected TimeSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprepareParameters
(com.haulmont.yarg.structure.ReportQuery reportQuery, com.haulmont.yarg.structure.BandData parentBand, Map<String, Object> reportParameters) Prepares and return the map of objectsprotected void
validationException
(String message)
-
Field Details
-
reportsProperties
-
metadata
-
dataManager
-
currentAuthentication
-
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 interfaceGroovyScriptParametersProvider
- Parameters:
reportQuery
- report queryparentBand
- parent bandreportParameters
- - parameters to include into the map of parameters- Returns:
- map of objects
-
validationException
-