Revision d31115e0
Added by Niels Hoffmann over 13 years ago
taxeditor-navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNavigator.java | ||
---|---|---|
188 | 188 |
if(string.length() == 0) return null; |
189 | 189 |
|
190 | 190 |
for (String uuid : string.split(" ")) { |
191 |
CdmBase cdmBaseObject = CdmStore.getTaxonTreeService().getTaxonNodeByUuid(UUID.fromString(uuid));
|
|
191 |
CdmBase cdmBaseObject = CdmStore.getClassificationService().getTaxonNodeByUuid(UUID.fromString(uuid));
|
|
192 | 192 |
if (cdmBaseObject == null) { |
193 | 193 |
// is this a tree uuid? |
194 |
cdmBaseObject = CdmStore.getTaxonTreeService().getTaxonomicTreeByUuid(UUID.fromString(uuid));
|
|
194 |
cdmBaseObject = CdmStore.getClassificationService().getClassificationByUuid(UUID.fromString(uuid));
|
|
195 | 195 |
|
196 | 196 |
if(cdmBaseObject == null) return null; |
197 | 197 |
} |
Also available in: Unified diff
added a readme file