org.apache.cayenne.lifecycle.audit
Interface AuditableProcessor
public interface AuditableProcessor
A superclass of application specific handlers of the Auditable annotation, that
provides basic needed callbacks.
- Since:
- 3.1
audit
void audit(Object object,
AuditableOperation operation)
- A method called by
AuditableFilter that should audit records as appropriate
in a given application. Implementors may insert audit records in DB, log a message,
etc.
- Parameters:
object - the root auditable object. This is an object that is either annotated
with Auditable or pointed to by another object annotated with
AuditableChild.operation - a type of object change.
Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.