Revision f2ac0034
Added by Katja Luther almost 4 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrixPart.java | ||
---|---|---|
189 | 189 |
List<DescriptionBase> descriptions = matrix.getRowsToSave().stream() |
190 | 190 |
.map(row->row.getDescription()) |
191 | 191 |
.collect(Collectors.toList()); |
192 |
matrix.addSpecimensToDescriptiveDataSet(); |
|
192 | 193 |
CdmStore.getService(IDescriptiveDataSetService.class).removeDescriptions(matrix.getDescriptionsToDelete(), matrix.getDescriptiveDataSet().getUuid()); |
193 |
CdmStore.getService(IDescriptionService.class).merge(descriptions); |
|
194 | 194 |
|
195 |
CdmStore.getService(IDescriptionService.class).merge(descriptions); |
|
195 | 196 |
matrix.getRowsToSave().clear(); |
196 |
|
|
197 | 197 |
conversation.commit(); |
198 | 198 |
dirty.setDirty(false); |
199 | 199 |
} |
Also available in: Unified diff
ref #8785: move add and delete specimen to menu and operations not saved directly but when editor is saved