public abstract class DbUpgradeHandlerImpl extends Object implements DbUpgradeHandler
| Constructor and Description |
|---|
DbUpgradeHandlerImpl() |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
getNewId(Connection c,
String type,
String oldId) |
String |
getOldId(Connection c,
String type,
long newId) |
abstract String[] |
getOldIds(Connection c,
String type,
long newId) |
abstract void |
install(Connection c) |
abstract void |
save(Connection c,
String type,
String oldId,
long newId) |
abstract void |
uninstall(Connection c) |
public abstract long getNewId(Connection c, String type, String oldId) throws SQLException
getNewId in interface DbUpgradeHandlerSQLExceptionpublic final String getOldId(Connection c, String type, long newId) throws SQLException
getOldId in interface DbUpgradeHandlerSQLExceptionpublic abstract String[] getOldIds(Connection c, String type, long newId) throws SQLException
getOldIds in interface DbUpgradeHandlerSQLExceptionpublic abstract void install(Connection c) throws SQLException
install in interface DbUpgradeHandlerSQLExceptionpublic abstract void save(Connection c, String type, String oldId, long newId) throws SQLException
save in interface DbUpgradeHandlerSQLExceptionpublic abstract void uninstall(Connection c) throws SQLException
uninstall in interface DbUpgradeHandlerSQLExceptionCopyright © 2015 OpenEstate. All rights reserved.