public class ImportDbAction extends AbstractMainUITuttiAction
| Modifier and Type | Field and Description |
|---|---|
protected org.nuiton.util.version.Version |
applicationVersion |
protected boolean |
closeDb |
protected org.nuiton.util.version.Version |
dbVersion |
protected File |
importFile |
protected PersistenceService.ImportStructureType |
importStructureType |
protected String |
jdbcUrl |
protected boolean |
updateSchema |
| Constructor and Description |
|---|
ImportDbAction(MainUIHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
doAction() |
void |
postFailedAction(Throwable error) |
void |
postSuccessAction() |
boolean |
prepareAction() |
void |
releaseAction() |
void |
setImportFile(File importFile) |
askAdminPassword, createProgressionModelIfRequired, getConfig, getContext, getDataContext, getProgressionModel, sendMessage, setProgressionModelaskBeforeDelete, askOverwriteFile, chooseFile, decorate, decorate, displayInfoMessage, displayWarningMessage, getActionDescription, getActionEngine, getActionFactory, getDecorator, getHandler, getModel, getUI, isHideBody, saveFile, saveFile, setActionDescription, setProgressionModeladdPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerprotected File importFile
protected String jdbcUrl
protected boolean updateSchema
protected boolean closeDb
protected org.nuiton.util.version.Version dbVersion
protected org.nuiton.util.version.Version applicationVersion
protected PersistenceService.ImportStructureType importStructureType
public ImportDbAction(MainUIHandler handler)
public void setImportFile(File importFile)
public boolean prepareAction()
throws Exception
prepareAction in class org.nuiton.jaxx.application.swing.action.AbstractApplicationAction<TuttiUIContext,MainUI,MainUIHandler>Exceptionpublic void releaseAction()
releaseAction in class org.nuiton.jaxx.application.swing.action.AbstractApplicationAction<TuttiUIContext,MainUI,MainUIHandler>public void doAction()
throws Exception
doAction in class AbstractTuttiAction<TuttiUIContext,MainUI,MainUIHandler>Exceptionpublic void postSuccessAction()
postSuccessAction in class org.nuiton.jaxx.application.swing.action.AbstractApplicationAction<TuttiUIContext,MainUI,MainUIHandler>public void postFailedAction(Throwable error)
postFailedAction in class org.nuiton.jaxx.application.swing.action.AbstractApplicationAction<TuttiUIContext,MainUI,MainUIHandler>Copyright © 2012–2014 Ifremer. All rights reserved.