|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.BaseService toolbox.services.dao.DaoService toolbox.services.util.audit.AuditServiceDbImpl
public class AuditServiceDbImpl
An AuditService implementation that stores and retrieves AuditEntries using a RDBMS.
The schema required by this implemention is defined in the
share/sql/audit_table.sql
file.
Constructor Summary | |
---|---|
AuditServiceDbImpl()
Default constructor. |
Method Summary | |
---|---|
void |
addEntry(AuditEntry entry)
Add an AuditEntry to the persistent store. |
java.util.List |
findEntries(AuditEntryTO entryTO)
Find AuditEntry instances. |
Methods inherited from class toolbox.services.dao.DaoService |
---|
checkConstraint, create, destroy, doCustomQuery, doCustomQuery, getDaoManager, getDaoWorker, getNextSequenceValue, insertDaoBean, insertDaoBean, updateDaoBean, updateDaoBean |
Methods inherited from class toolbox.services.BaseService |
---|
getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuditServiceDbImpl()
Method Detail |
---|
public void addEntry(AuditEntry entry) throws ServiceException
addEntry
in interface AuditService
entry
- The AuditEntry to add.
ServiceException
- if the entry cannot be added.public java.util.List findEntries(AuditEntryTO entryTO) throws ServiceException
findEntries
in interface AuditService
entryTO
- AuditEntryTO instance containing query parameters.
ServiceException
- if the entries cannot be retreived.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |