Revision 97e10b7c
Added by Katja Luther over 10 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/ReferenceEditorInput.java | ||
---|---|---|
15 | 15 |
|
16 | 16 |
import eu.etaxonomy.cdm.api.service.IReferenceService; |
17 | 17 |
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; |
18 |
import eu.etaxonomy.cdm.api.service.exception.ReferencedObjectUndeletableException; |
|
18 | 19 |
import eu.etaxonomy.cdm.model.common.MarkerType; |
19 | 20 |
import eu.etaxonomy.cdm.model.reference.Reference; |
20 | 21 |
import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator; |
... | ... | |
126 | 127 |
return CdmStore.getService(IReferenceService.class).load(entityUuid, propertyPaths); |
127 | 128 |
} |
128 | 129 |
|
129 |
/** {@inheritDoc} */ |
|
130 |
public boolean delete(Reference entity) { |
|
130 |
/** {@inheritDoc} |
|
131 |
* @throws ReferencedObjectUndeletableException */ |
|
132 |
public boolean delete(Reference entity) throws ReferencedObjectUndeletableException { |
|
131 | 133 |
return CdmStore.getService(IReferenceService.class).delete(entity) != null; |
132 | 134 |
} |
133 | 135 |
|
Also available in: Unified diff
minor