use of com.darwino.domino.napi.wrap.NSFDXLImporter in project org.openntf.nsfodp by OpenNTF.
the class DarwinoNotesAPI method createDXLImporter.
@Override
public NDXLImporter createDXLImporter() {
try {
NSFDXLImporter importer = session.createDXLImporter();
importer.setDesignImportOption(DXLIMPORTOPTION.CREATE);
importer.setACLImportOption(DXLIMPORTOPTION.REPLACE_ELSE_IGNORE);
importer.setReplaceDBProperties(true);
importer.setReplicaRequiredForReplaceOrUpdate(false);
return new DarwinoNDXLImporter(importer);
} catch (DominoException e) {
throw new NDominoException(e.getStatus(), e);
}
}
Aggregations