public abstract class DbLogHandlerImpl extends Object implements DbLogHandler
Constructor and Description |
---|
DbLogHandlerImpl() |
Modifier and Type | Method and Description |
---|---|
protected abstract DbLog |
createLog() |
DbLog |
getLog(Connection c,
long id) |
long[] |
getLogIds(Connection c) |
abstract long[] |
getLogIds(Connection c,
long[] entryIds,
String entryAction) |
long[] |
getLogIds(Connection c,
long entryId,
String entryAction) |
abstract DbLog[] |
getLogs(Connection c,
long[] ids) |
abstract DbLog[] |
getLogs(Connection c,
long[] entryIds,
String entryAction) |
DbLog[] |
getLogs(Connection c,
long entryId,
String entryAction) |
void |
loadChanges(Connection c,
DbLog log) |
abstract void |
loadChanges(Connection c,
DbLog[] logs) |
void |
removeLog(Connection c,
long id) |
abstract void |
removeLogs(Connection c,
long[] ids) |
abstract void |
saveLog(Connection c,
DbLog log) |
protected abstract DbLog createLog()
public final DbLog getLog(Connection c, long id) throws SQLException
getLog
in interface DbLogHandler
SQLException
public abstract DbLog[] getLogs(Connection c, long[] ids) throws SQLException
getLogs
in interface DbLogHandler
SQLException
public final DbLog[] getLogs(Connection c, long entryId, String entryAction) throws SQLException
getLogs
in interface DbLogHandler
SQLException
public abstract DbLog[] getLogs(Connection c, long[] entryIds, String entryAction) throws SQLException
getLogs
in interface DbLogHandler
SQLException
public final long[] getLogIds(Connection c) throws SQLException
getLogIds
in interface DbLogHandler
SQLException
public final long[] getLogIds(Connection c, long entryId, String entryAction) throws SQLException
getLogIds
in interface DbLogHandler
SQLException
public abstract long[] getLogIds(Connection c, long[] entryIds, String entryAction) throws SQLException
getLogIds
in interface DbLogHandler
SQLException
public final void loadChanges(Connection c, DbLog log) throws SQLException
loadChanges
in interface DbLogHandler
SQLException
public abstract void loadChanges(Connection c, DbLog[] logs) throws SQLException
loadChanges
in interface DbLogHandler
SQLException
public final void removeLog(Connection c, long id) throws SQLException
removeLog
in interface DbLogHandler
SQLException
public abstract void removeLogs(Connection c, long[] ids) throws SQLException
removeLogs
in interface DbLogHandler
SQLException
public abstract void saveLog(Connection c, DbLog log) throws SQLException
saveLog
in interface DbLogHandler
SQLException
Copyright © 2015 OpenEstate. All rights reserved.