Class ExportServiceAutoConfiguration

java.lang.Object
com.broadleafcommerce.common.dataexport.service.autoconfigure.ExportServiceAutoConfiguration

@Configuration @EnableConfigurationProperties(ExportProcessingConfigurationProperties.class) public class ExportServiceAutoConfiguration extends Object
Author:
Samarth Dhruva (samarthd)
  • Constructor Details

    • ExportServiceAutoConfiguration

      public ExportServiceAutoConfiguration()
  • Method Details

    • exportService

      @Bean @ConditionalOnMissingBean public ExportService<Export> exportService(ExportRepository<com.broadleafcommerce.data.tracking.core.Identifiable> exportRepository, com.broadleafcommerce.data.tracking.core.service.RsqlMappableCrudEntityHelper helper, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager)
    • exportManager

      @Bean @ConditionalOnMissingBean public ExportManager exportManager(ExportService<Export> exportService, ExportRequestValidator exportRequestValidator, List<ExportProcessor<?>> exportProcessors, List<ExportFileWriter<?>> exportFileWriters, StorageService storageService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ExportProcessingConfigurationProperties exportProcessingConfigurationProperties, List<com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator> contextRequestHydrators, @Nullable com.broadleafcommerce.common.extension.data.DataRouteReference dataRouteReference, @Nullable com.broadleafcommerce.data.tracking.core.policy.trackable.TrackablePolicyUtils trackablePolicyUtils)
    • csvExportFileWriter

      @Bean @ConditionalOnMissingBean public ExportFileWriter<CSVExportFileWriteContext> csvExportFileWriter()
    • exportRequestValidator

      @Bean @ConditionalOnMissingBean public ExportRequestValidator exportRequestValidator()
    • exportDownloadService

      @Bean @ConditionalOnMissingBean public ExportDownloadService exportDownloadService(ExportService<Export> exportService, StorageService storageService)