@Override
protected void open(GatheringEvent entity, Shell shell, EPartService partService) {
Collection<UUID> specimenUuids = new ArrayList<UUID>();
- List<FieldUnit> fieldUnits = CdmStore.getService(IOccurrenceService.class).getFieldUnitsForGatheringEvent(entity.getUuid());
+ List<FieldUnit> fieldUnits = CdmStore.getService(IOccurrenceService.class).findFieldUnitsForGatheringEvent(entity.getUuid());
fieldUnits.forEach(fieldUnit->specimenUuids.add(fieldUnit.getUuid()));
DerivateViewEditorInput input = new DerivateViewEditorInput(specimenUuids);
EditorUtil.openSpecimenEditor(input, modelService, partService, application);