@Component public class CsvDemoExport extends CsvDemoBase
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 |
---|
CsvDemoExport() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<Classification> |
assembleClassificationSet(CsvDemoExportConfigurator config) |
protected boolean |
doCheck(CsvDemoExportState state) |
protected void |
doInvoke(CsvDemoExportState state)
Retrieves data from a CDM DB and serializes them CDM to CSV.
|
byte[] |
getByteArray() |
protected boolean |
isIgnore(CsvDemoExportState state)
Returns true if this (IO-)class should be ignored during the import/export process.
|
addExistingRecord, addExistingRecordUuid, clearExistingRecordIds, closeWriter, closeWriter, countSteps, createFileOutputStream, createPrintWriter, createXmlStreamWriter, getAllNodes, getSources, getTaxonLogString, handleArea, recordExists, recordExistsUuid
createExportData, getDbId, getDefaultResult, getExtension, getNoDataResult, isUnpublished, isUnpublished
addObserver, addObservers, check, commitTransaction, countObservers, 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, invoke
check, fire, updateProgress, updateProgress, warnProgress
addObserver, addObservers, countObservers, getObservers, removeObserver, removeObservers
protected void doInvoke(CsvDemoExportState state)
doInvoke
in class CdmIoBase<CsvDemoExportState,ExportResult>
exImpConfig
- dbname
- filename
- protected java.util.Set<Classification> assembleClassificationSet(CsvDemoExportConfigurator config)
config
- protected boolean doCheck(CsvDemoExportState state)
doCheck
in class CdmIoBase<CsvDemoExportState,ExportResult>
protected boolean isIgnore(CsvDemoExportState state)
CdmIoBase
isIgnore
in class CdmIoBase<CsvDemoExportState,ExportResult>
public byte[] getByteArray()
getByteArray
in interface ICdmExport<CsvDemoExportConfigurator,CsvDemoExportState>
getByteArray
in class CdmExportBase<CsvDemoExportConfigurator,CsvDemoExportState,IExportTransformer,java.io.File>
Copyright © 2007-2020 EDIT. All Rights Reserved.