Project

General

Profile

Revision e00917d5

IDe00917d5fba9337322e61573860bca52e011afcf
Parent ab71093a
Child 794f1010, b3f2ffb6

Added by Patrick Plitzner almost 2 years ago

ref #7367 Use TermDeletionConfigurator in term editor

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/operation/DeleteTermBaseOperation.java
18 18
import eu.etaxonomy.cdm.api.service.DeleteResult;
19 19
import eu.etaxonomy.cdm.api.service.ITermService;
20 20
import eu.etaxonomy.cdm.api.service.IVocabularyService;
21
import eu.etaxonomy.cdm.api.service.config.TermDeletionConfigurator;
21 22
import eu.etaxonomy.cdm.persistence.dto.AbstractTermDto;
22 23
import eu.etaxonomy.cdm.persistence.dto.TermDto;
23 24
import eu.etaxonomy.cdm.persistence.dto.TermVocabularyDto;
......
62 63
			}
63 64

  
64 65
		} else if (termBase instanceof TermDto) {
65
			DeleteResult result =	CdmStore.getService(ITermService.class).delete(termBase.getUuid());
66
			DeleteResult result =	CdmStore.getService(ITermService.class).delete(termBase.getUuid(),
67
			        new TermDeletionConfigurator());
66 68
			if (!result.isOk()){
67 69
			    return showErrorMessage(result);
68 70
            }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)