Class DbCrmAdapter
- java.lang.Object
-
- com.openindex.openestate.tool.crm.extensions.DbCrmAdapter
-
- All Implemented Interfaces:
DbCrmExtension
,BasicExtension
,org.pf4j.ExtensionPoint
- Direct Known Subclasses:
HSqlDbCrmExtension
public abstract class DbCrmAdapter extends Object implements DbCrmExtension
DbCrmAdapter.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description DbCrmAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DbCrmActivityHandler
getCrmActivityHandler()
abstract DbCrmMarketingHandler
getCrmMarketingHandler()
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
-
getCrmActivityHandler
public abstract DbCrmActivityHandler getCrmActivityHandler()
- Specified by:
getCrmActivityHandler
in interfaceDbCrmExtension
-
getCrmMarketingHandler
public abstract DbCrmMarketingHandler getCrmMarketingHandler()
- Specified by:
getCrmMarketingHandler
in interfaceDbCrmExtension
-
getRequiredPluginIds
public String[] getRequiredPluginIds()
- Specified by:
getRequiredPluginIds
in interfaceBasicExtension
-
getRequiredProcedures
public abstract String[] getRequiredProcedures()
- Specified by:
getRequiredProcedures
in interfaceDbCrmExtension
-
getRequiredViews
public abstract String[] getRequiredViews()
- Specified by:
getRequiredViews
in interfaceDbCrmExtension
-
getSupportedDrivers
public abstract String[] getSupportedDrivers()
- Specified by:
getSupportedDrivers
in interfaceDbCrmExtension
-
getUninstallQuery
public abstract String getUninstallQuery() throws IOException
- Specified by:
getUninstallQuery
in interfaceDbCrmExtension
- Throws:
IOException
-
getUpdateHandler
public abstract DbUpdateHandler getUpdateHandler()
- Specified by:
getUpdateHandler
in interfaceDbCrmExtension
-
install
public abstract void install(Connection c) throws IOException, SQLException
- Specified by:
install
in interfaceDbCrmExtension
- Throws:
IOException
SQLException
-
isSupportedDriver
public final boolean isSupportedDriver(String driverName)
- Specified by:
isSupportedDriver
in interfaceDbCrmExtension
-
repair
public void repair(Connection c, AbstractDbDriver driver) throws SQLException
- Specified by:
repair
in interfaceDbCrmExtension
- Throws:
SQLException
-
-