Package io.jmix.reports
Class ReportsConfiguration
java.lang.Object
io.jmix.reports.ReportsConfiguration
@Configuration
@ComponentScan
@ConfigurationPropertiesScan
@PropertySource(name="io.jmix.reports",
value="classpath:/io/jmix/reports/module.properties")
public class ReportsConfiguration
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected CoreProperties
protected DataSource
protected ReportsProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncrossTabExtractionController
(DefaultExtractionControllerFactory extractionControllerFactory, ReportLoaderFactory loaderFactory, DefaultPreprocessorFactory defaultPreprocessorFactory) dataExtractor
(ReportLoaderFactory loaderFactory, DefaultExtractionControllerFactory extractionControllerFactory) extractionControllerFactory
(ReportLoaderFactory loaderFactory, org.springframework.context.ApplicationContext applicationContext, DefaultPreprocessorFactory defaultPreprocessorFactory) formatterFactory
(JmixInlinersProvider inlinersProvider, JmixFieldFormatProvider fieldFormatProvider, Scripting scripting, JmixOfficeIntegration officeIntegration) groovyDataLoader
(Scripting scripting) inlinersProvider
(FileStorageContentInliner fileStorageContentInliner) jsonDataLoader
(Scripting scripting) loaderFactory
(JmixSqlDataLoader sqlDataLoader, JmixGroovyDataLoader groovyDataLoader, JpqlDataLoader jpqlDataLoader, JmixJsonDataLoader jsonDataLoader, SingleEntityDataLoader singleEntityDataLoader, MultiEntityDataLoader multiEntityDataLoader) preprocessorFactory
(SqlCrosstabPreprocessor sqlCrosstabPreprocessor, SqlCrosstabPreprocessor jpqlCrosstabPreprocessor) reporting
(ReportLoaderFactory loaderFactory, JmixFormatterFactory formatterFactory, JmixDataExtractor dataExtractor, JmixObjectToStringConverter converter, Scripting scripting) sqlDataLoader
(SqlParametersConverter converter)
-
Field Details
-
dataSource
-
reportsProperties
-
coreProperties
-
-
Constructor Details
-
ReportsConfiguration
public ReportsConfiguration()
-
-
Method Details
-
scripting
-
reporting
@Bean("report_Reporting") public JmixReporting reporting(ReportLoaderFactory loaderFactory, JmixFormatterFactory formatterFactory, JmixDataExtractor dataExtractor, JmixObjectToStringConverter converter, Scripting scripting) -
loaderFactory
@Bean("report_LoaderFactory") public ReportLoaderFactory loaderFactory(JmixSqlDataLoader sqlDataLoader, JmixGroovyDataLoader groovyDataLoader, JpqlDataLoader jpqlDataLoader, JmixJsonDataLoader jsonDataLoader, SingleEntityDataLoader singleEntityDataLoader, MultiEntityDataLoader multiEntityDataLoader) -
sqlDataLoader
@Bean("report_SqlDataLoader") public JmixSqlDataLoader sqlDataLoader(SqlParametersConverter converter) -
sqlParametersConverter
-
groovyDataLoader
-
jpqlDataLoader
-
jsonDataLoader
-
singleEntityDataLoader
-
multiEntityDataLoader
-
formatterFactory
@Bean("report_FormatterFactory") public JmixFormatterFactory formatterFactory(JmixInlinersProvider inlinersProvider, JmixFieldFormatProvider fieldFormatProvider, Scripting scripting, JmixOfficeIntegration officeIntegration) -
inlinersProvider
@Bean("report_InlinersProvider") public JmixInlinersProvider inlinersProvider(FileStorageContentInliner fileStorageContentInliner) -
fieldFormatProvider
-
officeIntegration
-
dataExtractor
@Bean("report_DataExtractor") public JmixDataExtractor dataExtractor(ReportLoaderFactory loaderFactory, DefaultExtractionControllerFactory extractionControllerFactory) -
extractionControllerFactory
@Bean("report_ExtractionControllerFactory") public DefaultExtractionControllerFactory extractionControllerFactory(ReportLoaderFactory loaderFactory, org.springframework.context.ApplicationContext applicationContext, DefaultPreprocessorFactory defaultPreprocessorFactory) -
crossTabExtractionController
@Bean("report_CrossTabExtractionController") @Scope("prototype") public CrossTabExtractionController crossTabExtractionController(DefaultExtractionControllerFactory extractionControllerFactory, ReportLoaderFactory loaderFactory, DefaultPreprocessorFactory defaultPreprocessorFactory) -
preprocessorFactory
@Bean("report_PreprocessorFactory") public DefaultPreprocessorFactory preprocessorFactory(SqlCrosstabPreprocessor sqlCrosstabPreprocessor, SqlCrosstabPreprocessor jpqlCrosstabPreprocessor) -
sqlCrosstabPreprocessor
@Bean("report_SqlQueryLoaderPreprocessor") @Scope("prototype") public SqlCrosstabPreprocessor sqlCrosstabPreprocessor() -
objectToStringConverter
-