public abstract class ExcelTaxonOrSpecimenImportBase<STATE extends ExcelImportState<CONFIG,ROW>,CONFIG extends ExcelImportConfiguratorBase,ROW extends ExcelRowBase> extends ExcelImportBase<STATE,CONFIG,ROW>
Modifier and Type | Class and Description |
---|---|
protected class |
ExcelTaxonOrSpecimenImportBase.KeyValue
DataHolder class for all key and value information for a cell.
|
static class |
ExcelTaxonOrSpecimenImportBase.SourceType |
CdmImportBase.TermMatchMode
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CDM_UUID_COLUMN |
protected static java.lang.String |
FAMILY_COLUMN |
protected static java.lang.String |
FULL_NAME_COLUMN |
protected static java.lang.String |
GENUS_COLUMN |
protected static java.lang.String |
IGNORE_COLUMN |
protected static java.lang.String |
INFRASPECIFIC_EPITHET_COLUMN |
protected static java.lang.String |
LANGUAGE |
protected static java.lang.String |
RANK_COLUMN |
protected static java.lang.String |
SPECIFIC_EPITHET_COLUMN |
protected static java.lang.String |
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 |
---|
ExcelTaxonOrSpecimenImportBase() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
analyzeFeatures(STATE state,
ExcelTaxonOrSpecimenImportBase.KeyValue keyValue) |
protected void |
analyzeRecord(java.util.Map<java.lang.String,java.lang.String> record,
STATE state) |
protected abstract void |
analyzeSingleValue(ExcelTaxonOrSpecimenImportBase.KeyValue keyValue,
STATE state)
Analyzes a single record value and fills the row instance accordingly.
|
protected abstract ROW |
createDataHolderRow() |
protected void |
fireWarningEvent(java.lang.String message,
STATE state,
int severity) |
protected void |
handleExtensions(IdentifiableEntity<?> identifiable,
SpecimenRow row,
SpecimenCdmExcelImportState state) |
protected boolean |
isInteger(java.lang.String value) |
protected ExcelTaxonOrSpecimenImportBase.KeyValue |
makeKeyValue(java.util.Map<java.lang.String,java.lang.String> record,
java.lang.String originalKey,
STATE state) |
doCheck, doInvoke, firstPass, floatString2IntStringValue, floatString2IntValue, getConfigurator, getSourceReference, getTaxonByCdmId, getTimePeriod, getValue, getWorksheetName, needsNomenclaturalCode, secondPass, 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, isIgnore, 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
protected static final java.lang.String CDM_UUID_COLUMN
protected static final java.lang.String IGNORE_COLUMN
protected static final java.lang.String RANK_COLUMN
protected static final java.lang.String FULL_NAME_COLUMN
protected static final java.lang.String TAXON_UUID_COLUMN
protected static final java.lang.String FAMILY_COLUMN
protected static final java.lang.String GENUS_COLUMN
protected static final java.lang.String SPECIFIC_EPITHET_COLUMN
protected static final java.lang.String INFRASPECIFIC_EPITHET_COLUMN
protected static final java.lang.String LANGUAGE
protected void analyzeRecord(java.util.Map<java.lang.String,java.lang.String> record, STATE state)
analyzeRecord
in class ExcelImportBase<STATE extends ExcelImportState<CONFIG,ROW>,CONFIG extends ExcelImportConfiguratorBase,ROW extends ExcelRowBase>
protected abstract ROW createDataHolderRow()
protected abstract void analyzeSingleValue(ExcelTaxonOrSpecimenImportBase.KeyValue keyValue, STATE state)
keyValue
- state
- protected ExcelTaxonOrSpecimenImportBase.KeyValue makeKeyValue(java.util.Map<java.lang.String,java.lang.String> record, java.lang.String originalKey, STATE state)
record
- originalKey
- state
- keyValue
- protected boolean isInteger(java.lang.String value)
protected boolean analyzeFeatures(STATE state, ExcelTaxonOrSpecimenImportBase.KeyValue keyValue)
protected void handleExtensions(IdentifiableEntity<?> identifiable, SpecimenRow row, SpecimenCdmExcelImportState state)
protected void fireWarningEvent(java.lang.String message, STATE state, int severity)
Copyright © 2007-2020 EDIT. All Rights Reserved.