• 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
limiting a fetch in a D2W list page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

limiting a fetch in a D2W list page


  • Subject: limiting a fetch in a D2W list page
  • From: Theodore Petrosky <email@hidden>
  • Date: Fri, 11 May 2012 13:00:02 -0700 (PDT)

my d2w app has a session user. when a user selects a tab, my MainNavigationController fires a method to create the list page.

the method creates an EODatabaseDataSource and then a fetch spec that limits the result to rows that were created by THIS user.

ERXFetchSpecification<KickOffBrief> fs = new ERXFetchSpecification<KickOffBrief>(KickOffBrief.ENTITY_NAME, ERXQ.equals(KickOffBrief.IS_FILED_KEY, false).and(KickOffBrief.PERSON.eq(session().user())), null);

How can I add the user qualification to the D2W created search query? Or when I am on a QueryKickOffBrief page, how do I add the and(KickOffBrief.PERSON.eq(session().user()) qualifier to the resultant page?

Ted


 _______________________________________________
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: limiting a fetch in a D2W list page
      • From: Ramsey Gurley <email@hidden>
  • Prev by Date: Three WOWODC 2011 podcasts available for free
  • Next by Date: Re: limiting a fetch in a D2W list page
  • Previous by thread: Three WOWODC 2011 podcasts available for free
  • Next by thread: Re: limiting a fetch in a D2W list page
  • Index(es):
    • Date
    • Thread