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
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected CurrentAuthenticationprotected DataManagerprotected Metadataprotected ReportsPropertiesprotected TimeSource -
Constructor Summary
Constructors -
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 voidvalidationException(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:GroovyScriptParametersProviderPrepares and return the map of objects- Specified by:
prepareParametersin interfaceGroovyScriptParametersProvider- Parameters:
reportQuery- report queryparentBand- parent bandreportParameters- - parameters to include into the map of parameters- Returns:
- map of objects
-
validationException
-