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 DbCrmActivityHandlergetCrmActivityHandler()abstract DbCrmMarketingHandlergetCrmMarketingHandler()String[]getRequiredPluginIds()abstract String[]getRequiredProcedures()abstract String[]getRequiredViews()abstract String[]getSupportedDrivers()abstract StringgetUninstallQuery()abstract DbUpdateHandlergetUpdateHandler()abstract voidinstall(Connection c)booleanisSupportedDriver(String driverName)voidrepair(Connection c, AbstractDbDriver driver)
-
-
-
Method Detail
-
getCrmActivityHandler
public abstract DbCrmActivityHandler getCrmActivityHandler()
- Specified by:
getCrmActivityHandlerin interfaceDbCrmExtension
-
getCrmMarketingHandler
public abstract DbCrmMarketingHandler getCrmMarketingHandler()
- Specified by:
getCrmMarketingHandlerin interfaceDbCrmExtension
-
getRequiredPluginIds
public String[] getRequiredPluginIds()
- Specified by:
getRequiredPluginIdsin interfaceBasicExtension
-
getRequiredProcedures
public abstract String[] getRequiredProcedures()
- Specified by:
getRequiredProceduresin interfaceDbCrmExtension
-
getRequiredViews
public abstract String[] getRequiredViews()
- Specified by:
getRequiredViewsin interfaceDbCrmExtension
-
getSupportedDrivers
public abstract String[] getSupportedDrivers()
- Specified by:
getSupportedDriversin interfaceDbCrmExtension
-
getUninstallQuery
public abstract String getUninstallQuery() throws IOException
- Specified by:
getUninstallQueryin interfaceDbCrmExtension- Throws:
IOException
-
getUpdateHandler
public abstract DbUpdateHandler getUpdateHandler()
- Specified by:
getUpdateHandlerin interfaceDbCrmExtension
-
install
public abstract void install(Connection c) throws IOException, SQLException
- Specified by:
installin interfaceDbCrmExtension- Throws:
IOExceptionSQLException
-
isSupportedDriver
public final boolean isSupportedDriver(String driverName)
- Specified by:
isSupportedDriverin interfaceDbCrmExtension
-
repair
public void repair(Connection c, AbstractDbDriver driver) throws SQLException
- Specified by:
repairin interfaceDbCrmExtension- Throws:
SQLException
-
-