public class ImportDbAction extends AbstractMainUITuttiAction
| Modifier and Type | Field and Description |
|---|---|
protected org.nuiton.util.Version |
applicationVersion |
protected boolean |
closeDb |
protected org.nuiton.util.Version |
dbVersion |
protected File |
importFile |
protected String |
jdbcUrl |
protected boolean |
updateSchema |
actionDescription, handler, hideBody, lock, PROPERTY_DONE| 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, askBeforeDelete, chooseFile, decorate, decorate, displayInfoMessage, displayWarningMessage, getActionDescription, getConfig, getContext, getDataContext, getDecorator, getHandler, getModel, getProgressionModel, getUI, isHideBody, saveFile, saveFile, sendMessage, 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 dbVersion
protected org.nuiton.util.Version applicationVersion
public ImportDbAction(MainUIHandler handler)
public void setImportFile(File importFile)
public boolean prepareAction()
throws Exception
prepareAction in class AbstractTuttiAction<TuttiUIContext,MainUI,MainUIHandler>Exceptionpublic void releaseAction()
releaseAction in class AbstractTuttiAction<TuttiUIContext,MainUI,MainUIHandler>public void doAction()
throws Exception
doAction in class AbstractTuttiAction<TuttiUIContext,MainUI,MainUIHandler>Exceptionpublic void postSuccessAction()
postSuccessAction in class AbstractTuttiAction<TuttiUIContext,MainUI,MainUIHandler>public void postFailedAction(Throwable error)
postFailedAction in class AbstractTuttiAction<TuttiUIContext,MainUI,MainUIHandler>Copyright © 2012–2013 Ifremer. All rights reserved.