• 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: ERCoreBusinessLogic docume-anything
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERCoreBusinessLogic docume-anything


  • Subject: Re: ERCoreBusinessLogic docume-anything
  • From: Ramsey Gurley <email@hidden>
  • Date: Tue, 28 Jun 2011 11:42:23 -0700

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 Jun 28, 2011, at 11:14 AM, Michael Gargano wrote:

huh, cool.  i did not know that.  thanks.

-mike

On Jun 28, 2011, at 2:06 PM, Chuck Hill <email@hidden> wrote:


On Jun 28, 2011, at 10:58 AM, Michael Gargano wrote:

Hi all,

It seems that all the cool kids are using ERCoreBusinessLogic, but I can't find a lick of documentation on it.

Cool kids don't write documentation, they write code.  ;-)


I guess I only know the secret handshake, not the super-secret handshake.  :)

From poking around, I know that it logs and sends e-mails based on EO changes, but I wanted to know if it can be used to just log solely to the DB.  Anything out there on setting this up?  Should I check in the necronomicon perhaps?  :)

No idea, but log4j can log to a database.


Chuck and going to back to the library


-- 
Chuck Hill             Senior Consultant / VP Development

Come to WOWODC this July for unparalleled WO learning opportunities and real peer to peer problem solving!  Network, socialize, and enjoy a great cosmopolitan city.  See you there!  http://www.wocommunity.org/wowodc11/
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: ERCoreBusinessLogic docume-anything
      • From: Michael Gargano <email@hidden>
    • Re: ERCoreBusinessLogic docume-anything
      • From: Ramsey Gurley <email@hidden>
References: 
 >ERCoreBusinessLogic docume-anything (From: Michael Gargano <email@hidden>)
 >Re: ERCoreBusinessLogic docume-anything (From: Chuck Hill <email@hidden>)
 >Re: ERCoreBusinessLogic docume-anything (From: Michael Gargano <email@hidden>)

  • Prev by Date: Re: state of apns?
  • Next by Date: Re: ERCoreBusinessLogic docume-anything
  • Previous by thread: Re: ERCoreBusinessLogic docume-anything
  • Next by thread: Re: ERCoreBusinessLogic docume-anything
  • Index(es):
    • Date
    • Thread