Class HSqlDbExtension
- java.lang.Object
-
- com.openindex.openestate.tool.extensions.DbAdapter
-
- com.openindex.openestate.tool.db.hsql.HSqlDbExtension
-
- All Implemented Interfaces:
BasicExtension,DbExtension,org.pf4j.ExtensionPoint
@Extension(points=DbExtension.class) public class HSqlDbExtension extends DbAdapter
HSqlDbExtension.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description HSqlDbExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbAdminHandlergetAdminHandler()StringgetBaseGroupName()DbPluginHandlergetPluginHandler()AbstractRemoteDbDriver[]getRemoteDrivers()String[]getRequiredProcedures()String[]getRequiredViews()String[]getSupportedDrivers()StringgetSysAdminName()DbUpdateHandlergetUpdateHandler()DbUpgradeHandlergetUpgradeHandler()DbUserHandlergetUserHandler()voidinstall(AbstractDbDriver driver)booleanisInstalled(AbstractDbDriver driver, List<String> errors)voidlaunchUninstallQuery(Connection c, String query)voidsetCurrentPassword(Connection c, String password)-
Methods inherited from class com.openindex.openestate.tool.extensions.DbAdapter
getRequiredPluginIds, isBaseGroup, isSupportedDriver, isSysAdmin, repair
-
-
-
-
Field Detail
-
SA_USER
public static final String SA_USER
- See Also:
- Constant Field Values
-
DBA_ROLE
public static final String DBA_ROLE
- See Also:
- Constant Field Values
-
IMMOTOOL_ROLE
public static final String IMMOTOOL_ROLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAdminHandler
public DbAdminHandler getAdminHandler()
- Specified by:
getAdminHandlerin interfaceDbExtension- Specified by:
getAdminHandlerin classDbAdapter
-
getBaseGroupName
public final String getBaseGroupName()
- Specified by:
getBaseGroupNamein interfaceDbExtension- Specified by:
getBaseGroupNamein classDbAdapter
-
getPluginHandler
public final DbPluginHandler getPluginHandler()
- Specified by:
getPluginHandlerin interfaceDbExtension- Specified by:
getPluginHandlerin classDbAdapter
-
getRemoteDrivers
public final AbstractRemoteDbDriver[] getRemoteDrivers()
- Specified by:
getRemoteDriversin interfaceDbExtension- Specified by:
getRemoteDriversin classDbAdapter
-
getRequiredProcedures
public final String[] getRequiredProcedures()
- Specified by:
getRequiredProceduresin interfaceDbExtension- Specified by:
getRequiredProceduresin classDbAdapter
-
getRequiredViews
public final String[] getRequiredViews()
- Specified by:
getRequiredViewsin interfaceDbExtension- Specified by:
getRequiredViewsin classDbAdapter
-
getSupportedDrivers
public final String[] getSupportedDrivers()
- Specified by:
getSupportedDriversin interfaceDbExtension- Specified by:
getSupportedDriversin classDbAdapter
-
getSysAdminName
public final String getSysAdminName()
- Specified by:
getSysAdminNamein interfaceDbExtension- Specified by:
getSysAdminNamein classDbAdapter
-
getUpdateHandler
public DbUpdateHandler getUpdateHandler()
- Specified by:
getUpdateHandlerin interfaceDbExtension- Specified by:
getUpdateHandlerin classDbAdapter
-
getUpgradeHandler
public DbUpgradeHandler getUpgradeHandler()
- Specified by:
getUpgradeHandlerin interfaceDbExtension- Specified by:
getUpgradeHandlerin classDbAdapter
-
getUserHandler
public DbUserHandler getUserHandler()
- Specified by:
getUserHandlerin interfaceDbExtension- Specified by:
getUserHandlerin classDbAdapter
-
install
public final void install(AbstractDbDriver driver) throws IOException, SQLException
- Specified by:
installin interfaceDbExtension- Specified by:
installin classDbAdapter- Throws:
IOExceptionSQLException
-
isInstalled
public final boolean isInstalled(AbstractDbDriver driver, List<String> errors) throws SQLException
- Specified by:
isInstalledin interfaceDbExtension- Specified by:
isInstalledin classDbAdapter- Throws:
SQLException
-
launchUninstallQuery
public final void launchUninstallQuery(Connection c, String query) throws IOException, SQLException
- Specified by:
launchUninstallQueryin interfaceDbExtension- Specified by:
launchUninstallQueryin classDbAdapter- Throws:
IOExceptionSQLException
-
setCurrentPassword
public final void setCurrentPassword(Connection c, String password) throws SQLException
- Specified by:
setCurrentPasswordin interfaceDbExtension- Specified by:
setCurrentPasswordin classDbAdapter- Throws:
SQLException
-
-