public interface IImportConfigurator extends IIoConfigurator
Modifier and Type | Interface and Description |
---|---|
static class |
IImportConfigurator.CHECK |
static class |
IImportConfigurator.DO_REFERENCES |
static class |
IImportConfigurator.EDITOR |
static class |
IImportConfigurator.SOURCE_TYPE |
Modifier and Type | Method and Description |
---|---|
IImportConfigurator.CHECK |
getCheck() |
java.util.UUID |
getClassificationUuid()
If this import implicitly represents a classification in the destination CDM database
one can define the classification's uuid here.
|
Person |
getCommentator() |
DbSchemaValidation |
getDbSchemaValidation()
Get the way how the CDM schema is validated
|
ICdmDataSource |
getDestination()
The destination data source for the import
Don't use when using a spring data source
|
IImportConfigurator.EDITOR |
getEditor() |
java.lang.Class<ICdmImport>[] |
getIoClassList() |
<STATE extends ImportStateBase> |
getNewState()
Factory method.
|
NomenclaturalCode |
getNomenclaturalCode() |
java.util.UUID |
getSecUuid()
If one wants do define the uuid of the accepted taxa (except for missaplied names) this can be
done here
|
java.lang.Object |
getSource()
Any object that represents the Source.
|
Reference |
getSourceReference()
The reference that represents the source.
|
java.lang.String |
getSourceReferenceTitle() |
java.lang.Object |
getSourceSecId() |
IInputTransformer |
getTransformer()
Returns the transformer used during import
|
boolean |
isCreateNew()
Defines if the database will be created anew.
|
boolean |
isOmitTermLoading()
Defines if term loading should take place if a new application controller
is created.
|
boolean |
isValid() |
void |
setCheck(IImportConfigurator.CHECK check) |
void |
setClassificationUuid(java.util.UUID treeUuid) |
void |
setCommentator(Person commentator) |
void |
setDbSchemaValidation(DbSchemaValidation dbSchemaValidation)
Get the way how the CDM schema is validated
For exports values that delete the source (CREATE, CREATE_DROP) are not allowed and may throw an
Exception in the further run
|
void |
setDestination(ICdmDataSource destination) |
void |
setEditor(IImportConfigurator.EDITOR editor) |
void |
setNomenclaturalCode(NomenclaturalCode nomenclaturalCode) |
void |
setSecUuid(java.util.UUID secUuid) |
void |
setSourceReference(Reference sourceReference) |
void |
setSourceReferenceTitle(java.lang.String sourceReferenceTitle) |
void |
setTransformer(IInputTransformer transformer)
Sets the transformer used during import
|
authenticateAsDefaultAdmin, getAuthenticationToken, getCdmAppController, getDestinationNameString, getHibernateConfig, getObservers, getProgressMonitor, getSourceNameString, getUserFriendlyIOName, setAuthentication, setAuthenticationToken, setCdmAppController, setObservers, setProgressMonitor
addObserver, addObservers, countObservers, removeObserver, removeObservers
boolean isValid()
<STATE extends ImportStateBase> STATE getNewState()
IImportConfigurator.CHECK getCheck()
void setCheck(IImportConfigurator.CHECK check)
doReferences
- the doReferences to setIImportConfigurator.EDITOR getEditor()
void setEditor(IImportConfigurator.EDITOR editor)
editor
- sets the way how editing (created, updated) information is handledICdmDataSource getDestination()
void setDestination(ICdmDataSource destination)
DbSchemaValidation getDbSchemaValidation()
IIoConfigurator
getDbSchemaValidation
in interface IIoConfigurator
DbSchemaValidation
void setDbSchemaValidation(DbSchemaValidation dbSchemaValidation)
IIoConfigurator
setDbSchemaValidation
in interface IIoConfigurator
DbSchemaValidation
Reference getSourceReference()
java.lang.Object getSource()
void setSourceReference(Reference sourceReference)
java.lang.String getSourceReferenceTitle()
void setSourceReferenceTitle(java.lang.String sourceReferenceTitle)
Person getCommentator()
void setCommentator(Person commentator)
NomenclaturalCode getNomenclaturalCode()
void setNomenclaturalCode(NomenclaturalCode nomenclaturalCode)
java.lang.Class<ICdmImport>[] getIoClassList()
java.lang.Object getSourceSecId()
java.util.UUID getClassificationUuid()
void setClassificationUuid(java.util.UUID treeUuid)
java.util.UUID getSecUuid()
void setSecUuid(java.util.UUID secUuid)
IInputTransformer getTransformer()
void setTransformer(IInputTransformer transformer)
transformer
- boolean isOmitTermLoading()
boolean isCreateNew()
Copyright © 2007-2020 EDIT. All Rights Reserved.