• 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
editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?


  • Subject: editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?
  • From: Fabian Peters <email@hidden>
  • Date: Mon, 05 Dec 2011 19:27:13 +0100

Hi all,

I'm happily using an EC delegate in a multi-tenant app to add restricting qualifiers in editingContextShouldFetchObjects. Now I'd like to make more use of D2W and am looking for an equivalent when dealing with EODataBaseDataSource. I've looked at EODatabaseContext.Delegate's databaseContextShouldSelectObjects, but the documentation says "The delegate should not modify fetchSpec's qualifier or fetch order".

If there's no other way I guess I could subclass EODataBaseDataSource and use ERXPatcher.setClassForName(), but that seems rather drastic?

Fabian _______________________________________________
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: editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?
      • From: Ramsey Gurley <email@hidden>
  • Prev by Date: Re: Weird Behaviour...
  • Next by Date: Re: Weird Behaviour...
  • Previous by thread: Re: Weird Behaviour...
  • Next by thread: Re: editingContextShouldFetchObjects equivalent for EODataSource/EODataBaseDataSource?
  • Index(es):
    • Date
    • Thread