• 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: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?


  • Subject: Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?
  • From: "Shravan Kumar. M" <email@hidden>
  • Date: Sun, 7 Feb 2010 21:04:08 -0800 (PST)

Thanks for your suggestion Mike. Sorry, I did not get your statement: do you mean after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier(), should I immediately call EOFetchSpec with fetchSpec.setRefreshesRefetchedObject(true) and with same qual used in updateRowsDescribedByQualifier()?


From: Mike Schrag <email@hidden>
To: Kieran Kelleher <email@hidden>
Cc: Shravan Kumar. M <email@hidden>; WO Dev Group <email@hidden>
Sent: Sun, February 7, 2010 9:32:38 PM
Subject: Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?

for the update case, i was thinking just use the same qualifier with a refreshesRefetchedObjects on a fetch spec .... i think that won't refresh deleted objects, though, so I'm not sure the best way to do the delete case. if the objects were fetched into the eo already, then refreshAllObjects might do it.

On Feb 7, 2010, at 10:59 AM, Kieran Kelleher wrote:

Off the top of my head, I would think something like this:

ec.setFetchTimestamp( System.currentTimeMillis() );
ec.refreshAllObjects();




On Feb 7, 2010, at 1:06 AM, Shravan Kumar. M wrote:

Hello Group,

Is there any efficient way to refresh EOEditingContext after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()/ ERXEOAccessUtilities.deleteRowsDescribedByQualifier() API's, such that only the effected EO's in the EC gets updated as per these actions?

Thanks in advance,
Shravan Kumar. M
---------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 

 _______________________________________________
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: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?
      • From: email@hidden
    • Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?
      • From: Anjo Krank <email@hidden>
References: 
 >refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()? (From: "Shravan Kumar. M" <email@hidden>)
 >Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()? (From: Kieran Kelleher <email@hidden>)
 >Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()? (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?
  • Next by Date: Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?
  • Previous by thread: Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?
  • Next by thread: Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?
  • Index(es):
    • Date
    • Thread