Revision 70e9fc0d
Added by Andreas Kohlbecker about 3 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java | ||
---|---|---|
609 | 609 |
} |
610 | 610 |
} |
611 | 611 |
if(selectedTaxon!=null){ |
612 |
Collection<SpecimenOrObservationBase> fieldUnits = CdmStore.getService(IOccurrenceService.class).listFieldUnitsByAssociatedTaxon(selectedTaxon, null, null);
|
|
612 |
Collection<SpecimenOrObservationBase> fieldUnits = CdmStore.getService(IOccurrenceService.class).listRootUnitsByAssociatedTaxon(FieldUnit.class, selectedTaxon, null, null);
|
|
613 | 613 |
Collection<UUID> uuids = new HashSet<>(); |
614 | 614 |
for (SpecimenOrObservationBase<?> specimenOrObservationBase : fieldUnits) { |
615 | 615 |
uuids.add(specimenOrObservationBase.getUuid()); |
Also available in: Unified diff
ref #9395 adapting services and web-services to return all root units - adapting taxeditor