Revision 401fe405
Added by Andreas Müller over 13 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/berlinModelImport/SalvadorActivator.java | ||
---|---|---|
52 | 52 |
static final Object[] featureKeyList = new Integer[]{302, 303, 306, 307, 309, 310, 311, 312, 350, 1500, 1800, 1900, 1950, 1980, 2000, 10299}; |
53 | 53 |
static boolean isIgnore0AuthorTeam = true; //special case for Salvador. |
54 | 54 |
static boolean doExport = false; |
55 |
static boolean useTaxonomicTree = true;
|
|
55 |
static boolean useClassification = true;
|
|
56 | 56 |
|
57 | 57 |
//check - import |
58 | 58 |
static final CHECK check = CHECK.CHECK_AND_IMPORT; |
... | ... | |
121 | 121 |
|
122 | 122 |
BerlinModelImportConfigurator config = BerlinModelImportConfigurator.NewInstance(source, destination); |
123 | 123 |
|
124 |
config.setTaxonomicTreeUuid(treeUuid);
|
|
124 |
config.setClassificationUuid(treeUuid);
|
|
125 | 125 |
config.setSecUuid(secUuid); |
126 | 126 |
config.setSourceSecId(sourceSecId); |
127 | 127 |
config.setNomenclaturalCode(nomenclaturalCode); |
... | ... | |
149 | 149 |
config.setCheck(check); |
150 | 150 |
config.setEditor(editor); |
151 | 151 |
config.setIgnore0AuthorTeam(isIgnore0AuthorTeam); |
152 |
config.setUseTaxonomicTree(useTaxonomicTree);
|
|
152 |
config.setUseClassification(useClassification);
|
|
153 | 153 |
|
154 | 154 |
config.setNamerelationshipTypeMethod(getHandleNameRelationshipTypeMethod()); |
155 | 155 |
config.setUserTransformationMethod(getTransformUsernameMethod()); |
Also available in: Unified diff
merge cdmlib-app-3.0.2 to trunk (app-import)