Class DbNewsAdapter
- java.lang.Object
-
- com.openindex.openestate.tool.news.extensions.DbNewsAdapter
-
- All Implemented Interfaces:
BasicExtension,DbNewsExtension,org.pf4j.ExtensionPoint
- Direct Known Subclasses:
HSqlDbNewsExtension
public abstract class DbNewsAdapter extends Object implements DbNewsExtension
DbNewsAdapter.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description DbNewsAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DbNewsHandlergetNewsHandler()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
-
getNewsHandler
public abstract DbNewsHandler getNewsHandler()
- Specified by:
getNewsHandlerin interfaceDbNewsExtension
-
getRequiredPluginIds
public String[] getRequiredPluginIds()
- Specified by:
getRequiredPluginIdsin interfaceBasicExtension
-
getRequiredProcedures
public abstract String[] getRequiredProcedures()
- Specified by:
getRequiredProceduresin interfaceDbNewsExtension
-
getRequiredViews
public abstract String[] getRequiredViews()
- Specified by:
getRequiredViewsin interfaceDbNewsExtension
-
getSupportedDrivers
public abstract String[] getSupportedDrivers()
- Specified by:
getSupportedDriversin interfaceDbNewsExtension
-
getUninstallQuery
public abstract String getUninstallQuery() throws IOException
- Specified by:
getUninstallQueryin interfaceDbNewsExtension- Throws:
IOException
-
getUpdateHandler
public abstract DbUpdateHandler getUpdateHandler()
- Specified by:
getUpdateHandlerin interfaceDbNewsExtension
-
install
public abstract void install(Connection c) throws IOException, SQLException
- Specified by:
installin interfaceDbNewsExtension- Throws:
IOExceptionSQLException
-
isSupportedDriver
public final boolean isSupportedDriver(String driverName)
- Specified by:
isSupportedDriverin interfaceDbNewsExtension
-
repair
public void repair(Connection c, AbstractDbDriver driver) throws SQLException
- Specified by:
repairin interfaceDbNewsExtension- Throws:
SQLException
-
-