Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
override saveChanges()
  self.processRecentChanges()
  foreach obj (self.changedObjects)
    obj.auditTrailChanged()
  foreach obj (self.insertedObjects)
    obj.auditTrailChanged()
  foreach obj (self.deletedObjects)
    obj.auditTrailChanged()
  super.saveChanges()

Houdah Frameworks:

(scooped from the mailinglist)

Take a look at Houdah Frameworks. I think the Audit Trail 12 solution provided by this framework could be helpful.

The Wonder Bug Tracker application also includes support for audit trail. Maybe you can learn something from there.

1#1http://code.google.com/p/houdah-webobjects-frameworks/wiki/HoudahAuditTrail
2 #2http://code.google.com/p/houdah-webobjects-frameworks/wiki/AuditTrail

Dov Rosenberg

(scooped from the mailinglist)

Most of the projects I worked on with this requirement used the built in audit tracking functions of the database. Most DBA's didn't leave the requirement to the developers to enforce. That way everything is tracked in a consistent fashion across applications.

Ken Anderson

(scooped from the mailinglist)

...