public interface ImportService
Modifier and Type | Method and Description |
---|---|
ImportResult |
run(NuclosFile importFile,
boolean isTransactional,
java.lang.Class<? extends ImportStructureDefinition>... structureDefClasses)
This method executes an import process by which the content of a
NuclosFile is parsed using the given structure definitions
and stored in the database afterwards. |
ImportResult run(NuclosFile importFile, boolean isTransactional, java.lang.Class<? extends ImportStructureDefinition>... structureDefClasses) throws BusinessException
NuclosFile
is parsed using the given 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 trueimportFile
- isTransactional
- structureDefClasses
- ImportResult
BusinessException
Copyright © 2024. All rights reserved.