Class DbContactsAdapter
- java.lang.Object
-
- com.openindex.openestate.tool.contacts.extensions.DbContactsAdapter
-
- All Implemented Interfaces:
DbContactsExtension
,BasicExtension
,org.pf4j.ExtensionPoint
- Direct Known Subclasses:
HSqlDbContactsExtension
public abstract class DbContactsAdapter extends Object implements DbContactsExtension
DbContactsAdapter.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description DbContactsAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DbContactsEntryLogHandler
getContactsEntryLogHandler()
abstract DbContactsHandler
getContactsHandler()
String[]
getRequiredPluginIds()
abstract String[]
getRequiredProcedures()
abstract String[]
getRequiredViews()
abstract String[]
getSupportedDrivers()
abstract String
getUninstallQuery()
abstract DbUpdateHandler
getUpdateHandler()
abstract void
install(Connection c)
boolean
isSupportedDriver(String driverName)
void
repair(Connection c, AbstractDbDriver driver)
-
-
-
Method Detail
-
getContactsEntryLogHandler
public abstract DbContactsEntryLogHandler getContactsEntryLogHandler()
- Specified by:
getContactsEntryLogHandler
in interfaceDbContactsExtension
-
getContactsHandler
public abstract DbContactsHandler getContactsHandler()
- Specified by:
getContactsHandler
in interfaceDbContactsExtension
-
getRequiredPluginIds
public String[] getRequiredPluginIds()
- Specified by:
getRequiredPluginIds
in interfaceBasicExtension
-
getRequiredProcedures
public abstract String[] getRequiredProcedures()
- Specified by:
getRequiredProcedures
in interfaceDbContactsExtension
-
getRequiredViews
public abstract String[] getRequiredViews()
- Specified by:
getRequiredViews
in interfaceDbContactsExtension
-
getSupportedDrivers
public abstract String[] getSupportedDrivers()
- Specified by:
getSupportedDrivers
in interfaceDbContactsExtension
-
getUninstallQuery
public abstract String getUninstallQuery() throws IOException
- Specified by:
getUninstallQuery
in interfaceDbContactsExtension
- Throws:
IOException
-
getUpdateHandler
public abstract DbUpdateHandler getUpdateHandler()
- Specified by:
getUpdateHandler
in interfaceDbContactsExtension
-
install
public abstract void install(Connection c) throws IOException, SQLException
- Specified by:
install
in interfaceDbContactsExtension
- Throws:
IOException
SQLException
-
isSupportedDriver
public final boolean isSupportedDriver(String driverName)
- Specified by:
isSupportedDriver
in interfaceDbContactsExtension
-
repair
public void repair(Connection c, AbstractDbDriver driver) throws SQLException
- Specified by:
repair
in interfaceDbContactsExtension
- Throws:
SQLException
-
-