ERXFetchSpecification< T extends EOEnterpriseObject > Class Reference

Inherits com::webobjects::eocontrol::EOFetchSpecification.

Collaboration diagram for ERXFetchSpecification< T extends EOEnterpriseObject >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Object clone ()
 ERXFetchSpecification (ERXFetchSpecification< T > spec)
 ERXFetchSpecification (EOFetchSpecification spec)
 ERXFetchSpecification (String entityName, EOQualifier qualifier, NSArray sortOrderings)
 ERXFetchSpecification (String entityName, EOQualifier qualifier, NSArray sortOrderings, boolean usesDistinct, boolean isDeep, NSDictionary hints)
NSArray< T > fetchObjects (EOEditingContext ec)
NSArray< NSDictionary< String,
Object > > 
fetchRawRows (EOEditingContext ec)
String identifier ()
boolean includeEditingContextChanges ()
Object objectForKey (String key)
void setIncludeEditingContextChanges (boolean includeEditingContextChanges)
void setObjectForKey (Object value, String key)
NSDictionary userInfo ()

Static Public Member Functions

static
< TextendsEOEnterpriseObject >
ERXFetchSpecification< T > 
fetchSpec (EOFetchSpecification fs)
static
< TextendsEOEnterpriseObject >
ERXFetchSpecification< T > 
fetchSpec (EOFetchSpecification fs, Class< T > clazz)
static String identifierForFetchSpec (EOFetchSpecification fs)

Protected Member Functions

String additionalIdentifierInfo ()

Static Protected Member Functions

static String identifierForQualifier (EOQualifier q)

Private Attributes

boolean _includeEditingContextChanges
NSMutableDictionary _userInfo


Detailed Description

Extended fetch specification.
Author:
ak
Parameters:
<T> the type of objects this fetch spec will return

Constructor & Destructor Documentation

ERXFetchSpecification ( String  entityName,
EOQualifier  qualifier,
NSArray  sortOrderings,
boolean  usesDistinct,
boolean  isDeep,
NSDictionary  hints 
)

ERXFetchSpecification ( String  entityName,
EOQualifier  qualifier,
NSArray  sortOrderings 
)

ERXFetchSpecification ( EOFetchSpecification  spec  ) 

ERXFetchSpecification ( ERXFetchSpecification< T >  spec  ) 


Member Function Documentation

String additionalIdentifierInfo (  )  [protected]

Object clone (  ) 

NSArray<T> fetchObjects ( EOEditingContext  ec  ) 

Type-safe method to fetch objects for this fetch spec.

Parameters:
ec 

NSArray<NSDictionary<String, Object> > fetchRawRows ( EOEditingContext  ec  ) 

Type-safe method to fetch raw rows.

Parameters:
ec 

static <TextendsEOEnterpriseObject> ERXFetchSpecification<T> fetchSpec ( EOFetchSpecification  fs  )  [static]

Converts a normal fetch spec to an ERX one.

Parameters:
<T> 
fs 

static <TextendsEOEnterpriseObject> ERXFetchSpecification<T> fetchSpec ( EOFetchSpecification  fs,
Class< T >  clazz 
) [static]

Converts a normal fetch spec to an ERX one.

Parameters:
<T> 
fs 
clazz 

String identifier (  ) 

Collects all relevant attributes and the bindings and returns a key suitable for caching.

static String identifierForFetchSpec ( EOFetchSpecification  fs  )  [static]

Builds an identifier for the given fetch spec which is suitable for caching.

Parameters:
fs 

static String identifierForQualifier ( EOQualifier  q  )  [static, protected]

Helper to create a string from a qualifier.

Parameters:
q 

boolean includeEditingContextChanges (  ) 

Returns whether or not to include editing context changes.

Returns:
whether or not to include editing context changes

Object objectForKey ( String  key  ) 

Gets an arbitrary value.

Parameters:
key 

void setIncludeEditingContextChanges ( boolean  includeEditingContextChanges  ) 

When true, objectsWithFetchSpecification will include newly inserted objects, newly removed objects, and newly updated objects in your fetch results (

See also:
ERXEOControlUtilities.objectsWithQualifier).
Parameters:
includeEditingContextChanges whether or not to include editing context changes

void setObjectForKey ( Object  value,
String  key 
)

Sets a arbitrary value.

NSDictionary userInfo (  ) 

Gets the user info.


Member Data Documentation

boolean _includeEditingContextChanges [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:10 2012 for Project Wonder by  doxygen 1.5.8