Class ImportManager


  • public class ImportManager
    extends java.lang.Object
    • Constructor Detail

      • ImportManager

        public ImportManager​(EntityManager entityManager,
                             MigrationManager migrationManager)
                      throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • importAll

        public ImportResult importAll​(ImportConfiguration importConfig)
                               throws java.lang.Exception
        Import entities included in provided file
        Parameters:
        importConfig - import config object with all required details (source file, enricher...)
        Returns:
        the result of the import
        Throws:
        java.lang.Exception