Class HSqlDbContactsEntryLogHandler
- java.lang.Object
-
- com.openindex.openestate.tool.db.DbLogHandlerImpl
-
- com.openindex.openestate.tool.db.hsql.HSqlDbLogHandler
-
- com.openindex.openestate.tool.contacts.db.hsql.HSqlDbContactsEntryLogHandler
-
- All Implemented Interfaces:
DbContactsEntryLogHandler,DbLogHandler
public class HSqlDbContactsEntryLogHandler extends HSqlDbLogHandler implements DbContactsEntryLogHandler
HSqlDbContactsEntryLogHandler.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static StringFIELD_ENTRY_IDstatic StringPROC_SAVE_ENTRY_LOGSstatic StringVIEW_ENTRY_LOGS-
Fields inherited from class com.openindex.openestate.tool.db.hsql.HSqlDbLogHandler
FIELD_CHANGE_KEY, FIELD_CHANGE_VALUE_NEW, FIELD_CHANGE_VALUE_OLD, FIELD_LOG_ENTRY_ACTION, FIELD_LOG_ENTRY_TYPE, FIELD_LOG_ID, FIELD_LOG_NOTES, FIELD_LOG_TEXT, PROC_REMOVE_LOGS, PROC_REMOVE_LOGS_CHANGES, PROC_SAVE_LOGS, PROC_SAVE_LOGS_CHANGES, VIEW_LOGS_CHANGES
-
-
Constructor Summary
Constructors Constructor Description HSqlDbContactsEntryLogHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DbLogbuildLog(ResultSet result)protected DbLogcreateLog()long[]getLogIds(Connection c, long[] entryIds, String entryAction)DbLog[]getLogs(Connection c, long[] ids)DbLog[]getLogs(Connection c, long[] entryIds, String entryAction)protected voidsaveLogAdditionally(Connection c, DbLog log, long logId, List<Statement> statements)-
Methods inherited from class com.openindex.openestate.tool.db.hsql.HSqlDbLogHandler
buildLogChange, loadChanges, removeLogs, saveLog
-
Methods inherited from class com.openindex.openestate.tool.db.DbLogHandlerImpl
getLog, getLogIds, getLogIds, getLogs, loadChanges, removeLog
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.openindex.openestate.tool.db.DbLogHandler
getLog, getLogIds, getLogIds, getLogs, loadChanges, loadChanges, removeLog, removeLogs, saveLog
-
-
-
-
Field Detail
-
VIEW_ENTRY_LOGS
public static final String VIEW_ENTRY_LOGS
- See Also:
- Constant Field Values
-
PROC_SAVE_ENTRY_LOGS
public static final String PROC_SAVE_ENTRY_LOGS
- See Also:
- Constant Field Values
-
FIELD_ENTRY_ID
public static final String FIELD_ENTRY_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildLog
protected DbLog buildLog(ResultSet result) throws SQLException
- Overrides:
buildLogin classHSqlDbLogHandler- Throws:
SQLException
-
createLog
protected DbLog createLog()
- Specified by:
createLogin classDbLogHandlerImpl
-
getLogs
public DbLog[] getLogs(Connection c, long[] ids) throws SQLException
- Specified by:
getLogsin interfaceDbLogHandler- Specified by:
getLogsin classDbLogHandlerImpl- Throws:
SQLException
-
getLogs
public DbLog[] getLogs(Connection c, long[] entryIds, String entryAction) throws SQLException
- Specified by:
getLogsin interfaceDbLogHandler- Specified by:
getLogsin classDbLogHandlerImpl- Throws:
SQLException
-
getLogIds
public long[] getLogIds(Connection c, long[] entryIds, String entryAction) throws SQLException
- Specified by:
getLogIdsin interfaceDbLogHandler- Specified by:
getLogIdsin classDbLogHandlerImpl- Throws:
SQLException
-
saveLogAdditionally
protected void saveLogAdditionally(Connection c, DbLog log, long logId, List<Statement> statements) throws SQLException
- Overrides:
saveLogAdditionallyin classHSqlDbLogHandler- Throws:
SQLException
-
-