|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.etaxonomy.cdm.io.common.ObservableBase
eu.etaxonomy.cdm.io.common.IoConfiguratorBase
public abstract class IoConfiguratorBase
Base class for all import/export configurators.
| Field Summary | |
|---|---|
protected CdmApplicationController |
cdmApp
|
| Constructor Summary | |
|---|---|
IoConfiguratorBase()
|
|
| Method Summary | |
|---|---|
void |
authenticateAsDefaultAdmin()
Creates the UsernamePasswordAuthenticationToken for the default admin. |
org.springframework.security.authentication.UsernamePasswordAuthenticationToken |
getAuthenticationToken()
|
CdmApplicationController |
getCdmAppController()
Returns the CdmApplicationController |
DbSchemaValidation |
getDbSchemaValidation()
Get the way how the CDM schema is validated |
IProgressMonitor |
getProgressMonitor()
Returns the progress monitor. |
boolean |
isUseClassification()
|
void |
setAuthentication(String login,
String password)
|
void |
setAuthenticationToken(org.springframework.security.authentication.UsernamePasswordAuthenticationToken authenticationToken)
|
void |
setCdmAppController(CdmApplicationController cdmApp)
Sets the CdmApplicationController |
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 |
setProgressMonitor(IProgressMonitor monitor)
Sets the progress monitor. |
void |
setUseClassification(boolean useClassification)
|
| Methods inherited from class eu.etaxonomy.cdm.io.common.ObservableBase |
|---|
addObserver, addObservers, countObservers, fire, fireWarningEvent, fireWarningEvent, getObservers, removeObserver, removeObservers, setObservers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface eu.etaxonomy.cdm.io.common.IIoConfigurator |
|---|
getDestinationNameString, getObservers, getSourceNameString, setObservers |
| Methods inherited from interface eu.etaxonomy.cdm.io.common.IIoObservable |
|---|
addObserver, addObservers, countObservers, removeObserver, removeObservers |
| Field Detail |
|---|
protected CdmApplicationController cdmApp
| Constructor Detail |
|---|
public IoConfiguratorBase()
| Method Detail |
|---|
public DbSchemaValidation getDbSchemaValidation()
IIoConfigurator
getDbSchemaValidation in interface IIoConfiguratorDbSchemaValidationpublic void setDbSchemaValidation(DbSchemaValidation dbSchemaValidation)
IIoConfigurator
setDbSchemaValidation in interface IIoConfiguratorDbSchemaValidationpublic CdmApplicationController getCdmAppController()
IIoConfigurator
getCdmAppController in interface IIoConfiguratorpublic void setCdmAppController(CdmApplicationController cdmApp)
IIoConfigurator
setCdmAppController in interface IIoConfiguratorcdmApp - the cdmApp to setpublic boolean isUseClassification()
public void setUseClassification(boolean useClassification)
useClassification - the useClassification to setpublic void setProgressMonitor(IProgressMonitor monitor)
IIoConfigurator
setProgressMonitor in interface IIoConfiguratorIIoConfigurator.getProgressMonitor()public IProgressMonitor getProgressMonitor()
IIoConfigurator
getProgressMonitor in interface IIoConfiguratorpublic org.springframework.security.authentication.UsernamePasswordAuthenticationToken getAuthenticationToken()
getAuthenticationToken in interface IIoConfiguratorpublic void setAuthenticationToken(org.springframework.security.authentication.UsernamePasswordAuthenticationToken authenticationToken)
setAuthenticationToken in interface IIoConfigurator
public void setAuthentication(String login,
String password)
setAuthentication in interface IIoConfiguratorpublic void authenticateAsDefaultAdmin()
IIoConfigurator
authenticateAsDefaultAdmin in interface IIoConfiguratorConfiguration.adminLogin,
Configuration.adminPassword
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||