|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fiveamsolutions.nci.commons.audit.DefaultProcessor
gov.nih.nci.caarray.util.CaArrayAuditLogProcessor
public class CaArrayAuditLogProcessor
Method Summary | |
---|---|
com.fiveamsolutions.nci.commons.audit.AuditLogDetail |
addDetail(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record,
java.lang.String attribute,
java.lang.String message)
Add audit log detail entry. |
com.fiveamsolutions.nci.commons.audit.AuditLogDetail |
addDetail(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record,
java.lang.String attribute,
java.lang.String message,
java.lang.Object oldVal,
java.lang.Object newVal)
Add audit log detail entry. |
void |
addExperimentDetail(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record,
java.lang.String attribute,
gov.nih.nci.caarray.domain.project.Project project)
Add audit log detail entry for an experiment header. |
void |
addProjectSecurity(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record,
gov.nih.nci.caarray.domain.project.Project project,
java.lang.Long privilegeId)
Add project security access for an audit log record. |
java.util.Map<com.fiveamsolutions.nci.commons.audit.AuditLogRecord,java.util.Set<gov.nih.nci.caarray.domain.audit.AuditLogSecurity>> |
getSecurityEntries()
Returns a mapping of audit records with their associated security entries. |
boolean |
isAuditableEntity(java.lang.Object o)
|
void |
postProcessDetail(org.hibernate.Session session,
java.util.Collection<com.fiveamsolutions.nci.commons.audit.AuditLogRecord> records)
This method is called for any post processing required after the work from processDetail has been saved. |
void |
processDetail(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record,
java.lang.Object entity,
java.io.Serializable key,
java.lang.String property,
java.lang.String columnName,
java.lang.Object oldVal,
java.lang.Object newVal)
|
Methods inherited from class com.fiveamsolutions.nci.commons.audit.DefaultProcessor |
---|
escape, getAutitableClasses, getHibernateHelper, getId, isAuditableClass, isPersistent, newAuditLogRecord, processDetail, processDetailCollection, processDetailMap, processDetailObject, processDetailString, setHibernateHelper, unescape |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isAuditableEntity(java.lang.Object o)
isAuditableEntity
in class com.fiveamsolutions.nci.commons.audit.DefaultProcessor
public void processDetail(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record, java.lang.Object entity, java.io.Serializable key, java.lang.String property, java.lang.String columnName, java.lang.Object oldVal, java.lang.Object newVal)
processDetail
in class com.fiveamsolutions.nci.commons.audit.DefaultProcessor
public void postProcessDetail(org.hibernate.Session session, java.util.Collection<com.fiveamsolutions.nci.commons.audit.AuditLogRecord> records)
session
- hibernate sessionrecords
- collection of audit records to processpublic java.util.Map<com.fiveamsolutions.nci.commons.audit.AuditLogRecord,java.util.Set<gov.nih.nci.caarray.domain.audit.AuditLogSecurity>> getSecurityEntries()
public void addProjectSecurity(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record, gov.nih.nci.caarray.domain.project.Project project, java.lang.Long privilegeId)
record
- audit log recordproject
- associated projectprivilegeId
- privilegepublic void addExperimentDetail(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record, java.lang.String attribute, gov.nih.nci.caarray.domain.project.Project project)
record
- audit log recordattribute
- attributeproject
- projectpublic com.fiveamsolutions.nci.commons.audit.AuditLogDetail addDetail(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record, java.lang.String attribute, java.lang.String message)
record
- audit log recordattribute
- attribute that changedmessage
- message
public com.fiveamsolutions.nci.commons.audit.AuditLogDetail addDetail(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record, java.lang.String attribute, java.lang.String message, java.lang.Object oldVal, java.lang.Object newVal)
record
- audit log recordattribute
- attribute that changedmessage
- messageoldVal
- old valuenewVal
- new value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |