Project

General

Profile

« Previous | Next » 

Revision 94264387

Added by Patrick Plitzner almost 4 years ago

ref #7597 Adapt to refactored service method

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrixBottomToolbar.java
149 149
                    }
150 150
                    taxonUuid = taxon.getUuid();
151 151
                }
152
                UpdateResult result = CdmStore.getService(IDescriptionService.class).aggregateDescription(taxonUuid, null, matrix.getDescriptiveDataSet().getUuid());
152
                List<UUID> descriptionUuids = new ArrayList<>();
153
                matrix.getDescriptiveDataSet().getDescriptions().forEach(desc->descriptionUuids.add(desc.getUuid()));
154
                UpdateResult result = CdmStore.getService(IDescriptionService.class).aggregateDescription(taxonUuid, descriptionUuids, matrix.getDescriptiveDataSet().getLabel());
153 155
                matrix.addUpdateResult(result);
154 156
                matrix.setDirty();
155 157

  

Also available in: Unified diff