@Component public class NormalExplicitImport extends TaxonExcelImportBase
ExcelTaxonOrSpecimenImportBase.KeyValue, ExcelTaxonOrSpecimenImportBase.SourceType
CdmImportBase.TermMatchMode
Modifier and Type | Field and Description |
---|---|
static java.util.Set<java.lang.String> |
nameStatusMarkers |
static java.util.Set<java.lang.String> |
synonymMarkers |
static java.util.UUID |
uuidRefExtension |
static java.util.Set<java.lang.String> |
validMarkers |
ACCEPTED_ID_COLUMN, AUTHOR_COLUMN, AUTHORS_COLUMN, AUTHORSHIP_COLUMN, BASIONYM_AUTHOR_COLUMN, BASIONYM_COLUMN, CITATION_TYPE_COLUMN, COLLATION_COLUMN, COUNTRY_COLUMN, DATE_COLUMN, DISTRIBUTION_COLUMN, FAMILY_COLUMN, FULLNAME_COLUMN, GENUS_COLUMN, HYBRID_COLUMN, HYBRID_GENUS_COLUMN, ID_COLUMN, IMAGE_COLUMN, INFRA_FAMILY_COLUMN, INFRA_GENUS_COLUMN, INFRA_SPECIES_COLUMN, INFRA_SPECIES_EPITHET_COLUMN, INFRA_SPECIES_RANK_COLUMN, IPNI_ID_COLUMN, LANGUAGE_COLUMN, NAMESTATUS_COLUMN, NOMENCLATURAL_STATUS_COLUMN, NOMENCLATURAL_SYNONYM_COLUMN, PAGE_COLUMN, PARENT_ID_COLUMN, PROTOLOGUE_COLUMN, PUBLICATION_COLUMN, PUBLICATION_YEAR_COLUMN, PUBLISHING_AUTHOR_COLUMN, RANK_COLUMN, REFERENCE_COLUMN, REMARKS_COLUMN, REPLACED_SYNONYM_COLUMN, SOURCE_COLUMN, SOURCE_ID_COLUMN, SPECIES_COLUMN, SYNONYM_COLUMN, TAXONOMIC_STATUS, TDWG_COLUMN, VERNACULAR_NAME_COLUMN, VERSION_COLUMN, YEAR_COLUMN
CDM_UUID_COLUMN, FULL_NAME_COLUMN, IGNORE_COLUMN, INFRASPECIFIC_EPITHET_COLUMN, LANGUAGE, SPECIFIC_EPITHET_COLUMN, TAXON_UUID_COLUMN
SCIENTIFIC_NAME_COLUMN
CREATE, IMAGE_GALLERY, READ_MEDIA_DATA, uuidUserDefinedAnnotationTypeVocabulary, uuidUserDefinedExtensionTypeVocabulary, uuidUserDefinedFeatureVocabulary, uuidUserDefinedIdentifierTypeVocabulary, uuidUserDefinedKindOfUnitVocabulary, uuidUserDefinedLanguageVocabulary, uuidUserDefinedMarkerTypeVocabulary, uuidUserDefinedMeasurementUnitVocabulary, uuidUserDefinedModifierVocabulary, uuidUserDefinedNamedAreaLevelVocabulary, uuidUserDefinedNamedAreaVocabulary, uuidUserDefinedNomenclaturalStatusTypeVocabulary, uuidUserDefinedPresenceAbsenceVocabulary, uuidUserDefinedRankVocabulary, uuidUserDefinedReferenceSystemVocabulary, uuidUserDefinedStateVocabulary, uuidUserDefinedStatisticalMeasureVocabulary, uuidUserDefinedTaxonRelationshipTypeVocabulary
INCLUDE_UNPUBLISHED, ioName, NO_UNPUBLISHED
applicationContext
FEATURE_STORE, NOMREF_STORE, REFERENCE_STORE, SPECIMEN_STORE, TAXON_STORE, TAXONNAME_STORE, TEAM_STORE
Constructor and Description |
---|
NormalExplicitImport() |
Modifier and Type | Method and Description |
---|---|
protected void |
analyzeSingleValue(ExcelTaxonOrSpecimenImportBase.KeyValue keyValue,
TaxonExcelImportState state)
Analyzes a single record value and fills the row instance accordingly.
|
protected NormalExplicitRow |
createDataHolderRow() |
protected boolean |
doCheck(TaxonExcelImportState state) |
protected void |
firstPass(TaxonExcelImportState state)
Create base taxa and add all information attached to it's name.
|
protected boolean |
isIgnore(TaxonExcelImportState state)
Returns true if this (IO-)class should be ignored during the import/export process.
|
protected void |
secondPass(TaxonExcelImportState state)
Stores parent-child, synonym and common name relationships.
|
analyzeFeatures, analyzeRecord, fireWarningEvent, handleExtensions, isInteger, makeKeyValue
doInvoke, floatString2IntStringValue, floatString2IntValue, getConfigurator, getSourceReference, getTaxonByCdmId, getTimePeriod, getValue, getWorksheetName, needsNomenclaturalCode, verifyName
addOriginalSource, addOriginalSource, doubleFromString, fillMissingEpithets, fillMissingEpithetsForTaxa, getAcceptedTaxon, getAnnotationType, getByteArray, getDefaultResult, getDefaultTaxonDescription, getExtensionType, getExtensionType, getFeature, getFeature, getFeaturePlaceholder, getIdentiferType, getImageMedia, getImageMedia, getImageMedia, getKindOfUnit, getLanguage, getLanguage, getMarkedTaxonDescription, getMarkerType, getMarkerType, getMarkerType, getMarkerType, getMeasurementUnit, getModifier, getNamedArea, getNamedArea, getNamedArea, getNamedAreaLevel, getNoDataResult, getNomenclaturalStatusType, getPresenceTerm, getPresenceTerm, getRank, getReferenceSystem, getSpecimenDescription, getSpecimenDescription, getStateTerm, getStateTerm, getStatisticalMeasure, getTaxonDescription, getTaxonDescription, getTaxonNameDescription, getTaxonNameDescription, getTaxonRelationshipType, getVocabulary, intFromString, makeTree, makeTreeMemSave, NB, nullSafeBoolean, nullSafeDouble, nullSafeFloat, nullSafeInt, parseAuthorString, saveNameRelations
addObserver, addObservers, check, commitTransaction, countObservers, countSteps, fire, fireProgressEvent, fireWarningEvent, fireWarningEvent, getInstance, getObservers, getSuccessString, invoke, isBlank, isNotBlank, removeObserver, removeObservers, rollbackTransaction, startTransaction, startTransaction, updateProgress, updateProgress, warnProgress
authenticate, clearSession, getAgentService, getAmplificationService, getAnnotationService, getAuthenticationManager, getBean, getClassificationService, getCollectionService, getCommonService, getDatabaseService, getDescriptionService, getDescriptiveDataSetService, getEntityConstraintViolationService, getEntityValidationService, getEventBaseService, getFeatureNodeService, getFeatureTreeService, getGrantedAuthorityService, getGroupService, getIdentificationKeyService, getLocationService, getLongRunningTasksService, getMediaService, getMetadataService, getNameService, getOccurrenceService, getPermissionEvaluator, getPolytomousKeyNodeService, getPolytomousKeyService, getPreferenceService, getPrimerService, getProgressMonitorService, getReferenceService, getRegistrationService, getRightsService, getSequenceService, getSession, getSessionFactory, getTaxonNodeService, getTaxonService, getTermNodeService, getTermService, getTermTreeService, getTransactionManager, getUserService, getVocabularyService, NewConversation, setApplicationContext, setDataSource, setSessionFactory, setTransactionManager
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
invoke
check, countSteps, fire, updateProgress, updateProgress, warnProgress
addObserver, addObservers, countObservers, getObservers, removeObserver, removeObservers
public static java.util.Set<java.lang.String> validMarkers
public static java.util.Set<java.lang.String> synonymMarkers
public static java.util.Set<java.lang.String> nameStatusMarkers
public static final java.util.UUID uuidRefExtension
protected void analyzeSingleValue(ExcelTaxonOrSpecimenImportBase.KeyValue keyValue, TaxonExcelImportState state)
ExcelTaxonOrSpecimenImportBase
analyzeSingleValue
in class ExcelTaxonOrSpecimenImportBase<TaxonExcelImportState,ExcelImportConfiguratorBase,ExcelRowBase>
protected void firstPass(TaxonExcelImportState state)
firstPass
in class ExcelImportBase<TaxonExcelImportState,ExcelImportConfiguratorBase,ExcelRowBase>
protected void secondPass(TaxonExcelImportState state)
secondPass
in class ExcelImportBase<TaxonExcelImportState,ExcelImportConfiguratorBase,ExcelRowBase>
protected NormalExplicitRow createDataHolderRow()
createDataHolderRow
in class ExcelTaxonOrSpecimenImportBase<TaxonExcelImportState,ExcelImportConfiguratorBase,ExcelRowBase>
protected boolean doCheck(TaxonExcelImportState state)
doCheck
in class ExcelImportBase<TaxonExcelImportState,ExcelImportConfiguratorBase,ExcelRowBase>
protected boolean isIgnore(TaxonExcelImportState state)
CdmIoBase
isIgnore
in class CdmIoBase<TaxonExcelImportState,ImportResult>
Copyright © 2007-2020 EDIT. All Rights Reserved.