• 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: Enterprise Objects/Group By Functionality?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enterprise Objects/Group By Functionality?


  • Subject: Re: Enterprise Objects/Group By Functionality?
  • From: Owen McKerrow <email@hidden>
  • Date: Tue, 6 Jun 2006 09:56:39 +1000

EOSortOrdering order1 = new EOSortOrdering( "personName.lastName", EOSortOrdering.CompareAscending);
EOSortOrdering order2 = new EOSortOrdering( "personName.middleName", EOSortOrdering.CompareAscending);
EOSortOrdering order3 = new EOSortOrdering( "personName.firstName", EOSortOrdering.CompareAscending);
NSMutableArray orderings = new NSMutableArray(order1);
orderings.addObject(order2);
orderings.addObject(order3);



And then use that in your fetch spec.


Owen McKerrow WebMaster, emlab Ph : +61 02 4221 5517 http://emlab.uow.edu.au

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"As of tomorrow, employees will only be able to access the building using individual security cards. Pictures will be taken next Wednesday employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp



On 06/06/2006, at 9:50 AM, Jonathan Miller wrote:

Hi,

I need to create an EOFetchSpecification for an entity where by the objects returned are grouped on a key that is found through a relationship.

Does anyone have  a suggestion?

Thanks in advance

Johnny
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40uow.edu.au


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Enterprise Objects/Group By Functionality? (From: Jonathan Miller <email@hidden>)

  • Prev by Date: Enterprise Objects/Group By Functionality?
  • Next by Date: Re: Enterprise Objects/Group By Functionality?
  • Previous by thread: Enterprise Objects/Group By Functionality?
  • Next by thread: Re: Enterprise Objects/Group By Functionality?
  • Index(es):
    • Date
    • Thread