@Component public class CsvTaxExportRedlist extends CsvExportBaseRedlist
existingRecordIds, existingRecordUuids, IS_CORE
exportStream
INCLUDE_UNPUBLISHED, ioName, NO_UNPUBLISHED
applicationContext
FEATURE_STORE, NOMREF_STORE, REFERENCE_STORE, SPECIMEN_STORE, TAXON_STORE, TAXONNAME_STORE, TEAM_STORE
Constructor and Description |
---|
CsvTaxExportRedlist() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<TaxonNode> |
assembleTaxonNodeSet(CsvTaxExportConfiguratorRedlist config) |
protected boolean |
doCheck(CsvTaxExportStateRedlist state) |
protected void |
doInvoke(CsvTaxExportStateRedlist state)
Retrieves data from a CDM DB and serializes them CDM to CSV.
|
protected java.util.List<TaxonNode> |
handleGeographicalFilter(CsvTaxExportStateRedlist state,
java.util.List<NamedArea> selectedAreas,
java.util.Set<TaxonNode> taxonNodes)
|
protected boolean |
isIgnore(CsvTaxExportStateRedlist state)
Returns true if this (IO-)class should be ignored during the import/export process.
|
addExistingRecord, addExistingRecordUuid, clearExistingRecordIds, closeWriter, closeWriter, createFileOutputStream, createPrintWriter, createXmlStreamWriter, getSources, getTaxonLogString, handleArea, recordExists, recordExistsUuid
createExportData, getByteArray, getDbId, getDefaultResult, getExtension, getNoDataResult, isUnpublished, isUnpublished
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
createExportData, getByteArray, invoke
check, countSteps, fire, updateProgress, updateProgress, warnProgress
addObserver, addObservers, countObservers, getObservers, removeObserver, removeObservers
protected void doInvoke(CsvTaxExportStateRedlist state)
doInvoke
in class CdmIoBase<CsvTaxExportStateRedlist,ExportResult>
exImpConfig
- dbname
- filename
- protected java.util.Set<TaxonNode> assembleTaxonNodeSet(CsvTaxExportConfiguratorRedlist config)
protected java.util.List<TaxonNode> handleGeographicalFilter(CsvTaxExportStateRedlist state, java.util.List<NamedArea> selectedAreas, java.util.Set<TaxonNode> taxonNodes)
Taxon
to return all Taxon
with the desired
geographical attribute.
If selectedAreas is null all child TaxonNode
s of the given taxon node will be returned.
state
- selectedAreas
- taxonNodes
- protected boolean doCheck(CsvTaxExportStateRedlist state)
doCheck
in class CdmIoBase<CsvTaxExportStateRedlist,ExportResult>
protected boolean isIgnore(CsvTaxExportStateRedlist state)
CdmIoBase
isIgnore
in class CdmIoBase<CsvTaxExportStateRedlist,ExportResult>
Copyright © 2007-2020 EDIT. All Rights Reserved.