Package su.onno.importer
Class OnnoImportAutoConfiguration
java.lang.Object
su.onno.importer.OnnoImportAutoConfiguration
@AutoConfiguration(after=UiAutoConfiguration.class)
@ConditionalOnBean({MetadataRegistry.class,CatalogQueryService.class,CatalogCommandService.class,DocumentQueryService.class,DocumentCommandService.class,UiAccessService.class})
@EnableConfigurationProperties(OnnoImportProperties.class)
@ConditionalOnProperty(prefix="onno.import",
name="enabled",
havingValue="true",
matchIfMissing=true)
public class OnnoImportAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncatalogCsvImportService(org.jdbi.v3.core.Jdbi jdbi, CatalogCommandService catalogCommandService, OnnoImportProperties properties) catalogImportController(CatalogQueryService catalogQueryService, DocumentQueryService documentQueryService, UiAccessService access, CatalogCsvImportService catalogImports, DocumentCsvImportService documentImports, OnnoImportProperties properties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) documentCsvImportService(org.jdbi.v3.core.Jdbi jdbi, DocumentCommandService documentCommandService, OnnoImportProperties properties)
-
Constructor Details
-
OnnoImportAutoConfiguration
public OnnoImportAutoConfiguration()
-
-
Method Details
-
catalogCsvImportService
@Bean public CatalogCsvImportService catalogCsvImportService(org.jdbi.v3.core.Jdbi jdbi, CatalogCommandService catalogCommandService, OnnoImportProperties properties) -
documentCsvImportService
@Bean public DocumentCsvImportService documentCsvImportService(org.jdbi.v3.core.Jdbi jdbi, DocumentCommandService documentCommandService, OnnoImportProperties properties) -
catalogImportController
@Bean public CatalogImportController catalogImportController(CatalogQueryService catalogQueryService, DocumentQueryService documentQueryService, UiAccessService access, CatalogCsvImportService catalogImports, DocumentCsvImportService documentImports, OnnoImportProperties properties, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-