|
Project Wonder 5.0.0.8795 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webobjects.eocontrol.EOFetchSpecification
er.extensions.eof.ERXFetchSpecification<T>
T - the type of objects this fetch spec will returnpublic class ERXFetchSpecification<T extends EOEnterpriseObject>
Extended fetch specification.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSCoding |
|---|
NSCoding._BigDecimalSupport, NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._ByteSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._DoubleSupport, NSCoding._FloatSupport, NSCoding._IntegerSupport, NSCoding._LongSupport, NSCoding._NumberSupport, NSCoding._ShortSupport, NSCoding._StringSupport, NSCoding.Support |
| Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
|---|
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support |
| Field Summary |
|---|
| Fields inherited from class com.webobjects.eocontrol.EOFetchSpecification |
|---|
_CLASS |
| Constructor Summary | |
|---|---|
ERXFetchSpecification(EOFetchSpecification spec)
|
|
ERXFetchSpecification(ERXFetchSpecification<T> spec)
|
|
ERXFetchSpecification(String entityName,
EOQualifier qualifier,
NSArray sortOrderings)
|
|
ERXFetchSpecification(String entityName,
EOQualifier qualifier,
NSArray sortOrderings,
boolean usesDistinct,
boolean isDeep,
NSDictionary hints)
|
|
| Method Summary | ||
|---|---|---|
protected String |
additionalIdentifierInfo()
|
|
Object |
clone()
|
|
NSArray<T> |
fetchObjects(EOEditingContext ec)
Type-safe method to fetch objects for this fetch spec. |
|
NSArray<NSDictionary<String,Object>> |
fetchRawRows(EOEditingContext ec)
Type-safe method to fetch raw rows. |
|
static
|
fetchSpec(EOFetchSpecification fs)
Converts a normal fetch spec to an ERX one. |
|
static
|
fetchSpec(EOFetchSpecification fs,
Class<T> clazz)
Converts a normal fetch spec to an ERX one. |
|
String |
identifier()
Collects all relevant attributes and the bindings and returns a key suitable for caching. |
|
static String |
identifierForFetchSpec(EOFetchSpecification fs)
Builds an identifier for the given fetch spec which is suitable for caching. |
|
protected static String |
identifierForQualifier(EOQualifier q)
Helper to create a string from a qualifier. |
|
boolean |
includeEditingContextChanges()
Returns whether or not to include editing context changes. |
|
Object |
objectForKey(String key)
Gets an arbitrary value. |
|
void |
setIncludeEditingContextChanges(boolean includeEditingContextChanges)
When true, objectsWithFetchSpecification will include newly inserted objects, newly removed objects, and newly updated objects in your fetch results (@see ERXEOControlUtilities.objectsWithQualifier). |
|
void |
setObjectForKey(Object value,
String key)
Sets a arbitrary value. |
|
NSDictionary |
userInfo()
Gets the user info. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ERXFetchSpecification(String entityName,
EOQualifier qualifier,
NSArray sortOrderings,
boolean usesDistinct,
boolean isDeep,
NSDictionary hints)
public ERXFetchSpecification(String entityName,
EOQualifier qualifier,
NSArray sortOrderings)
public ERXFetchSpecification(EOFetchSpecification spec)
public ERXFetchSpecification(ERXFetchSpecification<T> spec)
| Method Detail |
|---|
public void setIncludeEditingContextChanges(boolean includeEditingContextChanges)
includeEditingContextChanges - whether or not to include editing context changespublic boolean includeEditingContextChanges()
public void setObjectForKey(Object value,
String key)
public Object objectForKey(String key)
key - public NSDictionary userInfo()
public NSArray<T> fetchObjects(EOEditingContext ec)
ec - public NSArray<NSDictionary<String,Object>> fetchRawRows(EOEditingContext ec)
ec - public String identifier()
protected String additionalIdentifierInfo()
public Object clone()
clone in class EOFetchSpecification
public static <T extends EOEnterpriseObject> ERXFetchSpecification<T> fetchSpec(EOFetchSpecification fs,
Class<T> clazz)
T - fs - clazz - public static <T extends EOEnterpriseObject> ERXFetchSpecification<T> fetchSpec(EOFetchSpecification fs)
T - fs - protected static String identifierForQualifier(EOQualifier q)
q - public static String identifierForFetchSpec(EOFetchSpecification fs)
fs -
|
Last updated: Fri, Jan 9, 2009 04:35 AM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||