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 DbExtension
public abstract String getBaseGroupName()
getBaseGroupName
in interface DbExtension
public abstract DbPluginHandler getPluginHandler()
getPluginHandler
in interface DbExtension
public abstract AbstractRemoteDbDriver[] getRemoteDrivers()
getRemoteDrivers
in interface DbExtension
public String[] getRequiredPluginIds()
getRequiredPluginIds
in interface BasicExtension
public abstract String[] getRequiredProcedures()
getRequiredProcedures
in interface DbExtension
public abstract String[] getRequiredViews()
getRequiredViews
in interface DbExtension
public abstract String[] getSupportedDrivers()
getSupportedDrivers
in interface DbExtension
public abstract String getSysAdminName()
getSysAdminName
in interface DbExtension
public abstract DbUpdateHandler getUpdateHandler()
getUpdateHandler
in interface DbExtension
public abstract DbUpgradeHandler getUpgradeHandler()
getUpgradeHandler
in interface DbExtension
public abstract DbUserHandler getUserHandler()
getUserHandler
in interface DbExtension
public abstract void install(AbstractDbDriver driver) throws IOException, SQLException
install
in interface DbExtension
IOException
SQLException
public final boolean isBaseGroup(String name)
isBaseGroup
in interface DbExtension
public abstract boolean isInstalled(AbstractDbDriver driver, List<String> errors) throws SQLException
isInstalled
in interface DbExtension
SQLException
public final boolean isSupportedDriver(String driverName)
isSupportedDriver
in interface DbExtension
public final boolean isSysAdmin(String name)
isSysAdmin
in interface DbExtension
public abstract void launchUninstallQuery(Connection c, String query) throws IOException, SQLException
launchUninstallQuery
in interface DbExtension
IOException
SQLException
public void repair(Connection c, AbstractDbDriver driver) throws SQLException
repair
in interface DbExtension
SQLException
public abstract void setCurrentPassword(Connection c, String password) throws SQLException
setCurrentPassword
in interface DbExtension
SQLException
Copyright © 2015 OpenEstate. All rights reserved.