Project

General

Profile

« Previous | Next » 

Revision 540b9682

Added by Andreas Müller almost 2 years ago

cleanup

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/CdmImportBase.java
19 19
import java.util.Set;
20 20
import java.util.UUID;
21 21

  
22
import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger;
22
import org.apache.logging.log4j.LogManager;
23
import org.apache.logging.log4j.Logger;
23 24

  
24 25
import eu.etaxonomy.cdm.api.application.ICdmRepository;
25 26
import eu.etaxonomy.cdm.api.service.pager.Pager;
......
628 629
	/**
629 630
	 * Returns a feature if it exists, null otherwise.
630 631
	 * @see #getFeature(ImportStateBase, UUID, String, String, String, TermVocabulary)
631
	 * @param state
632
	 * @param uuid
633
	 * @return
634 632
	 */
635 633
	protected Feature getFeature(STATE state, UUID uuid){
636 634
		return getFeature(state, uuid, null, null, null, null);
......
640 638
	 * Returns a feature for a given uuid by first checking if the uuid has already been used in this import, if not
641 639
	 * checking if the feature exists in the database, if not creating it anew (with vocabulary etc.).
642 640
	 * If label, text and labelAbbrev are all <code>null</code> no feature is created.
643
	 * @param state
644
	 * @param uuid
645
	 * @param label
646
	 * @param text
647
	 * @param labelAbbrev
648
	 * @return
649 641
	 */
650 642
	protected Feature getFeature(STATE state, UUID uuid, String label, String description, String labelAbbrev, TermVocabulary<Feature> voc){
651 643
		if (uuid == null){
......
675 667
     * checking if the uuid has already been used in this import, if not
676 668
     * checking if the status type exists in the database, if not creating it anew (with vocabulary etc.).
677 669
     * If label, text and labelAbbrev are all <code>null</code> no status type is created.
678
     * @param state
679
     * @param uuid
680
     * @param label
681
     * @param text
682
     * @param language
683
     * @param labelAbbrev
684
     * @return
685 670
     */
686 671
    protected NomenclaturalStatusType getNomenclaturalStatusType(STATE state, UUID uuid, String label,
687 672
            String description, String labelAbbrev, Language language, TermVocabulary<NomenclaturalStatusType> voc){

Also available in: Unified diff