eu.etaxonomy.cdm.io.csv.redlist.out
Class CsvDistributionExportRedlist

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.CdmExportBase<CsvTaxExportConfiguratorRedlist,CsvTaxExportStateRedlist,IExportTransformer>
              extended by eu.etaxonomy.cdm.io.csv.redlist.out.CsvExportBaseRedlist
                  extended by eu.etaxonomy.cdm.io.csv.redlist.out.CsvDistributionExportRedlist
All Implemented Interfaces:
ICdmApplicationConfiguration, ICdmExport<CsvTaxExportConfiguratorRedlist,CsvTaxExportStateRedlist>, ICdmIO<CsvTaxExportStateRedlist>, IIoObservable, org.springframework.context.ApplicationContextAware

@Component
public class CsvDistributionExportRedlist
extends CsvExportBaseRedlist

Author:
a.mueller

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.io.csv.redlist.out.CsvExportBaseRedlist
existingRecordIds, existingRecordUuids, IS_CORE
 
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
CsvDistributionExportRedlist()
          Constructor
 
Method Summary
protected  boolean doCheck(CsvTaxExportStateRedlist state)
           
protected  void doInvoke(CsvTaxExportStateRedlist state)
          Retrieves data from a CDM DB and serializes them CDM to XML.
protected  boolean isIgnore(CsvTaxExportStateRedlist state)
          Returns true if this (IO-)class should be ignored during the import/export process.
 
Methods inherited from class eu.etaxonomy.cdm.io.csv.redlist.out.CsvExportBaseRedlist
addExistingRecord, addExistingRecordUuid, clearExistingRecordIds, closeWriter, closeWriter, countSteps, createFileOutputStream, createPrintWriter, createXmlStreamWriter, getAllNodes, getSources, getTaxonLogString, handleArea, recordExists, recordExistsUuid
 
Methods inherited from class eu.etaxonomy.cdm.io.common.CdmExportBase
getDbId
 
Methods inherited from class eu.etaxonomy.cdm.io.common.CdmIoBase
addObserver, addObservers, check, commitTransaction, countObservers, fire, fireProgressEvent, fireWarningEvent, fireWarningEvent, flush, getInstance, getObservers, getSuccessString, invoke, isBlank, isNotBlank, removeObserver, removeObservers, rollbackTransaction, 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, getGrantedAuthorityService, getGroupService, getIdentificationKeyService, getLocationService, getMainService, getMediaService, getNameService, getOccurrenceService, getPermissionEvaluator, 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, fire, invoke, updateProgress, updateProgress, warnProgress
 
Methods inherited from interface eu.etaxonomy.cdm.io.common.IIoObservable
addObserver, addObservers, countObservers, getObservers, removeObserver, removeObservers
 

Constructor Detail

CsvDistributionExportRedlist

public CsvDistributionExportRedlist()
Constructor

Method Detail

doInvoke

protected void doInvoke(CsvTaxExportStateRedlist state)
Retrieves data from a CDM DB and serializes them CDM to XML. Starts with root taxa and traverses the classification to retrieve children taxa, synonyms and relationships. Taxa that are not part of the classification are not found.

Specified by:
doInvoke in class CdmIoBase<CsvTaxExportStateRedlist>
Parameters:
exImpConfig -
dbname -
filename -

doCheck

protected boolean doCheck(CsvTaxExportStateRedlist state)
Specified by:
doCheck in class CdmIoBase<CsvTaxExportStateRedlist>

isIgnore

protected boolean isIgnore(CsvTaxExportStateRedlist 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<CsvTaxExportStateRedlist>
Returns:


Copyright © 2007-2012 EDIT. All Rights Reserved.