Project

General

Profile

« Previous | Next » 

Revision a6fc1476

Added by Patrick Plitzner over 4 years ago

ref #6932 Retrieve missing taxon service for saving in bulk editor

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/CdmStore.java
36 36
import eu.etaxonomy.cdm.api.service.IPolytomousKeyService;
37 37
import eu.etaxonomy.cdm.api.service.IReferenceService;
38 38
import eu.etaxonomy.cdm.api.service.IService;
39
import eu.etaxonomy.cdm.api.service.ITaxonService;
39 40
import eu.etaxonomy.cdm.api.service.IUserService;
40 41
import eu.etaxonomy.cdm.api.service.molecular.IAmplificationService;
41 42
import eu.etaxonomy.cdm.api.service.molecular.IPrimerService;
......
52 53
import eu.etaxonomy.cdm.model.occurrence.Collection;
53 54
import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
54 55
import eu.etaxonomy.cdm.model.reference.Reference;
56
import eu.etaxonomy.cdm.model.taxon.TaxonBase;
55 57
import eu.etaxonomy.cdm.persistence.hibernate.permission.CRUD;
56 58
import eu.etaxonomy.cdm.persistence.hibernate.permission.ICdmPermissionEvaluator;
57 59
import eu.etaxonomy.cdm.persistence.hibernate.permission.Role;
......
643 645
            else if (cdmBase instanceof TaxonName) {
644 646
                service = (IService<T>) getService(INameService.class);
645 647
            }
648
            else if (cdmBase instanceof TaxonBase) {
649
                service = (IService<T>) getService(ITaxonService.class);
650
            }
646 651
            else if (cdmBase instanceof SpecimenOrObservationBase) {
647 652
                service = (IService<T>) getService(IOccurrenceService.class);
648 653
            }

Also available in: Unified diff