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 DbNewsHandler
getNewsHandler()
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
-
getNewsHandler
public abstract DbNewsHandler getNewsHandler()
- Specified by:
getNewsHandler
in interfaceDbNewsExtension
-
getRequiredPluginIds
public String[] getRequiredPluginIds()
- Specified by:
getRequiredPluginIds
in interfaceBasicExtension
-
getRequiredProcedures
public abstract String[] getRequiredProcedures()
- Specified by:
getRequiredProcedures
in interfaceDbNewsExtension
-
getRequiredViews
public abstract String[] getRequiredViews()
- Specified by:
getRequiredViews
in interfaceDbNewsExtension
-
getSupportedDrivers
public abstract String[] getSupportedDrivers()
- Specified by:
getSupportedDrivers
in interfaceDbNewsExtension
-
getUninstallQuery
public abstract String getUninstallQuery() throws IOException
- Specified by:
getUninstallQuery
in interfaceDbNewsExtension
- Throws:
IOException
-
getUpdateHandler
public abstract DbUpdateHandler getUpdateHandler()
- Specified by:
getUpdateHandler
in interfaceDbNewsExtension
-
install
public abstract void install(Connection c) throws IOException, SQLException
- Specified by:
install
in interfaceDbNewsExtension
- Throws:
IOException
SQLException
-
isSupportedDriver
public final boolean isSupportedDriver(String driverName)
- Specified by:
isSupportedDriver
in interfaceDbNewsExtension
-
repair
public void repair(Connection c, AbstractDbDriver driver) throws SQLException
- Specified by:
repair
in interfaceDbNewsExtension
- Throws:
SQLException
-
-