• 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: changed objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changed objects


  • Subject: Re: changed objects
  • From: Pascal Robert <email@hidden>
  • Date: Mon, 28 Mar 2011 14:25:33 -0400

Le 2011-03-28 à 14:16, Theodore Petrosky a écrit :

> OK I thought I did this before but I can not think of how I did it.
>
> I have an EC made with:  theEC = ERXEC.newEditingContext();
>
> I then get a list and use a displayGroup to display it in a table. I want to make a few edits, then ask the EC for the changed objects.
>
> NSLog.out.appendln("checkAltered ==   " + theEC.updatedObjects());
>
> updatedOjbects returns all the objects in the array. I just want the ones that were altered. Is there a way?

updateObjects should return only what changed, if you get everything, something in your code is touching each EOs.


--
Pascal Robert
email@hidden

AIM/iChat : MacTICanada
LinkedIn : http://www.linkedin.com/in/macti
Twitter : pascal_robert

 _______________________________________________
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: 
 >changed objects (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: changed objects
  • Next by Date: Re: changed objects
  • Previous by thread: changed objects
  • Next by thread: Re: changed objects
  • Index(es):
    • Date
    • Thread