eu.etaxonomy.cdm.io.specimen.excel.in
Class NameAreaLevelExcelImport

java.lang.Object
  extended by eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration
      extended by eu.etaxonomy.cdm.io.common.CdmIoBase<STATE>
          extended by eu.etaxonomy.cdm.io.common.CdmImportBase<ExcelImportConfiguratorBase,STATE>
              extended by eu.etaxonomy.cdm.io.excel.common.ExcelImporterBase<SpecimenCdmExcelImportState>
                  extended by eu.etaxonomy.cdm.io.specimen.excel.in.NameAreaLevelExcelImport
All Implemented Interfaces:
ICdmApplicationConfiguration, ICdmImport<ExcelImportConfiguratorBase,SpecimenCdmExcelImportState>, ICdmIO<SpecimenCdmExcelImportState>, org.springframework.context.ApplicationContextAware

@Component
public class NameAreaLevelExcelImport
extends ExcelImporterBase<SpecimenCdmExcelImportState>
implements ICdmIO<SpecimenCdmExcelImportState>

Version:
1.0
Author:
p.kelbert

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.io.excel.common.ExcelImporterBase
SCIENTIFIC_NAME_COLUMN
 
Fields inherited from class eu.etaxonomy.cdm.io.common.CdmImportBase
uuidUserDefinedNamedAreaVocabulary
 
Fields inherited from class eu.etaxonomy.cdm.io.common.CdmIoBase
ioName
 
Fields inherited from class eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration
applicationContext
 
Fields inherited from interface eu.etaxonomy.cdm.io.common.ICdmIO
FEATURE_STORE, NOMREF_DETAIL_STORE, NOMREF_STORE, PERSON_STORE, REF_DETAIL_STORE, REFERENCE_STORE, SPECIMEN_STORE, TAXON_STORE, TAXONNAME_STORE, TEAM_STORE, USER_STORE
 
Constructor Summary
NameAreaLevelExcelImport()
           
 
Method Summary
protected  boolean analyzeRecord(HashMap<String,String> record, SpecimenCdmExcelImportState state)
           
protected  boolean doCheck(SpecimenCdmExcelImportState state)
           
protected  boolean firstPass(SpecimenCdmExcelImportState state)
           
protected  String getWorksheetName()
          To define a worksheetname override this method.
protected  boolean isIgnore(SpecimenCdmExcelImportState state)
          Returns true if this (IO-)class should be ignored during the import/export process.
protected  boolean secondPass(SpecimenCdmExcelImportState state)
           
 
Methods inherited from class eu.etaxonomy.cdm.io.excel.common.ExcelImporterBase
doInvoke, floatString2IntStringValue, floatString2IntValue, getApplicationController, getConfigurator, getTimePeriod, needsNomenclaturalCode
 
Methods inherited from class eu.etaxonomy.cdm.io.common.CdmImportBase
addOriginalSource, addOriginalSource, fillMissingEpithets, fillMissingEpithetsForTaxa, getAcceptedTaxon, getAnnotationType, getExtensionType, getFeature, getImageMedia, getLanguage, getMarkerType, getMarkerType, getNamedArea, getNamedArea, getPresenceTerm, getTaxonDescription, getVocabulary, makeTree, makeTreeMemSave
 
Methods inherited from class eu.etaxonomy.cdm.io.common.CdmIoBase
check, commitTransaction, flush, getInstance, getSuccessString, invoke, startTransaction, startTransaction, updateProgress, updateProgress, warnProgress
 
Methods inherited from class eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration
getAgentService, getAuthenticationManager, getBean, getClassificationService, getCollectionService, getCommonService, getDatabaseService, getDescriptionService, getFeatureNodeService, getFeatureTreeService, getGroupService, getIdentificationKeyService, getLocationService, getMainService, getMediaService, getNameService, getOccurrenceService, getPolytomousKeyNodeService, getPolytomousKeyService, getReferenceService, getTaxonNodeService, getTaxonService, getTermService, getTransactionManager, getUserService, getVocabularyService, getWorkingSetService, NewConversation, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.etaxonomy.cdm.io.common.ICdmIO
check, invoke, updateProgress, updateProgress, warnProgress
 

Constructor Detail

NameAreaLevelExcelImport

public NameAreaLevelExcelImport()
Method Detail

analyzeRecord

protected boolean analyzeRecord(HashMap<String,String> record,
                                SpecimenCdmExcelImportState state)
Specified by:
analyzeRecord in class ExcelImporterBase<SpecimenCdmExcelImportState>
Returns:

firstPass

protected boolean firstPass(SpecimenCdmExcelImportState state)
Specified by:
firstPass in class ExcelImporterBase<SpecimenCdmExcelImportState>

secondPass

protected boolean secondPass(SpecimenCdmExcelImportState state)
Specified by:
secondPass in class ExcelImporterBase<SpecimenCdmExcelImportState>

doCheck

protected boolean doCheck(SpecimenCdmExcelImportState state)
Overrides:
doCheck in class ExcelImporterBase<SpecimenCdmExcelImportState>

getWorksheetName

protected String getWorksheetName()
Description copied from class: ExcelImporterBase
To define a worksheetname override this method. Otherwise the first worksheet is taken.

Overrides:
getWorksheetName in class ExcelImporterBase<SpecimenCdmExcelImportState>
Returns:
worksheet name. null if not worksheet is defined.

isIgnore

protected boolean isIgnore(SpecimenCdmExcelImportState state)
Description copied from class: CdmIoBase
Returns true if this (IO-)class should be ignored during the import/export process. This information is usually stored in the configuration

Specified by:
isIgnore in class CdmIoBase<SpecimenCdmExcelImportState>
Returns:


Copyright © 2007-2011 EDIT. All Rights Reserved.