gov.nih.nci.caarray.util.audit
Class GroupHandler

java.lang.Object
  extended by gov.nih.nci.caarray.util.audit.AbstractAuditEntityHandler<gov.nih.nci.security.authorization.domainobjects.Group>
      extended by gov.nih.nci.caarray.util.audit.GroupHandler

public class GroupHandler
extends AbstractAuditEntityHandler<gov.nih.nci.security.authorization.domainobjects.Group>

Author:
wcheng

Constructor Summary
GroupHandler(CaArrayAuditLogProcessor processor)
           
 
Method Summary
protected  boolean logAdd(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record, gov.nih.nci.security.authorization.domainobjects.Group entity, java.lang.String property, java.lang.String columnName, java.lang.Object oldVal, java.lang.Object newVal)
          Log an addition of an entity.
protected  boolean logUpdate(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record, gov.nih.nci.security.authorization.domainobjects.Group entity, java.lang.String property, java.lang.String columnName, java.lang.Object oldVal, java.lang.Object newVal)
          Log an update to an entity.
 
Methods inherited from class gov.nih.nci.caarray.util.audit.AbstractAuditEntityHandler
getProcessor, logAddOrUpdate, logDelete, logEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupHandler

public GroupHandler(CaArrayAuditLogProcessor processor)
Parameters:
processor - audit log processor
Method Detail

logAdd

protected boolean logAdd(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record,
                         gov.nih.nci.security.authorization.domainobjects.Group entity,
                         java.lang.String property,
                         java.lang.String columnName,
                         java.lang.Object oldVal,
                         java.lang.Object newVal)
Log an addition of an entity.

Overrides:
logAdd in class AbstractAuditEntityHandler<gov.nih.nci.security.authorization.domainobjects.Group>
Parameters:
record - audit log record
entity - entity
property - property
columnName - column
oldVal - old value
newVal - new value
Returns:
true if a log entry was added

logUpdate

protected boolean logUpdate(com.fiveamsolutions.nci.commons.audit.AuditLogRecord record,
                            gov.nih.nci.security.authorization.domainobjects.Group entity,
                            java.lang.String property,
                            java.lang.String columnName,
                            java.lang.Object oldVal,
                            java.lang.Object newVal)
Log an update to an entity.

Overrides:
logUpdate in class AbstractAuditEntityHandler<gov.nih.nci.security.authorization.domainobjects.Group>
Parameters:
record - audit log record
entity - entity
property - property
columnName - column
oldVal - old value
newVal - new value
Returns:
true if a log entry was added