Package com.openindex.openestate.tool.db
Interface DbLogHandler
-
- All Known Subinterfaces:
DbAgencyObjectLogsHandler
,DbCalendarEntryLogHandler
,DbContactsEntryLogHandler
- All Known Implementing Classes:
DbLogHandlerImpl
,HSqlDbAgencyObjectLogsHandler
,HSqlDbCalendarEntryLogHandler
,HSqlDbContactsEntryLogHandler
,HSqlDbLogHandler
public interface DbLogHandler
DbLogHandler.- Author:
- Andreas Rudolph
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DbLog
getLog(Connection c, long id)
long[]
getLogIds(Connection c)
long[]
getLogIds(Connection c, long[] entryIds, String entryAction)
long[]
getLogIds(Connection c, long entryId, String entryAction)
DbLog[]
getLogs(Connection c, long[] ids)
DbLog[]
getLogs(Connection c, long[] entryIds, String entryAction)
DbLog[]
getLogs(Connection c, long entryId, String entryAction)
void
loadChanges(Connection c, DbLog log)
void
loadChanges(Connection c, DbLog[] logs)
void
removeLog(Connection c, long id)
void
removeLogs(Connection c, long[] ids)
void
saveLog(Connection c, DbLog log)
-
-
-
Method Detail
-
getLog
DbLog getLog(Connection c, long id) throws SQLException
- Throws:
SQLException
-
getLogs
DbLog[] getLogs(Connection c, long[] ids) throws SQLException
- Throws:
SQLException
-
getLogs
DbLog[] getLogs(Connection c, long entryId, String entryAction) throws SQLException
- Throws:
SQLException
-
getLogs
DbLog[] getLogs(Connection c, long[] entryIds, String entryAction) throws SQLException
- Throws:
SQLException
-
getLogIds
long[] getLogIds(Connection c) throws SQLException
- Throws:
SQLException
-
getLogIds
long[] getLogIds(Connection c, long entryId, String entryAction) throws SQLException
- Throws:
SQLException
-
getLogIds
long[] getLogIds(Connection c, long[] entryIds, String entryAction) throws SQLException
- Throws:
SQLException
-
loadChanges
void loadChanges(Connection c, DbLog log) throws SQLException
- Throws:
SQLException
-
loadChanges
void loadChanges(Connection c, DbLog[] logs) throws SQLException
- Throws:
SQLException
-
removeLog
void removeLog(Connection c, long id) throws SQLException
- Throws:
SQLException
-
removeLogs
void removeLogs(Connection c, long[] ids) throws SQLException
- Throws:
SQLException
-
saveLog
void saveLog(Connection c, DbLog log) throws SQLException
- Throws:
SQLException
-
-