|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.janrufmonitor.repository.db.AbstractDatabaseHandler
de.janrufmonitor.repository.db.AbstractCallDatabaseHandler
de.janrufmonitor.repository.db.hsqldb.HsqldbCallDatabaseHandler
public abstract class HsqldbCallDatabaseHandler
| Field Summary |
|---|
| Fields inherited from class de.janrufmonitor.repository.db.AbstractDatabaseHandler |
|---|
commit_count, m_con, m_logger, m_preparedStatements |
| Constructor Summary | |
|---|---|
HsqldbCallDatabaseHandler(String driver,
String connection,
String user,
String password,
boolean initialize)
|
|
| Method Summary | |
|---|---|
protected int |
buildCallCount(IFilter[] filters)
Counts the calls withe a proper database query. |
protected ICallList |
buildCallList(IFilter[] filters)
Create the call list from a query of the database. |
protected ICallList |
buildCallList(IFilter[] filters,
int count,
int offset)
Create the call list from a query of the database. |
void |
commit()
Commits the changed data to the database. |
protected void |
createTables()
Creates the database table. |
void |
disconnect()
Disconnects the current db and shuts it down. |
void |
setInitializing(boolean init)
Sets the initinal attribute of the database. |
| Methods inherited from class de.janrufmonitor.repository.db.AbstractCallDatabaseHandler |
|---|
addPreparedStatements, deleteCallList, getCallCount, getCallList, getCallList, setCallList, updateCallList |
| Methods inherited from class de.janrufmonitor.repository.db.AbstractDatabaseHandler |
|---|
connect, createAttributes, deleteAttributes, getRuntime, getStatement, isConnected, isInitializing, isKeepAlive, rollback, setCommitCount, setKeepAlive, updateAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.janrufmonitor.repository.db.IDatabaseHandler |
|---|
connect, isConnected, isKeepAlive, rollback, setCommitCount, setKeepAlive |
| Constructor Detail |
|---|
public HsqldbCallDatabaseHandler(String driver,
String connection,
String user,
String password,
boolean initialize)
| Method Detail |
|---|
public void disconnect()
throws SQLException
AbstractDatabaseHandler
disconnect in interface IDatabaseHandlerdisconnect in class AbstractDatabaseHandlerSQLException
public void commit()
throws SQLException
AbstractDatabaseHandler
commit in interface IDatabaseHandlercommit in class AbstractDatabaseHandlerSQLException
protected void createTables()
throws SQLException
AbstractDatabaseHandler
createTables in class AbstractCallDatabaseHandlerSQLException
protected ICallList buildCallList(IFilter[] filters)
throws SQLException
AbstractCallDatabaseHandler
buildCallList in class AbstractCallDatabaseHandlerfilters - filters applied to the result
SQLException
protected ICallList buildCallList(IFilter[] filters,
int count,
int offset)
throws SQLException
AbstractCallDatabaseHandler
buildCallList in class AbstractCallDatabaseHandlerfilters - filters applied to the result
SQLException
protected int buildCallCount(IFilter[] filters)
throws SQLException
AbstractCallDatabaseHandler
buildCallCount in class AbstractCallDatabaseHandlerfilters - filters applied to the result
SQLExceptionpublic void setInitializing(boolean init)
AbstractDatabaseHandler
setInitializing in class AbstractDatabaseHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||