Class HSqlDbCalendarEntryLogHandler
- java.lang.Object
-
- com.openindex.openestate.tool.db.DbLogHandlerImpl
-
- com.openindex.openestate.tool.db.hsql.HSqlDbLogHandler
-
- com.openindex.openestate.tool.calendar.db.hsql.HSqlDbCalendarEntryLogHandler
-
- All Implemented Interfaces:
DbCalendarEntryLogHandler
,DbLogHandler
public class HSqlDbCalendarEntryLogHandler extends HSqlDbLogHandler implements DbCalendarEntryLogHandler
HSqlDbCalendarEntryLogHandler.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_ENTRY_ID
static String
PROC_SAVE_ENTRY_LOGS
static String
VIEW_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 HSqlDbCalendarEntryLogHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DbLog
buildLog(ResultSet result)
protected DbLog
createLog()
long[]
getLogIds(Connection c, long[] entryIds, String entryAction)
DbLog[]
getLogs(Connection c, long[] ids)
DbLog[]
getLogs(Connection c, long[] entryIds, String entryAction)
protected void
saveLogAdditionally(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:
buildLog
in classHSqlDbLogHandler
- Throws:
SQLException
-
createLog
protected DbLog createLog()
- Specified by:
createLog
in classDbLogHandlerImpl
-
getLogs
public DbLog[] getLogs(Connection c, long[] ids) throws SQLException
- Specified by:
getLogs
in interfaceDbLogHandler
- Specified by:
getLogs
in classDbLogHandlerImpl
- Throws:
SQLException
-
getLogs
public DbLog[] getLogs(Connection c, long[] entryIds, String entryAction) throws SQLException
- Specified by:
getLogs
in interfaceDbLogHandler
- Specified by:
getLogs
in classDbLogHandlerImpl
- Throws:
SQLException
-
getLogIds
public long[] getLogIds(Connection c, long[] entryIds, String entryAction) throws SQLException
- Specified by:
getLogIds
in interfaceDbLogHandler
- Specified by:
getLogIds
in classDbLogHandlerImpl
- Throws:
SQLException
-
saveLogAdditionally
protected void saveLogAdditionally(Connection c, DbLog log, long logId, List<Statement> statements) throws SQLException
- Overrides:
saveLogAdditionally
in classHSqlDbLogHandler
- Throws:
SQLException
-
-