Revision 3f8e87ed
Added by Katja Luther almost 10 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientNameService.java | ||
---|---|---|
24 | 24 |
import org.hibernate.envers.query.criteria.AuditCriterion; |
25 | 25 |
|
26 | 26 |
import eu.etaxonomy.cdm.api.service.INameService; |
27 |
import eu.etaxonomy.cdm.api.service.config.DeleteConfiguratorBase; |
|
27 | 28 |
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; |
28 | 29 |
import eu.etaxonomy.cdm.api.service.config.NameDeletionConfigurator; |
29 | 30 |
import eu.etaxonomy.cdm.api.service.exception.ReferencedObjectUndeletableException; |
... | ... | |
218 | 219 |
* @see eu.etaxonomy.cdm.api.service.INameService#delete(eu.etaxonomy.cdm.model.name.TaxonNameBase, eu.etaxonomy.cdm.api.service.config.NameDeletionConfigurator) |
219 | 220 |
*/ |
220 | 221 |
@Override |
221 |
public UUID delete(TaxonNameBase name, NameDeletionConfigurator config) throws ReferencedObjectUndeletableException {
|
|
222 |
public String delete(TaxonNameBase name, NameDeletionConfigurator config) {
|
|
222 | 223 |
return defaultNameService.delete(name, config); |
223 | 224 |
} |
224 | 225 |
|
... | ... | |
255 | 256 |
* @see eu.etaxonomy.cdm.api.service.IService#delete(eu.etaxonomy.cdm.model.common.ICdmBase) |
256 | 257 |
*/ |
257 | 258 |
@Override |
258 |
public UUID delete(TaxonNameBase persistentObject) throws ReferencedObjectUndeletableException{
|
|
259 |
public String delete(TaxonNameBase persistentObject) {
|
|
259 | 260 |
return defaultNameService.delete(persistentObject); |
260 | 261 |
} |
261 | 262 |
|
... | ... | |
1190 | 1191 |
return defaultNameService.getTaggedName(uuid); |
1191 | 1192 |
} |
1192 | 1193 |
|
1194 |
@Override |
|
1195 |
public List<String> isDeletable(TaxonNameBase object, |
|
1196 |
DeleteConfiguratorBase config) { |
|
1197 |
// TODO Auto-generated method stub |
|
1198 |
return null; |
|
1199 |
} |
|
1200 |
|
|
1193 | 1201 |
|
1194 | 1202 |
} |
Also available in: Unified diff
adding a taxon bulk editor and changes because the delete methods does not throw exceptions anymore