public class CsvDemoExportConfigurator extends XmlExportConfiguratorBase<CsvDemoExportState>
XmlExportConfiguratorBase.IdType
IExportConfigurator.CHECK, IExportConfigurator.DO_REFERENCES, IExportConfigurator.TARGET
ioClassList, resultType, sourceReference
authenticationToken, cdmApp, hibernateConfig, INCLUDE_UNPUBLISHED, NO_UNPUBLISHED
Modifier and Type | Method and Description |
---|---|
void |
createPreSelectedExport(boolean doDemoExport,
boolean doTaxonConceptExport)
This function is only to have a shortcut for
a preselection for available fields.
|
java.io.ByteArrayOutputStream |
getByteArrayOutputStream() |
java.lang.String |
getClassificationTitleCache() |
java.util.Set<java.util.UUID> |
getClassificationUuids() |
java.lang.String |
getDefaultBibliographicCitation() |
java.io.File |
getDestination() |
java.lang.String |
getDestinationNameString()
A String representation of the destination may it be an import destination and therefore a CDM (e.g.
|
java.lang.String |
getEncoding() |
java.util.List<java.util.UUID> |
getFeatureExclusions() |
java.util.List<Feature> |
getFeatures() |
java.lang.String |
getFieldsEnclosedBy() |
java.lang.String |
getFieldsTerminatedBy() |
java.lang.String |
getLinesTerminatedBy() |
java.util.List<NamedArea> |
getNamedAreas() |
CsvDemoExportState |
getNewState()
Factory method.
|
java.lang.Integer |
getPageNumber() |
java.lang.Integer |
getPageSize() |
java.util.List<CsvDemoRecord> |
getRecordList() |
java.lang.String |
getSetSeparator() |
int |
getTaxonNodeListSize() |
boolean |
isAcceptedName() |
boolean |
isAuthor() |
boolean |
isClassification() |
boolean |
isDistributions() |
boolean |
isDoDemoExport() |
boolean |
isDoDistributions() |
boolean |
isDoGeographicalFilter() |
boolean |
isDoTaxa() |
boolean |
isDoTaxonConceptExport() |
boolean |
isExternalID() |
boolean |
isHasHeaderLines()
Equals darwin core archive ignoreHeaderLines attribute
|
boolean |
isIncludeBasionymsInResourceRelations() |
boolean |
isIncludeMisappliedNamesInResourceRelations() |
boolean |
isLastChange() |
boolean |
isParentID() |
boolean |
isRank() |
boolean |
isRedlistFeatures() |
boolean |
isSynonyms() |
boolean |
isTaxonConceptID() |
boolean |
isTaxonName() |
boolean |
isTaxonNameID() |
boolean |
isTaxonStatus() |
boolean |
isUseIdWherePossible() |
boolean |
isWithHigherClassification()
The default value for the taxon.source column.
|
protected void |
makeIoClassList() |
static CsvDemoExportConfigurator |
NewInstance(ICdmDataSource source,
java.io.File destinationFolder) |
void |
setAcceptedName(boolean acceptedName) |
void |
setAuthor(boolean author) |
void |
setByteArrayOutputStream(java.io.ByteArrayOutputStream baos) |
void |
setClassification(boolean classification) |
void |
setClassificationTitleCache(java.lang.String classificationTitleCache) |
void |
setClassificationUuids(java.util.Set<java.util.UUID> classificationUuids) |
void |
setDefaultBibliographicCitation(java.lang.String defaultBibliographicCitation) |
void |
setDestination(java.io.File fileName) |
void |
setDistributions(boolean distributions) |
void |
setDoDemoExport(boolean doDemoHeadlines) |
void |
setDoDistributions(boolean doDistributions) |
void |
setDoGeographicalFilter(boolean doGeographicalFilter) |
void |
setDoTaxa(boolean doTaxa) |
void |
setDoTaxonConceptExport(boolean doTaxonConceptExport) |
void |
setEncoding(java.lang.String encoding) |
void |
setExternalID(boolean externalID) |
void |
setFeatureExclusions(java.util.List<java.util.UUID> featureExclusions) |
void |
setFeatures(java.util.List<Feature> features) |
void |
setFieldsEnclosedBy(java.lang.String fieldsEnclosedBy) |
void |
setFieldsTerminatedBy(java.lang.String fieldsTerminatedBy) |
void |
setHasHeaderLines(boolean hasHeaderLines) |
void |
setIncludeBasionymsInResourceRelations(boolean includeBasionymsInResourceRelations) |
void |
setIncludeMisappliedNamesInResourceRelations(boolean includeMisappliedNamesInResourceRelations) |
void |
setLastChange(boolean lastChange) |
void |
setLinesTerminatedBy(java.lang.String linesTerminatedBy) |
void |
setNamedAreas(java.util.List<NamedArea> areas) |
void |
setPageNumber(java.lang.Integer pageNumber) |
void |
setPageSize(java.lang.Integer pageSize) |
void |
setParentID(boolean parentID) |
void |
setRank(boolean rank) |
void |
setRecordList(java.util.List<CsvDemoRecord> recordList) |
void |
setRedlistFeatures(boolean redlistFeatures) |
void |
setSetSeparator(java.lang.String setSeparator) |
void |
setSynonyms(boolean synonyms) |
void |
setTaxonConceptID(boolean taxonConceptID) |
void |
setTaxonName(boolean taxonName) |
void |
setTaxonNameID(boolean taxonNameID) |
void |
setTaxonNodeListSize(int size) |
void |
setTaxonStatus(boolean taxonStatus) |
void |
setUseIdWherePossible(boolean isUseIdWherePossible) |
void |
setWithHigherClassification(boolean withHigherClassification) |
getIdType, setIdType
getCdmAppController, getCdmAppController, getCheck, getIoClassList, getNewCdmAppController, getResultType, getSource, getSourceNameString, getSourceReference, getTarget, getTaxonNodeFilter, getTransformer, isValid, setCheck, setResultType, setSource, setTarget, setTaxonNodeFilter, setTransformer
authenticateAsDefaultAdmin, getAuthenticationToken, getCdmAppController, getDbSchemaValidation, getHibernateConfig, getProgressMonitor, getUserFriendlyIOName, isUseClassification, setAuthentication, setAuthenticationToken, setCdmAppController, setDbSchemaValidation, setProgressMonitor, setUseClassification, setUserFriendlyIOName
addObserver, addObservers, countObservers, fire, fireWarningEvent, fireWarningEvent, getObservers, removeObserver, removeObservers, setObservers
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCheck, getIoClassList, getResultType, getSource, getTarget, getTransformer, isValid, setSource, setTarget, setTransformer
authenticateAsDefaultAdmin, getAuthenticationToken, getCdmAppController, getDbSchemaValidation, getHibernateConfig, getObservers, getProgressMonitor, getSourceNameString, getUserFriendlyIOName, setAuthentication, setAuthenticationToken, setCdmAppController, setDbSchemaValidation, setObservers, setProgressMonitor
addObserver, addObservers, countObservers, removeObserver, removeObservers
public static CsvDemoExportConfigurator NewInstance(ICdmDataSource source, java.io.File destinationFolder)
protected void makeIoClassList()
makeIoClassList
in class ExportConfiguratorBase<CsvDemoExportState,IExportTransformer,java.io.File>
public void createPreSelectedExport(boolean doDemoExport, boolean doTaxonConceptExport)
Only one of the parameter should be true, otherwise all fields are set to true and will be exported.
In future this function might be removed.
doDemoExport
- doTaxonConceptExport
- public java.io.File getDestination()
getDestination
in class ExportConfiguratorBase<CsvDemoExportState,IExportTransformer,java.io.File>
public void setDestination(java.io.File fileName)
setDestination
in class ExportConfiguratorBase<CsvDemoExportState,IExportTransformer,java.io.File>
file
- public java.lang.String getDestinationNameString()
IIoConfigurator
getDestinationNameString
in interface IIoConfigurator
getDestinationNameString
in class XmlExportConfiguratorBase<CsvDemoExportState>
public CsvDemoExportState getNewState()
IExportConfigurator
public boolean isDoTaxa()
public void setDoTaxa(boolean doTaxa)
public boolean isDoDistributions()
public void setDoDistributions(boolean doDistributions)
public void setFeatureExclusions(java.util.List<java.util.UUID> featureExclusions)
public java.util.List<java.util.UUID> getFeatureExclusions()
public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
public java.lang.String getLinesTerminatedBy()
public void setLinesTerminatedBy(java.lang.String linesTerminatedBy)
public java.lang.String getFieldsEnclosedBy()
public void setFieldsEnclosedBy(java.lang.String fieldsEnclosedBy)
public boolean isHasHeaderLines()
public void setHasHeaderLines(boolean hasHeaderLines)
public boolean isIncludeBasionymsInResourceRelations()
public void setIncludeBasionymsInResourceRelations(boolean includeBasionymsInResourceRelations)
public boolean isIncludeMisappliedNamesInResourceRelations()
public void setIncludeMisappliedNamesInResourceRelations(boolean includeMisappliedNamesInResourceRelations)
public boolean isUseIdWherePossible()
public void setUseIdWherePossible(boolean isUseIdWherePossible)
public void setDefaultBibliographicCitation(java.lang.String defaultBibliographicCitation)
public java.lang.String getDefaultBibliographicCitation()
public boolean isWithHigherClassification()
public void setWithHigherClassification(boolean withHigherClassification)
public java.lang.String getSetSeparator()
public void setSetSeparator(java.lang.String setSeparator)
setSeparator
- the setSeparator to setpublic void setFieldsTerminatedBy(java.lang.String fieldsTerminatedBy)
public java.lang.String getFieldsTerminatedBy()
public java.util.Set<java.util.UUID> getClassificationUuids()
public void setClassificationUuids(java.util.Set<java.util.UUID> classificationUuids)
public java.io.ByteArrayOutputStream getByteArrayOutputStream()
public void setByteArrayOutputStream(java.io.ByteArrayOutputStream baos)
public void setFeatures(java.util.List<Feature> features)
public java.util.List<Feature> getFeatures()
public void setClassificationTitleCache(java.lang.String classificationTitleCache)
public java.lang.String getClassificationTitleCache()
public void setNamedAreas(java.util.List<NamedArea> areas)
areas
- public java.util.List<NamedArea> getNamedAreas()
public boolean isDoGeographicalFilter()
public void setDoGeographicalFilter(boolean doGeographicalFilter)
public boolean isDoDemoExport()
public void setDoDemoExport(boolean doDemoHeadlines)
public boolean isDoTaxonConceptExport()
public void setDoTaxonConceptExport(boolean doTaxonConceptExport)
public boolean isAuthor()
public void setAuthor(boolean author)
public boolean isRank()
public void setRank(boolean rank)
public boolean isTaxonConceptID()
public void setTaxonConceptID(boolean taxonConceptID)
public boolean isAcceptedName()
public void setAcceptedName(boolean acceptedName)
public boolean isClassification()
public void setClassification(boolean classification)
public boolean isTaxonName()
public void setTaxonName(boolean taxonName)
public boolean isTaxonNameID()
public void setTaxonNameID(boolean taxonNameID)
public boolean isTaxonStatus()
public void setTaxonStatus(boolean taxonStatus)
public boolean isSynonyms()
public void setSynonyms(boolean synonyms)
public boolean isDistributions()
public void setDistributions(boolean distributions)
public boolean isRedlistFeatures()
public void setRedlistFeatures(boolean redlistFeatures)
public boolean isParentID()
public void setParentID(boolean parentID)
public boolean isLastChange()
public void setLastChange(boolean lastChange)
public boolean isExternalID()
public void setExternalID(boolean externalID)
public java.util.List<CsvDemoRecord> getRecordList()
public void setRecordList(java.util.List<CsvDemoRecord> recordList)
public java.lang.Integer getPageSize()
public void setPageSize(java.lang.Integer pageSize)
public java.lang.Integer getPageNumber()
public void setPageNumber(java.lang.Integer pageNumber)
public int getTaxonNodeListSize()
public void setTaxonNodeListSize(int size)
Copyright © 2007-2020 EDIT. All Rights Reserved.