Project Wonder 5.0

er.extensions.eof
Class ERXDatabaseDataSource

java.lang.Object
  extended by com.webobjects.eocontrol.EODataSource
      extended by com.webobjects.eoaccess.EODatabaseDataSource
          extended by er.extensions.eof.ERXDatabaseDataSource
All Implemented Interfaces:
com.webobjects.eocontrol.EOKeyValueArchiving, com.webobjects.eocontrol.EOKeyValueArchiving.Awaking, com.webobjects.foundation.NSCoding, java.io.Serializable

public class ERXDatabaseDataSource
extends com.webobjects.eoaccess.EODatabaseDataSource

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

Nested Class Summary
 
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
 
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
 
Field Summary
 com.webobjects.foundation.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(com.webobjects.eocontrol.EOEditingContext arg0, java.lang.String arg1)
           
ERXDatabaseDataSource(com.webobjects.eocontrol.EOEditingContext arg0, java.lang.String arg1, java.lang.String arg2)
           
ERXDatabaseDataSource(com.webobjects.eocontrol.EOEditingContext arg0, java.lang.String arg1, java.lang.String arg2, boolean refresh)
           
 
Method Summary
 com.webobjects.eocontrol.EOFetchSpecification fetchSpecification()
          Enhanced version which uses the refreshesRefetchedObjects value
 com.webobjects.eocontrol.EOFetchSpecification fetchSpecificationForFetch()
          Enhanced version which uses the refreshesRefetchedObjects value
 com.webobjects.foundation.NSArray prefetchingRelationshipKeyPaths()
           
 boolean refreshesRefetchedObjects()
           
 void setPrefetchingRelationshipKeyPaths(com.webobjects.foundation.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 com.webobjects.foundation.NSArray _prefetchingRelationshipKeyPaths
Constructor Detail

ERXDatabaseDataSource

public ERXDatabaseDataSource(com.webobjects.eocontrol.EOEditingContext arg0,
                             java.lang.String arg1)
See Also:
EODatabaseDataSource

ERXDatabaseDataSource

public ERXDatabaseDataSource(com.webobjects.eocontrol.EOEditingContext arg0,
                             java.lang.String arg1,
                             java.lang.String arg2)
See Also:
EODatabaseDataSource

ERXDatabaseDataSource

public ERXDatabaseDataSource(com.webobjects.eocontrol.EOEditingContext arg0,
                             java.lang.String arg1,
                             java.lang.String arg2,
                             boolean refresh)
See Also:
EODatabaseDataSource
Method Detail

setRefreshesRefetchedObjects

public void setRefreshesRefetchedObjects(boolean v)

refreshesRefetchedObjects

public boolean refreshesRefetchedObjects()

prefetchingRelationshipKeyPaths

public com.webobjects.foundation.NSArray prefetchingRelationshipKeyPaths()

setPrefetchingRelationshipKeyPaths

public void setPrefetchingRelationshipKeyPaths(com.webobjects.foundation.NSArray relationshipKeyPaths)

fetchSpecificationForFetch

public com.webobjects.eocontrol.EOFetchSpecification fetchSpecificationForFetch()
Enhanced version which uses the refreshesRefetchedObjects value

Overrides:
fetchSpecificationForFetch in class com.webobjects.eoaccess.EODatabaseDataSource
See Also:
ERXDatabaseDataSource.setRefreshedRefetchedObjects

fetchSpecification

public com.webobjects.eocontrol.EOFetchSpecification fetchSpecification()
Enhanced version which uses the refreshesRefetchedObjects value

Overrides:
fetchSpecification in class com.webobjects.eoaccess.EODatabaseDataSource
See Also:
ERXDatabaseDataSource.setRefreshedRefetchedObjects

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

Copyright © 2002 – 2007 Project Wonder.