public abstract class DbAdapter extends Object implements DbExtension
ID| Constructor and Description |
|---|
DbAdapter() |
| Modifier and Type | Method and Description |
|---|---|
abstract DbAdminHandler |
getAdminHandler() |
abstract String |
getBaseGroupName() |
abstract DbPluginHandler |
getPluginHandler() |
abstract AbstractRemoteDbDriver[] |
getRemoteDrivers() |
String[] |
getRequiredPluginIds() |
abstract String[] |
getRequiredProcedures() |
abstract String[] |
getRequiredViews() |
abstract String[] |
getSupportedDrivers() |
abstract String |
getSysAdminName() |
abstract DbUpdateHandler |
getUpdateHandler() |
abstract DbUpgradeHandler |
getUpgradeHandler() |
abstract DbUserHandler |
getUserHandler() |
abstract void |
install(AbstractDbDriver driver) |
boolean |
isBaseGroup(String name) |
abstract boolean |
isInstalled(AbstractDbDriver driver,
List<String> errors) |
boolean |
isSupportedDriver(String driverName) |
boolean |
isSysAdmin(String name) |
abstract void |
launchUninstallQuery(Connection c,
String query) |
void |
repair(Connection c,
AbstractDbDriver driver) |
abstract void |
setCurrentPassword(Connection c,
String password) |
public abstract DbAdminHandler getAdminHandler()
getAdminHandler in interface DbExtensionpublic abstract String getBaseGroupName()
getBaseGroupName in interface DbExtensionpublic abstract DbPluginHandler getPluginHandler()
getPluginHandler in interface DbExtensionpublic abstract AbstractRemoteDbDriver[] getRemoteDrivers()
getRemoteDrivers in interface DbExtensionpublic String[] getRequiredPluginIds()
getRequiredPluginIds in interface BasicExtensionpublic abstract String[] getRequiredProcedures()
getRequiredProcedures in interface DbExtensionpublic abstract String[] getRequiredViews()
getRequiredViews in interface DbExtensionpublic abstract String[] getSupportedDrivers()
getSupportedDrivers in interface DbExtensionpublic abstract String getSysAdminName()
getSysAdminName in interface DbExtensionpublic abstract DbUpdateHandler getUpdateHandler()
getUpdateHandler in interface DbExtensionpublic abstract DbUpgradeHandler getUpgradeHandler()
getUpgradeHandler in interface DbExtensionpublic abstract DbUserHandler getUserHandler()
getUserHandler in interface DbExtensionpublic abstract void install(AbstractDbDriver driver) throws IOException, SQLException
install in interface DbExtensionIOExceptionSQLExceptionpublic final boolean isBaseGroup(String name)
isBaseGroup in interface DbExtensionpublic abstract boolean isInstalled(AbstractDbDriver driver, List<String> errors) throws SQLException
isInstalled in interface DbExtensionSQLExceptionpublic final boolean isSupportedDriver(String driverName)
isSupportedDriver in interface DbExtensionpublic final boolean isSysAdmin(String name)
isSysAdmin in interface DbExtensionpublic abstract void launchUninstallQuery(Connection c, String query) throws IOException, SQLException
launchUninstallQuery in interface DbExtensionIOExceptionSQLExceptionpublic void repair(Connection c, AbstractDbDriver driver) throws SQLException
repair in interface DbExtensionSQLExceptionpublic abstract void setCurrentPassword(Connection c, String password) throws SQLException
setCurrentPassword in interface DbExtensionSQLExceptionCopyright © 2015 OpenEstate. All rights reserved.