Package com.axelor.db.audit
Class AuditTracker
java.lang.Object
com.axelor.db.audit.AuditTracker
- All Implemented Interfaces:
BeforeTransactionCompletionProcess
This class provides change tracking for auditing and notifications.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
getTrackedCustomFields
(Model model) void
Record the changes as a notification message.void
-
Constructor Details
-
AuditTracker
public AuditTracker()
-
-
Method Details
-
getTrackedCustomFields
-
track
Record the changes as a notification message.- Parameters:
entity
- the object being trackednames
- the field namesstate
- current valuespreviousState
- old values
-
deleted
-
updated
-
doBeforeTransactionCompletion
- Specified by:
doBeforeTransactionCompletion
in interfaceBeforeTransactionCompletionProcess
-