public interface DxlImporter
Modifier and Type | Interface and Description |
---|---|
static class |
DxlImporter.DXLImportOption |
static class |
DxlImporter.DXLLogOption |
static class |
DxlImporter.XMLValidationOption |
boolean importErrorWasLogged()
DxlImporter.DXLImportOption getACLImportOption()
void setACLImportOption(DxlImporter.DXLImportOption option)
DxlImporter.DXLImportOption getDesignImportOption()
void setDesignImportOption(DxlImporter.DXLImportOption option)
DxlImporter.DXLImportOption getDocumentsImportOption()
void setDocumentsImportOption(DxlImporter.DXLImportOption option)
boolean isCreateFullTextIndex()
void setCreateFullTextIndex(boolean b)
boolean isReplaceDbProperties()
void setReplaceDbProperties(boolean b)
DxlImporter.XMLValidationOption getInputValidationOption()
void setInputValidationOption(DxlImporter.XMLValidationOption option)
boolean isReplicaRequiredForReplaceOrUpdate()
void setReplicaRequiredForReplaceOrUpdate(boolean b)
boolean isExitOnFirstFatalError()
void setExitOnFirstFatalError(boolean b)
DxlImporter.DXLLogOption getUnknownTokenLogOption()
void setUnknownTokenLogOption(DxlImporter.DXLLogOption option)
String getResultLogComment()
void setResultLogComment(String comment)
String getResultLog()
Optional<IDTable> getImportedNoteIds()
Optional
describing the IDs imported in the last operation,
or an empty one if no imports have been performeddefault void importDxl(String dxl, Database db) throws IOException
IOException
default void importDxl(Reader in, Database db) throws IOException
IOException
void importDxl(InputStream in, Database db) throws IOException
IOException
default void importDxlFromDBExporter(Database dbSource, DxlExporter exporter, Database dbTarget, OutputStream debugExportOut) throws IOException
IOException
default void importDxlFromACLExporter(Database dbSource, DxlExporter exporter, Database dbTarget, OutputStream debugExportOut) throws IOException
IOException
default void importDxlFromIDExporter(Database dbSource, Collection<Integer> ids, DxlExporter exporter, Database dbTarget, OutputStream debugExportOut) throws IOException
IOException
Copyright © 2019–2021 HCL. All rights reserved.