public abstract class HSqlDbLogHandler extends DbLogHandlerImpl
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_CHANGE_KEY |
static String |
FIELD_CHANGE_VALUE_NEW |
static String |
FIELD_CHANGE_VALUE_OLD |
static String |
FIELD_LOG_ENTRY_ACTION |
static String |
FIELD_LOG_ENTRY_TYPE |
static String |
FIELD_LOG_ID |
static String |
FIELD_LOG_NOTES |
static String |
FIELD_LOG_TEXT |
static String |
PROC_REMOVE_LOGS |
static String |
PROC_REMOVE_LOGS_CHANGES |
static String |
PROC_SAVE_LOGS |
static String |
PROC_SAVE_LOGS_CHANGES |
static String |
VIEW_LOGS_CHANGES |
Constructor and Description |
---|
HSqlDbLogHandler() |
Modifier and Type | Method and Description |
---|---|
protected DbLog |
buildLog(ResultSet result) |
protected DbLogChange |
buildLogChange(ResultSet result) |
void |
loadChanges(Connection c,
DbLog[] logs) |
void |
removeLogs(Connection c,
long[] ids) |
void |
saveLog(Connection c,
DbLog log) |
protected void |
saveLogAdditionally(Connection c,
DbLog log,
long logId,
List<Statement> statements) |
public static final String PROC_REMOVE_LOGS
public static final String PROC_REMOVE_LOGS_CHANGES
public static final String PROC_SAVE_LOGS
public static final String PROC_SAVE_LOGS_CHANGES
public static final String VIEW_LOGS_CHANGES
public static final String FIELD_LOG_ID
public static final String FIELD_LOG_ENTRY_TYPE
public static final String FIELD_LOG_ENTRY_ACTION
public static final String FIELD_LOG_TEXT
public static final String FIELD_LOG_NOTES
public static final String FIELD_CHANGE_KEY
public static final String FIELD_CHANGE_VALUE_OLD
public static final String FIELD_CHANGE_VALUE_NEW
protected DbLog buildLog(ResultSet result) throws SQLException
SQLException
protected DbLogChange buildLogChange(ResultSet result) throws SQLException
SQLException
public void loadChanges(Connection c, DbLog[] logs) throws SQLException
loadChanges
in interface DbLogHandler
loadChanges
in class DbLogHandlerImpl
SQLException
public void removeLogs(Connection c, long[] ids) throws SQLException
removeLogs
in interface DbLogHandler
removeLogs
in class DbLogHandlerImpl
SQLException
public void saveLog(Connection c, DbLog log) throws SQLException
saveLog
in interface DbLogHandler
saveLog
in class DbLogHandlerImpl
SQLException
protected void saveLogAdditionally(Connection c, DbLog log, long logId, List<Statement> statements) throws SQLException
SQLException
Copyright © 2015 OpenEstate. All rights reserved.