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 TypeMethodDescriptioncom.haulmont.yarg.reporting.extraction.controller.CrossTabExtractionController
crossTabExtractionController
(com.haulmont.yarg.reporting.extraction.DefaultExtractionControllerFactory extractionControllerFactory, com.haulmont.yarg.loaders.factory.ReportLoaderFactory loaderFactory, com.haulmont.yarg.reporting.extraction.DefaultPreprocessorFactory defaultPreprocessorFactory) dataExtractor
(com.haulmont.yarg.loaders.factory.ReportLoaderFactory loaderFactory, com.haulmont.yarg.reporting.extraction.DefaultExtractionControllerFactory extractionControllerFactory) com.haulmont.yarg.reporting.extraction.DefaultExtractionControllerFactory
extractionControllerFactory
(com.haulmont.yarg.loaders.factory.ReportLoaderFactory loaderFactory, org.springframework.context.ApplicationContext applicationContext, com.haulmont.yarg.reporting.extraction.DefaultPreprocessorFactory defaultPreprocessorFactory) formatterFactory
(JmixInlinersProvider inlinersProvider, JmixFieldFormatProvider fieldFormatProvider, com.haulmont.yarg.util.groovy.Scripting scripting, JmixOfficeIntegration officeIntegration) groovyDataLoader
(com.haulmont.yarg.util.groovy.Scripting scripting) inlinersProvider
(FileStorageContentInliner fileStorageContentInliner) jpqlDataLoader
(JpqlParametersConverter converter) jsonDataLoader
(com.haulmont.yarg.util.groovy.Scripting scripting) com.haulmont.yarg.loaders.factory.ReportLoaderFactory
loaderFactory
(JmixSqlDataLoader sqlDataLoader, JmixGroovyDataLoader groovyDataLoader, JpqlDataLoader jpqlDataLoader, JmixJsonDataLoader jsonDataLoader, SingleEntityDataLoader singleEntityDataLoader, MultiEntityDataLoader multiEntityDataLoader) com.haulmont.yarg.reporting.extraction.DefaultPreprocessorFactory
preprocessorFactory
(com.haulmont.yarg.reporting.extraction.preprocessor.SqlCrosstabPreprocessor sqlCrosstabPreprocessor, com.haulmont.yarg.reporting.extraction.preprocessor.SqlCrosstabPreprocessor jpqlCrosstabPreprocessor) reporting
(com.haulmont.yarg.loaders.factory.ReportLoaderFactory loaderFactory, JmixFormatterFactory formatterFactory, JmixDataExtractor dataExtractor, JmixObjectToStringConverter converter, com.haulmont.yarg.util.groovy.Scripting scripting) com.haulmont.yarg.util.groovy.Scripting
com.haulmont.yarg.reporting.extraction.preprocessor.SqlCrosstabPreprocessor
sqlDataLoader
(SqlParametersConverter converter)
-
Field Details
-
dataSource
-
reportsProperties
-
coreProperties
-
-
Constructor Details
-
ReportsConfiguration
public ReportsConfiguration()
-
-
Method Details
-
scripting
@Bean("report_Scripting") public com.haulmont.yarg.util.groovy.Scripting scripting() -
reporting
@Bean("report_Reporting") public JmixReporting reporting(com.haulmont.yarg.loaders.factory.ReportLoaderFactory loaderFactory, JmixFormatterFactory formatterFactory, JmixDataExtractor dataExtractor, JmixObjectToStringConverter converter, com.haulmont.yarg.util.groovy.Scripting scripting) -
loaderFactory
@Bean("report_LoaderFactory") public com.haulmont.yarg.loaders.factory.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
@Bean("report_GroovyDataLoader") public JmixGroovyDataLoader groovyDataLoader(com.haulmont.yarg.util.groovy.Scripting scripting) -
jpqlDataLoader
@Bean("report_JpqlDataLoader") public JpqlDataLoader jpqlDataLoader(JpqlParametersConverter converter) -
jpqlParametersConverter
-
jsonDataLoader
@Bean("report_JsonDataLoader") public JmixJsonDataLoader jsonDataLoader(com.haulmont.yarg.util.groovy.Scripting scripting) -
singleEntityDataLoader
-
multiEntityDataLoader
-
formatterFactory
@Bean("report_FormatterFactory") public JmixFormatterFactory formatterFactory(JmixInlinersProvider inlinersProvider, JmixFieldFormatProvider fieldFormatProvider, com.haulmont.yarg.util.groovy.Scripting scripting, JmixOfficeIntegration officeIntegration) -
inlinersProvider
@Bean("report_InlinersProvider") public JmixInlinersProvider inlinersProvider(FileStorageContentInliner fileStorageContentInliner) -
fieldFormatProvider
-
officeIntegration
-
dataExtractor
@Bean("report_DataExtractor") public JmixDataExtractor dataExtractor(com.haulmont.yarg.loaders.factory.ReportLoaderFactory loaderFactory, com.haulmont.yarg.reporting.extraction.DefaultExtractionControllerFactory extractionControllerFactory) -
extractionControllerFactory
@Bean("report_ExtractionControllerFactory") public com.haulmont.yarg.reporting.extraction.DefaultExtractionControllerFactory extractionControllerFactory(com.haulmont.yarg.loaders.factory.ReportLoaderFactory loaderFactory, org.springframework.context.ApplicationContext applicationContext, com.haulmont.yarg.reporting.extraction.DefaultPreprocessorFactory defaultPreprocessorFactory) -
crossTabExtractionController
@Bean("report_CrossTabExtractionController") @Scope("prototype") public com.haulmont.yarg.reporting.extraction.controller.CrossTabExtractionController crossTabExtractionController(com.haulmont.yarg.reporting.extraction.DefaultExtractionControllerFactory extractionControllerFactory, com.haulmont.yarg.loaders.factory.ReportLoaderFactory loaderFactory, com.haulmont.yarg.reporting.extraction.DefaultPreprocessorFactory defaultPreprocessorFactory) -
preprocessorFactory
@Bean("report_PreprocessorFactory") public com.haulmont.yarg.reporting.extraction.DefaultPreprocessorFactory preprocessorFactory(com.haulmont.yarg.reporting.extraction.preprocessor.SqlCrosstabPreprocessor sqlCrosstabPreprocessor, com.haulmont.yarg.reporting.extraction.preprocessor.SqlCrosstabPreprocessor jpqlCrosstabPreprocessor) -
sqlCrosstabPreprocessor
@Bean("report_SqlQueryLoaderPreprocessor") @Scope("prototype") public com.haulmont.yarg.reporting.extraction.preprocessor.SqlCrosstabPreprocessor sqlCrosstabPreprocessor() -
objectToStringConverter
-