Project Wonder 2.0

er.extensions
Class ERXDatabaseDataSource

java.lang.Object
  extended bycom.webobjects.eocontrol.EODataSource
      extended bycom.webobjects.eoaccess.EODatabaseDataSource
          extended byer.extensions.ERXDatabaseDataSource
All Implemented Interfaces:
EOKeyValueArchiving, EOKeyValueArchiving.Awaking, NSCoding, Serializable

public class ERXDatabaseDataSource
extends EODatabaseDataSource

Author:
david teran enhanced version which allows the user to 1) set refreshesRefetchedObjects 2) set prefetchingRelationshipKeyPaths which modifies the datasource's fetchSpecification
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.webobjects.eocontrol.EOKeyValueArchiving
EOKeyValueArchiving._NullValueSupport, EOKeyValueArchiving._NumberSupport, EOKeyValueArchiving._TimestampSupport, EOKeyValueArchiving.Awaking, EOKeyValueArchiving.FinishInitialization, EOKeyValueArchiving.Support
 
Nested classes inherited from class 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
 
Field Summary
 NSArray _prefetchingRelationshipKeyPaths
           
 boolean _refreshRefetchedObjects
           
 
Fields inherited from class com.webobjects.eoaccess.EODatabaseDataSource
_auxiliaryQualifier, _bindings, _editingContext, _fetchSpecification, _fetchSpecificationName, _flags_fetchEnabled, _registeredDBContextSelector
 
Fields inherited from class com.webobjects.eocontrol.EODataSource
_CLASS
 
Fields inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving
_CLASS
 
Fields inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving.Awaking
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSCoding
_CLASS
 
Constructor Summary
ERXDatabaseDataSource(EOEditingContext arg0, String arg1)
           
ERXDatabaseDataSource(EOEditingContext arg0, String arg1, String arg2)
           
ERXDatabaseDataSource(EOEditingContext arg0, String arg1, String arg2, boolean refresh)
           
 
Method Summary
 EOFetchSpecification fetchSpecification()
          Enhanced version which uses the refreshesRefetchedObjects value
 EOFetchSpecification fetchSpecificationForFetch()
          Enhanced version which uses the refreshesRefetchedObjects value
 NSArray prefetchingRelationshipKeyPaths()
           
 boolean refreshesRefetchedObjects()
           
 void setPrefetchingRelationshipKeyPaths(NSArray relationshipKeyPaths)
           
 void setRefreshesRefetchedObjects(boolean v)
           
 
Methods inherited from class com.webobjects.eoaccess.EODatabaseDataSource
_finishInitialization, _partialInitWithEditingContextEntityNameFetchSpecificationName, _qualifierForRelationshipKey, auxiliaryQualifier, awakeFromKeyValueUnarchiver, awakeFromNib, classDescriptionForObjects, classForCoder, createObject, databaseContext, dataSourceQualifiedByKey, decodeObject, decodeWithKeyValueUnarchiver, deleteObject, editingContext, encodeWithCoder, encodeWithKeyValueArchiver, entity, fetchObjects, fetchSpecificationName, insertObject, isFetchEnabled, qualifierBindingKeys, qualifierBindings, qualifyWithRelationshipKey, setAuxiliaryQualifier, setEditingContext, setFetchEnabled, setFetchSpecification, setFetchSpecificationByName, setParentDataSourceRelationshipKey, setQualifierBindings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_refreshRefetchedObjects

public boolean _refreshRefetchedObjects

_prefetchingRelationshipKeyPaths

public NSArray _prefetchingRelationshipKeyPaths
Constructor Detail

ERXDatabaseDataSource

public ERXDatabaseDataSource(EOEditingContext arg0,
                             String arg1)
See Also:
EODatabaseDataSource

ERXDatabaseDataSource

public ERXDatabaseDataSource(EOEditingContext arg0,
                             String arg1,
                             String arg2)
See Also:
EODatabaseDataSource

ERXDatabaseDataSource

public ERXDatabaseDataSource(EOEditingContext arg0,
                             String arg1,
                             String arg2,
                             boolean refresh)
See Also:
EODatabaseDataSource
Method Detail

setRefreshesRefetchedObjects

public void setRefreshesRefetchedObjects(boolean v)

refreshesRefetchedObjects

public boolean refreshesRefetchedObjects()

prefetchingRelationshipKeyPaths

public NSArray prefetchingRelationshipKeyPaths()

setPrefetchingRelationshipKeyPaths

public void setPrefetchingRelationshipKeyPaths(NSArray relationshipKeyPaths)

fetchSpecificationForFetch

public EOFetchSpecification fetchSpecificationForFetch()
Enhanced version which uses the refreshesRefetchedObjects value

See Also:
ERXDatabaseDataSource.setRefreshedRefetchedObjects

fetchSpecification

public EOFetchSpecification fetchSpecification()
Enhanced version which uses the refreshesRefetchedObjects value

See Also:
ERXDatabaseDataSource.setRefreshedRefetchedObjects

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.