Project

General

Profile

Revision 1301eb40

ID1301eb405957ccc0856e045c6b86c1d3e3065d1a
Parent 754a3c47
Child b8dc9fef

Added by Andreas Müller over 3 years ago

ref #3560 implement publish in taxon service by name search

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/CdmIoBase.java
29 29
import eu.etaxonomy.cdm.io.common.events.IoProblemEvent;
30 30
import eu.etaxonomy.cdm.io.common.events.IoProgressEvent;
31 31
import eu.etaxonomy.cdm.model.common.CdmBase;
32
import eu.etaxonomy.cdm.persistence.dao.hibernate.common.DaoBase;
32 33

  
33 34
/**
34 35
 * @author a.mueller
......
44 45
    private final Set<IIoObserver> observers = new HashSet<>();
45 46
    protected String ioName = null;
46 47

  
48
    public static final boolean NO_UNPUBLISHED = DaoBase.NO_UNPUBLISHED;
49
    public static final boolean INCLUDE_UNPUBLISHED = DaoBase.INCLUDE_UNPUBLISHED;
47 50

  
48 51
    protected CdmIoBase() {
49 52
        super();
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/specimen/excel/in/SpecimenSythesysExcelImport.java
432 432
                        }
433 433
                    }
434 434
                    else{
435
                        c = getTaxonService().searchByName(scientificName, true, ref);
435
                        c = getTaxonService().searchByName(scientificName, INCLUDE_UNPUBLISHED, ref);
436 436
                        for (TaxonBase<?> b : c) {
437 437
                            taxon = (Taxon) b;
438 438
                        }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)