Project Wonder 5.0

er.extensions.eof
Class ERXGroupingFetchSpecification<T extends com.webobjects.foundation.NSDictionary>

java.lang.Object
  extended by com.webobjects.eocontrol.EOFetchSpecification
      extended by er.extensions.eof.ERXFetchSpecification
          extended by er.extensions.eof.ERXGroupingFetchSpecification<T>
All Implemented Interfaces:
com.webobjects.eocontrol.EOKeyValueArchiving, com.webobjects.foundation.NSCoding, java.io.Serializable, java.lang.Cloneable

public class ERXGroupingFetchSpecification<T extends com.webobjects.foundation.NSDictionary>
extends ERXFetchSpecification

Extended fetch specification (work in progress).

See Also:
Serialized Form
Author:
ak

Nested Class Summary
static interface ERXGroupingFetchSpecification.Operators
          List of supported aggregate operators.
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSCoding
com.webobjects.foundation.NSCoding._BigDecimalSupport, com.webobjects.foundation.NSCoding._BigIntegerSupport, com.webobjects.foundation.NSCoding._BooleanSupport, com.webobjects.foundation.NSCoding._ByteSupport, com.webobjects.foundation.NSCoding._CharacterSupport, com.webobjects.foundation.NSCoding._DateSupport, com.webobjects.foundation.NSCoding._DoubleSupport, com.webobjects.foundation.NSCoding._FloatSupport, com.webobjects.foundation.NSCoding._IntegerSupport, com.webobjects.foundation.NSCoding._LongSupport, com.webobjects.foundation.NSCoding._NumberSupport, com.webobjects.foundation.NSCoding._ShortSupport, com.webobjects.foundation.NSCoding._StringSupport, com.webobjects.foundation.NSCoding.Support
 
Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving
com.webobjects.eocontrol.EOKeyValueArchiving._NullValueSupport, com.webobjects.eocontrol.EOKeyValueArchiving._NumberSupport, com.webobjects.eocontrol.EOKeyValueArchiving._TimestampSupport, com.webobjects.eocontrol.EOKeyValueArchiving.Awaking, com.webobjects.eocontrol.EOKeyValueArchiving.FinishInitialization, com.webobjects.eocontrol.EOKeyValueArchiving.Support
 
Field Summary
 
Fields inherited from class com.webobjects.eocontrol.EOFetchSpecification
_CLASS
 
Constructor Summary
ERXGroupingFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification spec)
           
ERXGroupingFetchSpecification(ERXFetchSpecification spec)
           
ERXGroupingFetchSpecification(ERXGroupingFetchSpecification<T> spec)
           
ERXGroupingFetchSpecification(java.lang.String entityName, com.webobjects.eocontrol.EOQualifier qualifier, com.webobjects.foundation.NSArray sortOrderings, com.webobjects.foundation.NSArray<er.extensions.eof.ERXGroupingFetchSpecification.Aggregate> aggregates, com.webobjects.eocontrol.EOQualifier havingQualifier)
           
 
Method Summary
 void addAggregateForPath(java.lang.String operator, java.lang.String keyPath)
           
protected  java.lang.String additionalIdentifierInfo()
           
 com.webobjects.foundation.NSArray<er.extensions.eof.ERXGroupingFetchSpecification.Aggregate> aggregates()
           
 com.webobjects.foundation.NSArray<T> fetchObjects(com.webobjects.eocontrol.EOEditingContext ec)
          Type-safe method to fetch the rows for this fetch spec.
 com.webobjects.foundation.NSArray<java.lang.String> groupingKeyPaths()
           
 com.webobjects.eocontrol.EOQualifier havingQualifier()
           
 void removeAggregateForPath(java.lang.String operator, java.lang.String keyPath)
           
 void setAggregates(com.webobjects.foundation.NSArray<er.extensions.eof.ERXGroupingFetchSpecification.Aggregate> value)
           
 void setHavingQualifier(com.webobjects.eocontrol.EOQualifier qualifier)
           
 void setRawRowKeyPaths(com.webobjects.foundation.NSArray keyPaths)
           
 
Methods inherited from class er.extensions.eof.ERXFetchSpecification
clone, fetchRawRows, fetchSpec, fetchSpec, identifier, identifierForFetchSpec, identifierForQualifier, includeEditingContextChanges, objectForKey, setIncludeEditingContextChanges, setObjectForKey, userInfo
 
Methods inherited from class com.webobjects.eocontrol.EOFetchSpecification
_decodeWithKeyValueUnarchiver, classForCoder, decodeObject, decodeWithKeyValueUnarchiver, encodeWithCoder, encodeWithKeyValueArchiver, entityName, fetchesRawRows, fetchLimit, fetchSpecificationNamed, fetchSpecificationWithQualifierBindings, hints, isDeep, locksObjects, prefetchingRelationshipKeyPaths, promptsAfterFetchLimit, qualifier, rawRowKeyPaths, refreshesRefetchedObjects, requiresAllQualifierBindingVariables, setEntityName, setFetchesRawRows, setFetchLimit, setHints, setIsDeep, setLocksObjects, setPrefetchingRelationshipKeyPaths, setPromptsAfterFetchLimit, setQualifier, setRefreshesRefetchedObjects, setRequiresAllQualifierBindingVariables, setSortOrderings, setUsesDistinct, sortOrderings, toString, usesDistinct
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERXGroupingFetchSpecification

public ERXGroupingFetchSpecification(java.lang.String entityName,
                                     com.webobjects.eocontrol.EOQualifier qualifier,
                                     com.webobjects.foundation.NSArray sortOrderings,
                                     com.webobjects.foundation.NSArray<er.extensions.eof.ERXGroupingFetchSpecification.Aggregate> aggregates,
                                     com.webobjects.eocontrol.EOQualifier havingQualifier)

ERXGroupingFetchSpecification

public ERXGroupingFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification spec)

ERXGroupingFetchSpecification

public ERXGroupingFetchSpecification(ERXFetchSpecification spec)

ERXGroupingFetchSpecification

public ERXGroupingFetchSpecification(ERXGroupingFetchSpecification<T> spec)
Method Detail

setRawRowKeyPaths

public void setRawRowKeyPaths(com.webobjects.foundation.NSArray keyPaths)
Overrides:
setRawRowKeyPaths in class com.webobjects.eocontrol.EOFetchSpecification

aggregates

public com.webobjects.foundation.NSArray<er.extensions.eof.ERXGroupingFetchSpecification.Aggregate> aggregates()

setAggregates

public void setAggregates(com.webobjects.foundation.NSArray<er.extensions.eof.ERXGroupingFetchSpecification.Aggregate> value)

addAggregateForPath

public void addAggregateForPath(java.lang.String operator,
                                java.lang.String keyPath)

removeAggregateForPath

public void removeAggregateForPath(java.lang.String operator,
                                   java.lang.String keyPath)

groupingKeyPaths

public com.webobjects.foundation.NSArray<java.lang.String> groupingKeyPaths()

havingQualifier

public com.webobjects.eocontrol.EOQualifier havingQualifier()

setHavingQualifier

public void setHavingQualifier(com.webobjects.eocontrol.EOQualifier qualifier)

additionalIdentifierInfo

protected java.lang.String additionalIdentifierInfo()
Overrides:
additionalIdentifierInfo in class ERXFetchSpecification

fetchObjects

public com.webobjects.foundation.NSArray<T> fetchObjects(com.webobjects.eocontrol.EOEditingContext ec)
Type-safe method to fetch the rows for this fetch spec.

Overrides:
fetchObjects in class ERXFetchSpecification
Parameters:
ec -

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.