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 DbAdminHandler
getAdminHandler()
String
getBaseGroupName()
DbPluginHandler
getPluginHandler()
AbstractRemoteDbDriver[]
getRemoteDrivers()
String[]
getRequiredProcedures()
String[]
getRequiredViews()
String[]
getSupportedDrivers()
String
getSysAdminName()
DbUpdateHandler
getUpdateHandler()
DbUpgradeHandler
getUpgradeHandler()
DbUserHandler
getUserHandler()
void
install(AbstractDbDriver driver)
boolean
isInstalled(AbstractDbDriver driver, List<String> errors)
void
launchUninstallQuery(Connection c, String query)
void
setCurrentPassword(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:
getAdminHandler
in interfaceDbExtension
- Specified by:
getAdminHandler
in classDbAdapter
-
getBaseGroupName
public final String getBaseGroupName()
- Specified by:
getBaseGroupName
in interfaceDbExtension
- Specified by:
getBaseGroupName
in classDbAdapter
-
getPluginHandler
public final DbPluginHandler getPluginHandler()
- Specified by:
getPluginHandler
in interfaceDbExtension
- Specified by:
getPluginHandler
in classDbAdapter
-
getRemoteDrivers
public final AbstractRemoteDbDriver[] getRemoteDrivers()
- Specified by:
getRemoteDrivers
in interfaceDbExtension
- Specified by:
getRemoteDrivers
in classDbAdapter
-
getRequiredProcedures
public final String[] getRequiredProcedures()
- Specified by:
getRequiredProcedures
in interfaceDbExtension
- Specified by:
getRequiredProcedures
in classDbAdapter
-
getRequiredViews
public final String[] getRequiredViews()
- Specified by:
getRequiredViews
in interfaceDbExtension
- Specified by:
getRequiredViews
in classDbAdapter
-
getSupportedDrivers
public final String[] getSupportedDrivers()
- Specified by:
getSupportedDrivers
in interfaceDbExtension
- Specified by:
getSupportedDrivers
in classDbAdapter
-
getSysAdminName
public final String getSysAdminName()
- Specified by:
getSysAdminName
in interfaceDbExtension
- Specified by:
getSysAdminName
in classDbAdapter
-
getUpdateHandler
public DbUpdateHandler getUpdateHandler()
- Specified by:
getUpdateHandler
in interfaceDbExtension
- Specified by:
getUpdateHandler
in classDbAdapter
-
getUpgradeHandler
public DbUpgradeHandler getUpgradeHandler()
- Specified by:
getUpgradeHandler
in interfaceDbExtension
- Specified by:
getUpgradeHandler
in classDbAdapter
-
getUserHandler
public DbUserHandler getUserHandler()
- Specified by:
getUserHandler
in interfaceDbExtension
- Specified by:
getUserHandler
in classDbAdapter
-
install
public final void install(AbstractDbDriver driver) throws IOException, SQLException
- Specified by:
install
in interfaceDbExtension
- Specified by:
install
in classDbAdapter
- Throws:
IOException
SQLException
-
isInstalled
public final boolean isInstalled(AbstractDbDriver driver, List<String> errors) throws SQLException
- Specified by:
isInstalled
in interfaceDbExtension
- Specified by:
isInstalled
in classDbAdapter
- Throws:
SQLException
-
launchUninstallQuery
public final void launchUninstallQuery(Connection c, String query) throws IOException, SQLException
- Specified by:
launchUninstallQuery
in interfaceDbExtension
- Specified by:
launchUninstallQuery
in classDbAdapter
- Throws:
IOException
SQLException
-
setCurrentPassword
public final void setCurrentPassword(Connection c, String password) throws SQLException
- Specified by:
setCurrentPassword
in interfaceDbExtension
- Specified by:
setCurrentPassword
in classDbAdapter
- Throws:
SQLException
-
-