• 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: Enumerating EOs in a new thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enumerating EOs in a new thread


  • Subject: Re: Enumerating EOs in a new thread
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 25 Jan 2008 12:38:37 -0500

If you are using Wonder: there are two methods in ERXEOControlUtilities for getting an array of global ids from an array of eos and vice versa.
The general case version is:

<http://webobjects.mdimension.com/wonder/api/er/extensions/ERXEOControlUtilities.html#convertEOtoGID(java.lang.Object) >
<http://webobjects.mdimension.com/wonder/api/er/extensions/ERXEOControlUtilities.html#convertGIDtoEO(com.webobjects.eocontrol.EOEditingContext, java.lang.Object) >


These will recursively convert arrays/dictionaries/sets/etc that contains EO's into their GID equivalents and back again.

ms

_______________________________________________
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


References: 
 >Enumerating EOs in a new thread (From: Paul Stringer <email@hidden>)
 >Re: Enumerating EOs in a new thread (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Enumerating EOs in a new thread
  • Next by Date: Re: Enumerating EOs in a new thread
  • Previous by thread: Re: Enumerating EOs in a new thread
  • Next by thread: Re: Enumerating EOs in a new thread
  • Index(es):
    • Date
    • Thread