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 DbUpgradeHandler
SQLException
public final String getOldId(Connection c, String type, long newId) throws SQLException
getOldId
in interface DbUpgradeHandler
SQLException
public abstract String[] getOldIds(Connection c, String type, long newId) throws SQLException
getOldIds
in interface DbUpgradeHandler
SQLException
public abstract void install(Connection c) throws SQLException
install
in interface DbUpgradeHandler
SQLException
public abstract void save(Connection c, String type, String oldId, long newId) throws SQLException
save
in interface DbUpgradeHandler
SQLException
public abstract void uninstall(Connection c) throws SQLException
uninstall
in interface DbUpgradeHandler
SQLException
Copyright © 2015 OpenEstate. All rights reserved.