Package com.openindex.openestate.tool.db
Interface DbUpgradeHandler
-
- All Known Implementing Classes:
DbUpgradeHandlerImpl
,HSqlDbUpgradeHandler
public interface DbUpgradeHandler
DbUpgradeHandler.- Author:
- Andreas Rudolph
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getNewId(Connection c, String type, String oldId)
String
getOldId(Connection c, String type, long newId)
String[]
getOldIds(Connection c, String type, long newId)
void
install(Connection c)
void
save(Connection c, String type, String oldId, long newId)
void
uninstall(Connection c)
-
-
-
Method Detail
-
getNewId
long getNewId(Connection c, String type, String oldId) throws SQLException
- Throws:
SQLException
-
getOldId
String getOldId(Connection c, String type, long newId) throws SQLException
- Throws:
SQLException
-
getOldIds
String[] getOldIds(Connection c, String type, long newId) throws SQLException
- Throws:
SQLException
-
install
void install(Connection c) throws SQLException
- Throws:
SQLException
-
save
void save(Connection c, String type, String oldId, long newId) throws SQLException
- Throws:
SQLException
-
uninstall
void uninstall(Connection c) throws SQLException
- Throws:
SQLException
-
-