Project

General

Profile

« Previous | Next » 

Revision 7dce04a4

Added by Katja Luther over 7 years ago

fix #5692: adapt delete algorithm to annotatedLineEditor mechanisms

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/ReferenceEditorInput.java
14 14
import java.util.UUID;
15 15

  
16 16
import eu.etaxonomy.cdm.api.service.IReferenceService;
17
import eu.etaxonomy.cdm.api.service.config.DeleteConfiguratorBase;
17 18
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator;
18 19
import eu.etaxonomy.cdm.api.service.exception.ReferencedObjectUndeletableException;
19 20
import eu.etaxonomy.cdm.model.common.MarkerType;
......
132 133
	/** {@inheritDoc}
133 134
	 * @throws ReferencedObjectUndeletableException */
134 135
	@Override
135
    public boolean delete(Reference entity) throws ReferencedObjectUndeletableException {
136
		return CdmStore.getService(IReferenceService.class).delete(entity) != null;
136
    public boolean delete(Reference entity, DeleteConfiguratorBase config) throws ReferencedObjectUndeletableException {
137
		return CdmStore.getService(IReferenceService.class).delete(entity.getUuid()) != null;
137 138
	}
138 139

  
139 140
	/** {@inheritDoc} */

Also available in: Unified diff