@Component public class MarkupImportConfigurator extends XmlImportConfiguratorBase<MarkupImportState> implements IImportConfigurator
IImportConfigurator.CHECK, IImportConfigurator.DO_REFERENCES, IImportConfigurator.EDITOR, IImportConfigurator.SOURCE_TYPE
ioBeans, ioClassList, ioList, sourceReference
authenticationToken, cdmApp, hibernateConfig, INCLUDE_UNPUBLISHED, NO_UNPUBLISHED
Modifier | Constructor and Description |
---|---|
protected |
MarkupImportConfigurator() |
protected |
MarkupImportConfigurator(IInputTransformer transformer) |
protected |
MarkupImportConfigurator(java.net.URI uri,
ICdmDataSource destination) |
protected |
MarkupImportConfigurator(java.net.URI uri,
ICdmDataSource destination,
IInputTransformer transformer) |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getDefaultLanguageUuid() |
java.util.List<java.lang.String> |
getKnownCollections() |
java.util.UUID |
getLastTaxonUuid() |
MarkupImportState |
getNewState()
Factory method.
|
java.lang.String |
getSourceNameString()
A String representation of the used source may it be a source to be imported (e.g.
|
Reference |
getSourceReference()
The reference that represents the source.
|
java.lang.String |
getSpecimenNotSeenMarkerTypeLabel() |
java.util.UUID |
getSpecimenNotSeenMarkerTypeUuid() |
MarkupImportState |
getState()
If
isReuseExistingState() is true, this method returns the state. |
boolean |
isAllowCapitalSpeciesEpithet() |
boolean |
isDoExtensionForTaxonTitle() |
boolean |
isDoPrintKeys() |
boolean |
isDoTaxa() |
boolean |
isHandlePagesAsDetailWhereNeeded() |
boolean |
isHandleWriterManually() |
boolean |
isIgnoreLocalityClass() |
boolean |
isReplaceStandardKeyTitles() |
boolean |
isReuseExistingState()
If true, the state is saved in the configurator between 2 imports using this same configurator.
|
boolean |
isUseEditorAsInAuthorWhereNeeded() |
boolean |
isUseFotGSpecimenTypeCollectionAndTypeOnly() |
protected void |
makeIoClassList() |
static MarkupImportConfigurator |
NewInstance(java.net.URI uri,
ICdmDataSource destination) |
void |
setAllowCapitalSpeciesEpithet(boolean allowCapitalSpeciesEpithet) |
void |
setDefaultLanguageUuid(java.util.UUID defaultLanguageUuid) |
void |
setDoExtensionForTaxonTitle(boolean doExtensionForTaxonTitle) |
void |
setDoPrintKeys(boolean doPrintKeys) |
void |
setDoTaxa(boolean doTaxa) |
void |
setHandlePagesAsDetailWhereNeeded(boolean handlePagesAsDetailWhereNeeded) |
void |
setHandleWriterManually(boolean handleWriterManually) |
void |
setIgnoreLocalityClass(boolean ignoreLocalityClass) |
void |
setKnownCollections(java.util.List<java.lang.String> knownCollections) |
void |
setLastTaxonUuid(java.util.UUID lastTaxonUuid) |
void |
setReplaceStandardKeyTitles(boolean replaceStandardKeyTitles) |
void |
setReuseExistingState(boolean reuseExistingState) |
void |
setSpecimenNotSeenMarkerTypeLabel(java.lang.String specimenNotSeenMarkerTypeLabel) |
void |
setSpecimenNotSeenMarkerTypeUuid(java.util.UUID specimenNotSeenMarkerTypeUuid) |
void |
setUseEditorAsInAuthorWhereNeeded(boolean useEditorAsInAuthorWhereNeeded) |
void |
setUseFotGSpecimenTypeCollectionAndTypeOnly(boolean useFotGSpecimenTypeCollectionAndTypeOnly) |
getAuthenticationToken, getCheck, getClassificationName, getClassificationUuid, getCommentator, getDateString, getDefaultFunction, getDestination, getDestinationNameString, getEditor, getFeatureMap, getFeatureTreeTitle, getIoClassList, getNomenclaturalCode, getSecUuid, getSource, getSourceReferenceTitle, getSourceRefUuid, getSourceSecId, getTransformer, getUuidFeatureTree, isCreateNew, isInteractWithUser, isOmitTermLoading, isRegisterAuditing, isValid, setCheck, setClassificationName, setClassificationUuid, setCommentator, setDestination, setEditor, setFeatureMap, setFeatureTreeTitle, setInteractWithUser, setIoClassList, setIoClassList, setNomenclaturalCode, setRegisterAuditing, setSecUuid, setSource, setSourceReference, setSourceReferenceTitle, setSourceRefUuid, setSourceSecId, setTransformer, setUuidFeatureTree
authenticateAsDefaultAdmin, 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, getClassificationUuid, getCommentator, getDbSchemaValidation, getDestination, getEditor, getIoClassList, getNomenclaturalCode, getSecUuid, getSource, getSourceReferenceTitle, getSourceSecId, getTransformer, isCreateNew, isOmitTermLoading, isValid, setCheck, setClassificationUuid, setCommentator, setDbSchemaValidation, setDestination, setEditor, setNomenclaturalCode, setSecUuid, setSourceReference, setSourceReferenceTitle, setTransformer
authenticateAsDefaultAdmin, getAuthenticationToken, getCdmAppController, getDestinationNameString, getHibernateConfig, getObservers, getProgressMonitor, getUserFriendlyIOName, setAuthentication, setAuthenticationToken, setCdmAppController, setObservers, setProgressMonitor
addObserver, addObservers, countObservers, removeObserver, removeObservers
protected MarkupImportConfigurator()
protected MarkupImportConfigurator(IInputTransformer transformer)
protected MarkupImportConfigurator(java.net.URI uri, ICdmDataSource destination)
url
- destination
- protected MarkupImportConfigurator(java.net.URI uri, ICdmDataSource destination, IInputTransformer transformer)
url
- destination
- public static MarkupImportConfigurator NewInstance(java.net.URI uri, ICdmDataSource destination)
protected void makeIoClassList()
makeIoClassList
in class ImportConfiguratorBase<MarkupImportState,java.net.URI>
public MarkupImportState getNewState()
IImportConfigurator
getNewState
in interface IImportConfigurator
public Reference getSourceReference()
IImportConfigurator
getSourceReference
in interface IImportConfigurator
getSourceReference
in class ImportConfiguratorBase<MarkupImportState,java.net.URI>
public java.lang.String getSourceNameString()
IIoConfigurator
getSourceNameString
in interface IIoConfigurator
getSourceNameString
in class ImportConfiguratorBase<MarkupImportState,java.net.URI>
public java.util.UUID getLastTaxonUuid()
public void setLastTaxonUuid(java.util.UUID lastTaxonUuid)
public void setDoPrintKeys(boolean doPrintKeys)
public boolean isDoPrintKeys()
public java.util.UUID getDefaultLanguageUuid()
public void setDefaultLanguageUuid(java.util.UUID defaultLanguageUuid)
public boolean isDoTaxa()
public void setDoTaxa(boolean doTaxa)
public void setReplaceStandardKeyTitles(boolean replaceStandardKeyTitles)
public boolean isReplaceStandardKeyTitles()
public boolean isReuseExistingState()
public void setReuseExistingState(boolean reuseExistingState)
reuseExistingState
- isReuseExistingState()
public MarkupImportState getState()
isReuseExistingState()
is true, this method returns the state.
This is an experimental workaround for Markup import. The functionality
should better be moved to CdmImportBase somewhere.public boolean isAllowCapitalSpeciesEpithet()
public void setAllowCapitalSpeciesEpithet(boolean allowCapitalSpeciesEpithet)
public boolean isHandlePagesAsDetailWhereNeeded()
public void setHandlePagesAsDetailWhereNeeded(boolean handlePagesAsDetailWhereNeeded)
public boolean isUseEditorAsInAuthorWhereNeeded()
public void setUseEditorAsInAuthorWhereNeeded(boolean useEditorAsInAuthorWhereNeeded)
public boolean isUseFotGSpecimenTypeCollectionAndTypeOnly()
public void setUseFotGSpecimenTypeCollectionAndTypeOnly(boolean useFotGSpecimenTypeCollectionAndTypeOnly)
public void setKnownCollections(java.util.List<java.lang.String> knownCollections)
public java.util.List<java.lang.String> getKnownCollections()
public boolean isIgnoreLocalityClass()
public void setIgnoreLocalityClass(boolean ignoreLocalityClass)
public boolean isHandleWriterManually()
public void setHandleWriterManually(boolean handleWriterManually)
public java.util.UUID getSpecimenNotSeenMarkerTypeUuid()
public void setSpecimenNotSeenMarkerTypeUuid(java.util.UUID specimenNotSeenMarkerTypeUuid)
public java.lang.String getSpecimenNotSeenMarkerTypeLabel()
public void setSpecimenNotSeenMarkerTypeLabel(java.lang.String specimenNotSeenMarkerTypeLabel)
public boolean isDoExtensionForTaxonTitle()
public void setDoExtensionForTaxonTitle(boolean doExtensionForTaxonTitle)
Copyright © 2007-2020 EDIT. All Rights Reserved.