Project Wonder 5.0.0.8795

er.extensions.eof
Class ERXGroupingFetchSpecification<T extends 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:
EOKeyValueArchiving, NSCoding, Serializable, Cloneable

public class ERXGroupingFetchSpecification<T extends NSDictionary>
extends ERXFetchSpecification

Extended fetch specification (work in progress).

Author:
ak
See Also:
Serialized Form

Nested Class Summary
static interface ERXGroupingFetchSpecification.Operators
          List of supported aggregate operators.
 
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
ERXGroupingFetchSpecification(EOFetchSpecification spec)
           
ERXGroupingFetchSpecification(ERXFetchSpecification spec)
           
ERXGroupingFetchSpecification(ERXGroupingFetchSpecification<T> spec)
           
ERXGroupingFetchSpecification(String entityName, EOQualifier qualifier, NSArray sortOrderings, NSArray<er.extensions.eof.ERXGroupingFetchSpecification.Aggregate> aggregates, EOQualifier havingQualifier)
           
 
Method Summary
 void addAggregateForPath(String operator, String keyPath)
           
protected  String additionalIdentifierInfo()
           
 NSArray<er.extensions.eof.ERXGroupingFetchSpecification.Aggregate> aggregates()
           
 NSArray<T> fetchObjects(EOEditingContext ec)
          Type-safe method to fetch the rows for this fetch spec.
 NSArray<String> groupingKeyPaths()
           
 EOQualifier havingQualifier()
           
 void removeAggregateForPath(String operator, String keyPath)
           
 void setAggregates(NSArray<er.extensions.eof.ERXGroupingFetchSpecification.Aggregate> value)
           
 void setHavingQualifier(EOQualifier qualifier)
           
 void setRawRowKeyPaths(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(String entityName,
                                     EOQualifier qualifier,
                                     NSArray sortOrderings,
                                     NSArray<er.extensions.eof.ERXGroupingFetchSpecification.Aggregate> aggregates,
                                     EOQualifier havingQualifier)

ERXGroupingFetchSpecification

public ERXGroupingFetchSpecification(EOFetchSpecification spec)

ERXGroupingFetchSpecification

public ERXGroupingFetchSpecification(ERXFetchSpecification spec)

ERXGroupingFetchSpecification

public ERXGroupingFetchSpecification(ERXGroupingFetchSpecification<T> spec)
Method Detail

setRawRowKeyPaths

public void setRawRowKeyPaths(NSArray keyPaths)
Overrides:
setRawRowKeyPaths in class EOFetchSpecification

aggregates

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

setAggregates

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

addAggregateForPath

public void addAggregateForPath(String operator,
                                String keyPath)

removeAggregateForPath

public void removeAggregateForPath(String operator,
                                   String keyPath)

groupingKeyPaths

public NSArray<String> groupingKeyPaths()

havingQualifier

public EOQualifier havingQualifier()

setHavingQualifier

public void setHavingQualifier(EOQualifier qualifier)

additionalIdentifierInfo

protected String additionalIdentifierInfo()
Overrides:
additionalIdentifierInfo in class ERXFetchSpecification

fetchObjects

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

Overrides:
fetchObjects in class ERXFetchSpecification
Parameters:
ec -

Last updated: Fri, Jan 9, 2009 • 04:35 AM EST

Copyright © 2002 – 2007 Project Wonder.