Interface DbExtension
-
- All Superinterfaces:
BasicExtension
,org.pf4j.ExtensionPoint
- All Known Implementing Classes:
DbAdapter
,HSqlDbExtension
public interface DbExtension extends BasicExtension
DbExtension.- Author:
- Andreas Rudolph
-
-
Method Summary
-
Methods inherited from interface com.openindex.openestate.tool.extensions.BasicExtension
getRequiredPluginIds
-
-
-
-
Method Detail
-
getAdminHandler
DbAdminHandler getAdminHandler()
-
getBaseGroupName
String getBaseGroupName()
-
getPluginHandler
DbPluginHandler getPluginHandler()
-
getRemoteDrivers
AbstractRemoteDbDriver[] getRemoteDrivers()
-
getRequiredProcedures
String[] getRequiredProcedures()
-
getRequiredViews
String[] getRequiredViews()
-
getSupportedDrivers
String[] getSupportedDrivers()
-
getSysAdminName
String getSysAdminName()
-
getUpdateHandler
DbUpdateHandler getUpdateHandler()
-
getUpgradeHandler
DbUpgradeHandler getUpgradeHandler()
-
getUserHandler
DbUserHandler getUserHandler()
-
install
void install(AbstractDbDriver driver) throws IOException, SQLException
- Throws:
IOException
SQLException
-
isBaseGroup
boolean isBaseGroup(String name)
-
isInstalled
boolean isInstalled(AbstractDbDriver driver, List<String> errors) throws SQLException
- Throws:
SQLException
-
isSupportedDriver
boolean isSupportedDriver(String driverName)
-
isSysAdmin
boolean isSysAdmin(String name)
-
launchUninstallQuery
void launchUninstallQuery(Connection c, String query) throws IOException, SQLException
- Throws:
IOException
SQLException
-
repair
void repair(Connection c, AbstractDbDriver driver) throws SQLException
- Throws:
SQLException
-
setCurrentPassword
void setCurrentPassword(Connection c, String password) throws SQLException
- Throws:
SQLException
-
load
static Collection<DbExtension> load()
-
loadByDriver
static DbExtension loadByDriver(AbstractDbDriver driver)
-
loadByDriver
static DbExtension loadByDriver(String driverName)
-
loadByProject
static DbExtension loadByProject(ImmoToolProject project)
-
-