• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Audit Class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audit Class


  • Subject: Re: Audit Class
  • From: David Holt <email@hidden>
  • Date: Sun, 03 Jul 2011 11:48:03 -0400

If I'm not mistaken you add the framework, then add the array of attributes you're interested in following to your entity's userinfo dictionary.

Ramsey wrote:

Are you referring to the audit trails?  That's pretty easy to use.  Just include your list of ERXAuditKeys in the userInfo dictionary for the Entity and it handles the rest.  If you include the ERXAuditKeys key with an empty value, it will log all your attributes by default.  Also, the existing audit trail handler doesn't support flattened relationships (many-to-many's) so well, but you can provide your own audit trail handler subclass via a property if you need that.

If you want to track "who" makes changes, you'll also need to set up an actor entity. Otherwise, you just track changes.  Most everything you need to know happens in ERCAuditTrailHandler.java.

Ramsey




On 2011-07-03, at 11:13 AM, Daniel Beatty wrote:

Greetings Dave's, geniuses, Chuck, etc,
I was looking into ERAudit, heard Dave's talk, and foamed at the mouth to get use that framework with my little application.   Not surprising, the documentation is a bit hard to find.   

Could we help each other on this?  If you guide me, I will write the documentation.

Thank you,



Dan Beatty, ABD
Ph.D. Student 
Texas Tech University
email@hidden
http://web.me.com/danielbeatty/My_Home_Page/Welcome.html
(806)438-6620









Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Audit Class
      • From: Daniel Beatty <email@hidden>
References: 
 >Audit Class (From: Daniel Beatty <email@hidden>)

  • Prev by Date: Re: Audit Class
  • Next by Date: Re: Audit Class
  • Previous by thread: Re: Audit Class
  • Next by thread: Re: Audit Class
  • Index(es):
    • Date
    • Thread