• 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: Fetch Specifications defined in the .eomodel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fetch Specifications defined in the .eomodel


  • Subject: Re: Fetch Specifications defined in the .eomodel
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Fri, 15 Feb 2008 11:18:59 -0400

Ah, sorry Dave, just saw that I copied the same method twice... :)

Here's the server side:

public EOFetchSpecification clientSideRequestGetFetchSpecification (String spec, String entity){
try{
return EOFetchSpecification.fetchSpecificationNamed(spec, entity);
}catch(Exception ex){
return null;
}
}



On Feb 15, 2008, at 07:44, David Avendasora wrote:

Hi Flor,

What does the clientSideRequestGetFetchSpecification method that goes along with this in the Session class look like?

Thanks,

Dave


On Jan 14, 2008, at 3:04 PM, Florijan Stamenkovic wrote:

Server code, in the Session class:

/**
* Loads and returns an <tt>EOFetchSpecification</tt> objects for the given
* specification and entity name.
*
@param spec Name of the specification
@param entity Name of the entitiy
@return A fetch specification, or <tt>null</tt> if it is not found, or an
error occurs
*/
public EOFetchSpecification getFetchSpecification(String spec, String entity){
try{
return EOFetchSpecification.fetchSpecificationNamed(spec, entity);
}catch(Exception ex){
return null;
}
}


_______________________________________________ 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: Fetch Specifications defined in the .eomodel
      • From: David Avendasora <email@hidden>
References: 
 >Re: Fetch Specifications defined in the .eomodel (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: Fetch Specifications defined in the .eomodel
  • Next by Date: Re: DirectAction & User login Questions. [Solved]
  • Previous by thread: Re: Fetch Specifications defined in the .eomodel
  • Next by thread: Re: Fetch Specifications defined in the .eomodel
  • Index(es):
    • Date
    • Thread