Package org.ctan.site.services.catalogue
Class CatalogueImportService
java.lang.Object
org.ctan.site.services.catalogue.CatalogueImportService
This abstract base class provides the fundamentals for the catalogue imports
from ML files.
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogueImportService(@NonNull CtanConfiguration.CatalogueConfig config, @NonNull AuthorStore authorStore, @NonNull TopicStore topicStore, @NonNull PkgStore pkgStore, @NonNull LicenseStore licenseStore, @NonNull IndexingService indexingService) This is the constructor forCatalogueImportService. -
Method Summary
Modifier and TypeMethodDescriptionvoidupdate()The methodupdateprovides means to read the Catalogue from XML files into the database.
-
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 forCatalogueImportService.- Parameters:
config- the configurationauthorStore- the author storetopicStore- the topic storepkgStore- the package storelicenseStore- the license storeindexingService- the indexing service
-
-
Method Details
-
update
The methodupdateprovides means to read the Catalogue from XML files into the database.- Throws:
IOException- in case of an I/O error
-