Interface XmlImportService


public interface XmlImportService
  • Method Summary

    Modifier and Type
    Method
    Description
    run(NuclosFile importFile, boolean isTransactional, Class<? extends XmlImportStructureDefinition>... structureDefClasses)
    This method executes an XML import process by which the content of a NuclosFile is parsed using the given XML structure definitions and stored in the database afterwards.
  • Method Details

    • run

      ImportResult run(NuclosFile importFile, boolean isTransactional, Class<? extends XmlImportStructureDefinition>... structureDefClasses) throws BusinessException
      This method executes an XML import process by which the content of a NuclosFile is parsed using the given XML structure definitions and stored in the database afterwards. The import can be handled as one atomic transaction with a complete rollback for one occurring error by setting argument 'isTransactional' to true
      Parameters:
      importFile -
      isTransactional -
      structureDefClasses -
      Returns:
      ImportResult
      Throws:
      BusinessException