Revision 7dce04a4
Added by Katja Luther over 7 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/OccurrenceEditorInput.java | ||
---|---|---|
15 | 15 |
import java.util.UUID; |
16 | 16 |
|
17 | 17 |
import eu.etaxonomy.cdm.api.service.IOccurrenceService; |
18 |
import eu.etaxonomy.cdm.api.service.config.DeleteConfiguratorBase; |
|
18 | 19 |
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; |
19 | 20 |
import eu.etaxonomy.cdm.api.service.exception.ReferencedObjectUndeletableException; |
20 | 21 |
import eu.etaxonomy.cdm.hibernate.HibernateProxyHelper; |
... | ... | |
129 | 130 |
/** {@inheritDoc} |
130 | 131 |
* @throws ReferencedObjectUndeletableException */ |
131 | 132 |
@Override |
132 |
public boolean delete(SpecimenOrObservationBase entity) throws ReferencedObjectUndeletableException { |
|
133 |
public boolean delete(SpecimenOrObservationBase entity, DeleteConfiguratorBase config ) throws ReferencedObjectUndeletableException {
|
|
133 | 134 |
return CdmStore.getService(IOccurrenceService.class).delete(entity) != null; |
134 | 135 |
} |
135 | 136 |
|
Also available in: Unified diff
fix #5692: adapt delete algorithm to annotatedLineEditor mechanisms