Class GetAuditLog
java.lang.Object
org.deltava.dao.DAO
org.deltava.dao.GetAuditLog
A Data Access Object to read the audit log for an object.
- Since:
- 7.4
- Version:
- 10.0
- Author:
- Luke
-
Field Summary
Fields inherited from class org.deltava.dao.DAO
_queryMax, _queryStart, _queryTimeout, WGS84_SRID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLoads all Audit log entries.Loads all Audit log entries for a given object.Methods inherited from class org.deltava.dao.DAO
commitTransaction, createTimestamp, executeIDs, executeUpdate, executeUpdate, expandDate, formatDBName, formatLocation, getNewID, getQueryCount, prepare, prepareWithoutLimits, rollbackTransaction, setQueryMax, setQueryStart, setQueryTimeout, startTransaction, toID, toID, toInstant
-
Constructor Details
-
GetAuditLog
Initializes the Data Access Object.- Parameters:
c
- the JDBC connection to use
-
-
Method Details
-
getEntries
Loads all Audit log entries for a given object.- Parameters:
a
- the Auditable object- Returns:
- a Collection of AuditLog beans
- Throws:
DAOException
- if a JDBC error occurs
-
getEntries
Loads all Audit log entries.- Returns:
- a Collection of AuditLog beans
- Throws:
DAOException
- if a JDBC error occurs
-