Project

General

Profile

Revision 63ada120

ID63ada12031b6cc0e701d803bc268ff0c9b45d1ae
Parent 9c128421
Child 5f3e1fcb

Added by Patrick Plitzner about 2 years ago

ref #7597 Use aggregation config (recurse aggregation = true)

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/matrix/CharacterMatrixBottomToolbar.java
35 35
import eu.etaxonomy.cdm.api.service.IDescriptiveDataSetService;
36 36
import eu.etaxonomy.cdm.api.service.IPolytomousKeyService;
37 37
import eu.etaxonomy.cdm.api.service.UpdateResult;
38
import eu.etaxonomy.cdm.api.service.config.DescriptionAggregationConfiguration;
38 39
import eu.etaxonomy.cdm.api.service.config.IdentifiableServiceConfiguratorImpl;
39 40
import eu.etaxonomy.cdm.api.service.dto.RowWrapperDTO;
40 41
import eu.etaxonomy.cdm.api.service.dto.SpecimenRowWrapperDTO;
......
199 200
    }
200 201

  
201 202
    private void aggregatDescriptiveDataSet(UUID descriptiveDataSetUuid){
202
        UUID monitorUuid =  CdmApplicationState.getLongRunningTasksService().aggregateDescriptiveDataSet(descriptiveDataSetUuid);
203
        DescriptionAggregationConfiguration config = new DescriptionAggregationConfiguration();
204
        config.setRecursiveAggregation(true);
205
        UUID monitorUuid =  CdmApplicationState.getLongRunningTasksService().aggregateDescriptiveDataSet(descriptiveDataSetUuid, config);
203 206

  
204 207
        String jobLabel = "Aggregate Descriptive Data Set";
205 208
        Job job = Job.create(jobLabel, (ICoreRunnable) monitor -> {

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)