eu.etaxonomy.cdm.io.dwca.out
Class DwcaDescriptionExport

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<DwcaTaxExportConfigurator,DwcaTaxExportState,IExportTransformer>
              extended by eu.etaxonomy.cdm.io.dwca.out.DwcaExportBase
                  extended by eu.etaxonomy.cdm.io.dwca.out.DwcaDescriptionExport
All Implemented Interfaces:
ICdmApplicationConfiguration, ICdmExport<DwcaTaxExportConfigurator,DwcaTaxExportState>, ICdmIO<DwcaTaxExportState>, IIoObservable, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Component
public class DwcaDescriptionExport
extends DwcaExportBase

Author:
a.mueller

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.io.dwca.out.DwcaExportBase
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
DwcaDescriptionExport()
          Constructor
 
Method Summary
protected  boolean doCheck(DwcaTaxExportState state)
           
protected  void doInvoke(DwcaTaxExportState state)
          Retrieves data from a CDM DB and serializes them CDM to XML.
protected  boolean isIgnore(DwcaTaxExportState state)
          Returns true if this (IO-)class should be ignored during the import/export process.
 
Methods inherited from class eu.etaxonomy.cdm.io.dwca.out.DwcaExportBase
addExistingRecord, addExistingRecordUuid, 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
authenticate, 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

DwcaDescriptionExport

public DwcaDescriptionExport()
Constructor

Method Detail

doInvoke

protected void doInvoke(DwcaTaxExportState 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<DwcaTaxExportState>
Parameters:
exImpConfig -
dbname -
filename -

doCheck

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

isIgnore

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


Copyright © 2007-2013 EDIT. All Rights Reserved.