• 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: Saving entities problem [SOLVED] {DONE -- FOR NOW}
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving entities problem [SOLVED] {DONE -- FOR NOW}


  • Subject: Re: Saving entities problem [SOLVED] {DONE -- FOR NOW}
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 06 Aug 2003 10:39:56 -0700
  • Organization: Global Village Consulting, Inc.

Jevon Hills wrote:
These two relationships are flattened. If I dump the flattened relationships then would I write the following to achive my results?

User aUser;//assume exists
Permission aPerm;  //assume exists
Application anApp; //assume exists

aUser.takeValueForKey(aPerm, "Permission");
aUser.takeValueForKey(anApp, "Application");

anApp.takeValueForKey(aPerm, "Permission");
anApp.takeValueForKey(aUser, "User");

aPerm.takeValueForKey(aUser, "User");
aPerm.takeValueForKey(anApp, "Application");


Use the method I posted earlier. You will then need to add "cover" methods with the names of the currently flattened relationships to flatten them on demand (i.e. when the method is called).



Chuck _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Saving entities problem [SOLVED] {DONE -- FOR NOW} (From: Jevon Hills <email@hidden>)

  • Prev by Date: Re: Saving entities problem [SOLVED] {DONE -- FOR NOW}
  • Next by Date: WOMultipartFileIterator and 'wis' StreamActionRequestHandler
  • Previous by thread: Re: Saving entities problem [SOLVED] {DONE -- FOR NOW}
  • Next by thread: WOMultipartFileIterator and 'wis' StreamActionRequestHandler
  • Index(es):
    • Date
    • Thread