• 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
D2W & Strategy Design Pattern
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2W & Strategy Design Pattern


  • Subject: D2W & Strategy Design Pattern
  • From: David Avendasora <email@hidden>
  • Date: Wed, 13 Oct 2010 06:08:22 -0400

Hi D2Wers,

I've got the Entity "Person" in my model that can have a type of Student, Teacher, Parent, etc. They are not subclasses because it is entirely possible for a Person to be both a Teacher and a Parent simultaniously.  I want to have individual search screens for each with different search criteria, but since they are all the same entity I don't see how I can follow the normal D2W convention of D2W.factory().queryPageForEntityNamed(entityName, session()) because they are all really the Person Entity.

What's the best way to approach this with D2W?

Thanks,

Dave
 _______________________________________________
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: D2W & Strategy Design Pattern
      • From: Anjo Krank <email@hidden>
  • Prev by Date: Fwd: ERModern Navigation Menu question
  • Next by Date: Re: D2W & Strategy Design Pattern
  • Previous by thread: Re: ERModern Navigation Menu question
  • Next by thread: Re: D2W & Strategy Design Pattern
  • Index(es):
    • Date
    • Thread