• 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
Fetching Sorted Entities With A Tag (ERTag)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fetching Sorted Entities With A Tag (ERTag)


  • Subject: Fetching Sorted Entities With A Tag (ERTag)
  • From: Kevin Hinkson <email@hidden>
  • Date: Fri, 18 Jan 2013 17:16:12 -0400

Hi,

In setting up ERTag to an entity in my model I went with the Quick Start method outlined in the documentation which outlines how to setup ERTag with minimal effort. The side effect of this is there are none of the usual relationship methods for starting with an ERTag and fetching all of the ENTITY objects sorted and qualified.

There is a method in ERTaggableEntity that allows you to fetch the objects of ENTITY with a qualifier but it does not provide for sorting. In the method there is a NSArray of EOSortOrdering set to null on the EOFetchSpecification used. 

Does anyone know if there a specific or good reason the sort ordering is null and not exposed as a parameter in the method? 

/**
   * Fetches the list of objects of this entity type that are tagged
   * with the given tags. 
   *....
   */

  public NSArray<T> fetchTaggedWith(EOEditingContext editingContext, ERTag.Inclusion inclusion, int limit, Object tags, EOQualifier additionalQualifier) {
    ...
  }
 _______________________________________________
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

  • Prev by Date: Re: help with D2W target
  • Next by Date: Re: help with D2W target
  • Previous by thread: re: how is UNIXClassPath.txt populated?
  • Next by thread: jasperreport help please
  • Index(es):
    • Date
    • Thread