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
SQLExceptionprotected DbLogChange buildLogChange(ResultSet result) throws SQLException
SQLExceptionpublic void loadChanges(Connection c, DbLog[] logs) throws SQLException
loadChanges in interface DbLogHandlerloadChanges in class DbLogHandlerImplSQLExceptionpublic void removeLogs(Connection c, long[] ids) throws SQLException
removeLogs in interface DbLogHandlerremoveLogs in class DbLogHandlerImplSQLExceptionpublic void saveLog(Connection c, DbLog log) throws SQLException
saveLog in interface DbLogHandlersaveLog in class DbLogHandlerImplSQLExceptionprotected void saveLogAdditionally(Connection c, DbLog log, long logId, List<Statement> statements) throws SQLException
SQLExceptionCopyright © 2015 OpenEstate. All rights reserved.