• 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
Dealing with child's editing contexts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dealing with child's editing contexts


  • Subject: Dealing with child's editing contexts
  • From: Yann Bizeul <email@hidden>
  • Date: Sun, 27 Aug 2006 16:31:48 +0200

Is this code WOSpirit complient ?

public void awakeFromInsertion(EOEditingContext ec)
{
super.awakeFromInsertion(ec);


setDate(new NSTimestamp());
if (address().editingContext() == null)
ec.insertObject(address());


int i=0;
for (i=0;i<locationTagUsers().count();i++)
{
LocationTagUser l = (LocationTagUser) locationTagUsers().objectAtIndex(i);
if (l.editingContext() == null)
ec.insertObject(l);
}
}

Yann Bizeul • yann at tynsoe.org
Cocoa Developer

Tynsoe Projects
BuddyPop • GeekTool • SSH Tunnel Manager • ...
http://projects.tynsoe.org/


 _______________________________________________
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: Dealing with child's editing contexts
      • From: Ken Anderson <email@hidden>
  • Prev by Date: Re: WebObjects 5.4 going open source
  • Next by Date: Re: Dealing with child's editing contexts
  • Previous by thread: Re: Subclass final class (Boolean) ?
  • Next by thread: Re: Dealing with child's editing contexts
  • Index(es):
    • Date
    • Thread