de.janrufmonitor.repository.db.hsqldb
Class HsqldbMultiPhoneCallerDatabaseHandler
java.lang.Object
de.janrufmonitor.repository.db.AbstractDatabaseHandler
de.janrufmonitor.repository.db.AbstractMultiPhoneCallerDatabaseHandler
de.janrufmonitor.repository.db.hsqldb.HsqldbMultiPhoneCallerDatabaseHandler
- All Implemented Interfaces:
- ICallerDatabaseHandler, IDatabaseHandler
public abstract class HsqldbMultiPhoneCallerDatabaseHandler
- extends AbstractMultiPhoneCallerDatabaseHandler
| Methods inherited from class de.janrufmonitor.repository.db.AbstractDatabaseHandler |
connect, createAttributes, deleteAttributes, getRuntime, getStatement, isConnected, isInitializing, isKeepAlive, rollback, setCommitCount, setInitializing, setKeepAlive, updateAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HsqldbMultiPhoneCallerDatabaseHandler
public HsqldbMultiPhoneCallerDatabaseHandler(String driver,
String connection,
String user,
String password,
boolean initialize)
disconnect
public void disconnect()
throws SQLException
- Description copied from class:
AbstractDatabaseHandler
- Disconnects the current db and shuts it down. The connection is set to null.
- Specified by:
disconnect in interface IDatabaseHandler- Overrides:
disconnect in class AbstractDatabaseHandler
- Throws:
SQLException
commit
public void commit()
throws SQLException
- Description copied from class:
AbstractDatabaseHandler
- Commits the changed data to the database.
- Specified by:
commit in interface IDatabaseHandler- Overrides:
commit in class AbstractDatabaseHandler
- Throws:
SQLException
createTables
protected void createTables()
throws SQLException
- Description copied from class:
AbstractDatabaseHandler
- Creates the database table.
- Overrides:
createTables in class AbstractMultiPhoneCallerDatabaseHandler
- Throws:
SQLException
buildCallerList
protected ICallerList buildCallerList(IFilter[] filters)
throws SQLException
- Description copied from class:
AbstractMultiPhoneCallerDatabaseHandler
- Create the caller list from a query of the database. This abstract method
must be implemented by all CallerDatabaseHandler.
- Specified by:
buildCallerList in class AbstractMultiPhoneCallerDatabaseHandler
- Parameters:
filters - filetrs applied to the result
- Returns:
-
- Throws:
SQLException
Copyright © 2010 by Thilo Brandt. All Rights Reserved.