Revision 97e10b7c
Added by Katja Luther over 10 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/AgentEditorInput.java | ||
---|---|---|
13 | 13 |
import java.util.List; |
14 | 14 |
import java.util.UUID; |
15 | 15 |
|
16 |
import org.eclipse.core.commands.ExecutionException; |
|
17 |
|
|
16 | 18 |
import eu.etaxonomy.cdm.api.service.IAgentService; |
17 | 19 |
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; |
20 |
import eu.etaxonomy.cdm.api.service.exception.DataChangeNoRollbackException; |
|
21 |
import eu.etaxonomy.cdm.api.service.exception.ReferencedObjectUndeletableException; |
|
18 | 22 |
import eu.etaxonomy.cdm.model.agent.AgentBase; |
19 | 23 |
import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator; |
20 | 24 |
import eu.etaxonomy.taxeditor.bulkeditor.IBulkEditorSortProvider; |
... | ... | |
109 | 113 |
return CdmStore.getService(IAgentService.class).load(uuid, propertyPaths); |
110 | 114 |
} |
111 | 115 |
|
112 |
/** {@inheritDoc} */ |
|
113 |
public boolean delete(AgentBase entity) { |
|
114 |
return CdmStore.getService(IAgentService.class).delete(entity) != null; |
|
116 |
|
|
117 |
public boolean delete(AgentBase entity) throws ReferencedObjectUndeletableException { |
|
118 |
|
|
119 |
return CdmStore.getService(IAgentService.class).delete(entity) != null; |
|
120 |
|
|
115 | 121 |
} |
116 | 122 |
|
117 | 123 |
/** {@inheritDoc} */ |
Also available in: Unified diff
minor