Project

General

Profile

Revision 87e04225

ID87e042253eb4fecf5c2c891d0438928c7a45727f
Parent e0bbe0fa
Child 7ecaccda

Added by Patrick Plitzner about 3 years ago

ref #7674 Adjust to service layer change

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrixBottomToolbar.java
24 24
import org.eclipse.swt.widgets.Button;
25 25
import org.eclipse.swt.widgets.Composite;
26 26

  
27
import eu.etaxonomy.cdm.api.service.IDescriptionService;
28 27
import eu.etaxonomy.cdm.api.service.IDescriptiveDataSetService;
29 28
import eu.etaxonomy.cdm.api.service.ITaxonNodeService;
30 29
import eu.etaxonomy.cdm.api.service.UpdateResult;
......
163 162
                }
164 163
                List<UUID> descriptionUuids = new ArrayList<>();
165 164
                matrix.getDescriptiveDataSet().getDescriptions().forEach(desc->descriptionUuids.add(desc.getUuid()));
166
                UpdateResult result = CdmStore.getService(IDescriptionService.class).aggregateDescription(taxonUuid, descriptionUuids, matrix.getDescriptiveDataSet().getLabel(), matrix.getDescriptiveDataSet().getUuid());
165
                UpdateResult result = CdmStore.getService(IDescriptiveDataSetService.class).aggregateDescription(taxonUuid, descriptionUuids, matrix.getDescriptiveDataSet().getLabel(), matrix.getDescriptiveDataSet().getUuid());
167 166
                TaxonDescription taxonDescription = (TaxonDescription) result.getCdmEntity();
168 167
                TaxonRowWrapperDTO taxonRowWrapper = CdmStore.getService(IDescriptiveDataSetService.class).createTaxonRowWrapper(taxonDescription, matrix.getDescriptiveDataSet());
169 168
                matrix.getDescriptions().add(taxonRowWrapper);

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)