Class CatalogueImportService

java.lang.Object
org.ctan.site.services.catalogue.CatalogueImportService

public class CatalogueImportService extends Object
This abstract base class provides the fundamentals for the catalogue imports from ML files.
  • Constructor Details

    • CatalogueImportService

      public CatalogueImportService(@NonNull @NonNull CtanConfiguration.CatalogueConfig config, @NonNull @NonNull AuthorStore authorStore, @NonNull @NonNull TopicStore topicStore, @NonNull @NonNull PkgStore pkgStore, @NonNull @NonNull LicenseStore licenseStore, @NonNull @NonNull IndexingService indexingService)
      This is the constructor for CatalogueImportService.
      Parameters:
      config - the configuration
      authorStore - the author store
      topicStore - the topic store
      pkgStore - the package store
      licenseStore - the license store
      indexingService - the indexing service
  • Method Details

    • update

      public void update() throws IOException
      The method update provides means to read the Catalogue from XML files into the database.
      Throws:
      IOException - in case of an I/O error