Revision 3f8e87ed
Added by Katja Luther almost 10 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientClassificationService.java | ||
---|---|---|
21 | 21 |
import org.hibernate.envers.query.criteria.AuditCriterion; |
22 | 22 |
|
23 | 23 |
import eu.etaxonomy.cdm.api.service.IClassificationService; |
24 |
import eu.etaxonomy.cdm.api.service.config.DeleteConfiguratorBase; |
|
24 | 25 |
import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator; |
25 | 26 |
import eu.etaxonomy.cdm.api.service.exception.ReferencedObjectUndeletableException; |
26 | 27 |
import eu.etaxonomy.cdm.api.service.pager.Pager; |
... | ... | |
299 | 300 |
* @see eu.etaxonomy.cdm.api.service.IService#delete(eu.etaxonomy.cdm.model.common.ICdmBase) |
300 | 301 |
*/ |
301 | 302 |
@Override |
302 |
public UUID delete(Classification persistentObject) throws ReferencedObjectUndeletableException{
|
|
303 |
public String delete(Classification persistentObject) {
|
|
303 | 304 |
return defaultClassificationService.delete(persistentObject); |
304 | 305 |
} |
305 | 306 |
|
... | ... | |
914 | 915 |
return defaultClassificationService.listChildNodesOfTaxon(taxonUuid, classificationUuid, pageSize, pageIndex, propertyPaths); |
915 | 916 |
} |
916 | 917 |
|
918 |
@Override |
|
919 |
public List<String> isDeletable(Classification object, |
|
920 |
DeleteConfiguratorBase config) { |
|
921 |
// TODO Auto-generated method stub |
|
922 |
return null; |
|
923 |
} |
|
924 |
|
|
917 | 925 |
|
918 | 926 |
|
919 | 927 |
} |
Also available in: Unified diff
adding a taxon bulk editor and changes because the delete methods does not throw exceptions anymore