Revision 37c7b75c
Added by Andreas Müller over 2 years ago
app-import/src/main/java/eu/etaxonomy/cdm/app/cuba/CubaActivator.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
package eu.etaxonomy.cdm.app.cuba; |
11 | 11 |
|
12 |
import eu.etaxonomy.cdm.common.URI; |
|
13 | 12 |
import java.util.UUID; |
14 | 13 |
|
15 | 14 |
import org.apache.log4j.Logger; |
... | ... | |
18 | 17 |
import eu.etaxonomy.cdm.api.application.ICdmRepository; |
19 | 18 |
import eu.etaxonomy.cdm.api.service.ITermService; |
20 | 19 |
import eu.etaxonomy.cdm.app.common.CdmDestinations; |
20 |
import eu.etaxonomy.cdm.common.URI; |
|
21 | 21 |
import eu.etaxonomy.cdm.database.DbSchemaValidation; |
22 | 22 |
import eu.etaxonomy.cdm.database.ICdmDataSource; |
23 | 23 |
import eu.etaxonomy.cdm.io.common.CdmDefaultImport; |
... | ... | |
211 | 211 |
|
212 | 212 |
if (doVocabularies){ |
213 | 213 |
TermTree<Feature> tree = makeFeatureNodes(myImport.getCdmAppController().getTermService()); |
214 |
myImport.getCdmAppController().getFeatureTreeService().saveOrUpdate(tree);
|
|
214 |
myImport.getCdmAppController().getTermTreeService().saveOrUpdate(tree);
|
|
215 | 215 |
this.doVocabularies = false; |
216 | 216 |
} |
217 | 217 |
System.out.println("End import from ("+ source.toString() + ")..."); |
Also available in: Unified diff
cleanup and remove usage of feature tree service