#5350 : Use newly added getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification...
authorCherian Mathew <c.mathew@bgbm.org>
Mon, 26 Oct 2015 15:00:37 +0000 (16:00 +0100)
committerCherian Mathew <c.mathew@bgbm.org>
Mon, 26 Oct 2015 15:01:13 +0000 (16:01 +0100)
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientClassificationService.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/TaxonNodeSelectionDialog.java

index f9051e871d833b20795f36ed3fd5557b6fba29d0..624e98dc2adbe272bb4e89830764668f25889afa 100644 (file)
@@ -975,5 +975,14 @@ public class TransientClassificationService implements IClassificationService {
         return defaultService.loadWithUpdate(arg0);
     }
 
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    public List<UuidAndTitleCache<TaxonNode>> getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(UUID arg0,
+            List<UUID> arg1) {
+        return defaultService.getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(arg0, arg1);
+    }
+
 
 }
index 821fc8c5bd8377e720cf0f043061a73f9a1e1d0d..35239371ca5ab3ccaa73602f62ed12fe85a1c447 100644 (file)
@@ -143,7 +143,7 @@ public class TaxonNodeSelectionDialog extends AbstractFilteredCdmResourceSelecti
                        }
                }
 
-               model = CdmStore.getService(IClassificationService.class).getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(selectedClassification, excludeTaxa);
+               model = CdmStore.getService(IClassificationService.class).getTaxonNodeUuidAndTitleCacheOfAcceptedTaxaByClassification(selectedClassification.getUuid(), excludeTaxa);
        }
 
        /** {@inheritDoc} */