public abstract class UpgradeAdapter extends Object implements UpgradeExtension
ID| Constructor and Description |
|---|
UpgradeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getRequiredPluginIds() |
protected void |
setMessage(String msg,
ImmoToolTask.Callback callback) |
void |
upgrade(Connection c,
AbstractDbDriver dbDriver,
DbExtension dbExtension,
DbUser user,
File importDir,
Properties projectProps,
ImmoToolTask.Callback callback)
This method is executed, when an older database is migrated.
|
void |
upgradeFinished(Connection c,
AbstractDbDriver dbDriver,
DbExtension dbExtension,
DbUser user,
File importDir,
ImmoToolTask.Callback callback)
This method is executed, when the upgrade process is finished.
|
public String[] getRequiredPluginIds()
getRequiredPluginIds in interface BasicExtensionprotected void setMessage(String msg, ImmoToolTask.Callback callback)
public void upgrade(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, DbUser user, File importDir, Properties projectProps, ImmoToolTask.Callback callback) throws SQLException, IOException
UpgradeExtensionupgrade in interface UpgradeExtensionSQLExceptionIOExceptionpublic void upgradeFinished(Connection c, AbstractDbDriver dbDriver, DbExtension dbExtension, DbUser user, File importDir, ImmoToolTask.Callback callback) throws SQLException, IOException
UpgradeExtensionupgradeFinished in interface UpgradeExtensionSQLExceptionIOExceptionCopyright © 2015 OpenEstate. All rights reserved.