Project Wonder 5.0.0.8795

er.extensions.eof
Class ERXDatabaseContext

java.lang.Object
  extended by com.webobjects.eocontrol.EOObjectStore
      extended by com.webobjects.eocontrol.EOCooperatingObjectStore
          extended by com.webobjects.eoaccess.EODatabaseContext
              extended by er.extensions.eof.ERXDatabaseContext
All Implemented Interfaces:
NSDisposable, NSLocking

public class ERXDatabaseContext
extends EODatabaseContext


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.eoaccess.EODatabaseContext
EODatabaseContext._EventLoggingEnabler, EODatabaseContext.DatabaseContextEvent, EODatabaseContext.Delegate
 
Field Summary
 
Fields inherited from class com.webobjects.eoaccess.EODatabaseContext
_adaptorContext, _batchFaultBuffer, _batchToManyFaultBuffer, _checkPropagatedPKs, _concurrentFetches, _contextClassToRegister, _currentBatch, _currentGeneration, _currentGlobalID, _currentSnapshot, _database, _dbOperationsByGlobalID, _delegate, _delegateRespondsTo_shouldUpdateCurrentSnapshot, _deleteTable, _editingContext, _flags_beganTransaction, _flags_hasPreloadedShared, _flags_ignoreEntityCaching, _flags_preparingForSave, _flags_willPrepareForSave, _IsEventLoggingEnabled, _lastEntity, _lazyFaultDebugLevel, _lockedObjects, _missingObjectGIDs, _nonPrimaryKeyGenerators, _registeredChannels, _suppressRedundantEODatabaseChangeNotification, _uniqueArrayTable, _uniqueTable, _updateStrategy, CustomQueryExpressionHintKey, DatabaseChannelNeededNotification, DatabaseContextKey, DatabaseOperationsKey, FailedDatabaseOperationKey, StoredProcedureNameHintKey, UpdateWithNoLocking, UpdateWithOptimisticLocking, UpdateWithPessimisticLocking
 
Fields inherited from class com.webobjects.eocontrol.EOCooperatingObjectStore
_CLASS, _coordinator
 
Fields inherited from class com.webobjects.eocontrol.EOObjectStore
_doAssertLock, _doAssertLockInitialized, _userInfo, _wasDisposed, DeletedKey, InsertedKey, InvalidatedAllObjectsInStoreNotification, InvalidatedKey, ObjectsChangedInStoreNotification, UpdatedKey
 
Fields inherited from interface com.webobjects.foundation.NSLocking
_CLASS, OneCentury, OneDay, OneHour, OneMinute, OneSecond, OneWeek, OneYear
 
Constructor Summary
ERXDatabaseContext(EODatabase database)
           
 
Method Summary
 NSArray _objectsWithFetchSpecificationEditingContext(EOFetchSpecification fetchSpec, EOEditingContext context)
           
 void _verifyNoChangesToReadonlyEntity(EODatabaseOperation dbOp)
           
static boolean isFetching()
           
 NSArray objectsForSourceGlobalID(EOGlobalID gid, String name, EOEditingContext context)
           
static void setFetching(boolean fetching)
           
 
Methods inherited from class com.webobjects.eoaccess.EODatabaseContext
_assertValidStateWithSelector, _availableChannel, _availableChannelFromRegisteredChannels, _batchFetchRelationshipForSourceObjectsEditingContext, _beginTransaction, _cleanUpAfterSave, _cleanUpAfterTransaction, _commitTransaction, _cooperatingObjectStoreNeeded, _currentCommittedSnapshotForObject, _databaseContextState, _delegateHandledDatabaseException, _EOAssertSafeMultiThreadedAccess, _exceptionWithDatabaseContextInformationAdded, _fetchRawRowKeyPaths, _filterArrayWithQualifierEditingContext, _fireArrayFault, _fireDeferredFaultWithSourceObject, _fireFault, _followFetchSpecification, _followToManyRelationshipWithFetchSpecification, _forceDisconnect, _globalIDForObject, _isDroppedConnectionException, _objectFaultWithSnapshotRelationshipEditingContext, _objectsChanged, _objectsFromEntityCacheWithFetchSpecEditingContext, _obtainOpenChannel, _openChannelWithLoginPanel, _patchUpPK, _performChangesWithAdaptorOps, _performPrefetchForFetchSpecification, _populateCacheForFetchSpecificationEditingContext, _registerForAdaptorContextNotifications, _registersnapshotForSourceGlobalIDEditingContext, _rollbackTransaction, _setSuppressRedundantEODatabaseChangeNotification, _setUseFastBatchAlgorithm, _setUseToManyCaching, _shouldGeneratePrimaryKeyForEntityName, _snapshotsChangedInDatabase, _turnToFaultGidEditingContextIsComplete, _unregisterForAdaptorContextNotifications, _validateKeyForEvaluationInMemory, _validateQualifierForEvaluationInMemory, _willPrepareForSave, adaptorContext, arrayFaultWithSourceGlobalID, availableChannel, batchFetchRelationship, cleanupSnapshots, commitChanges, contextClassToRegister, database, defaultDelegate, delegate, dispose, editingContextDidForgetObjectWithGlobalID, faultForGlobalID, faultForRawRow, forceConnectionWithModel, forgetAllLocks, forgetLocksForObjectsWithGlobalIDs, forgetSnapshotForGlobalID, forgetSnapshotsForGlobalIDs, handleDroppedConnection, handlesFetchSpecification, hasBusyChannels, initializeObject, invalidateAllObjects, invalidateObjectsWithGlobalIDs, isObjectLockedWithGlobalID, isObjectLockedWithGlobalID, isSharedObjectLoadingEnabled, localSnapshotForGlobalID, localSnapshotForSourceGlobalID, lock, lockObjectWithGlobalID, missingObjectGlobalIDs, objectsWithFetchSpecification, ownsGlobalID, ownsObject, performChanges, prepareForSaveWithCoordinator, recordChangesInEditingContext, recordSnapshotForGlobalID, recordSnapshotForSourceGlobalID, recordSnapshots, recordToManySnapshots, recordUpdateForObject, refaultObject, registerChannel, registeredChannels, registeredDatabaseContextForModel, registeredDatabaseContextForModel, registerLockedObjectWithGlobalID, rollbackChanges, saveChangesInEditingContext, setContextClassToRegister, setCoordinator, setDefaultDelegate, setDelegate, setSharedObjectLoadingEnabled, setUpdateStrategy, snapshotForGlobalID, snapshotForGlobalID, snapshotForSourceGlobalID, snapshotForSourceGlobalID, unlock, unregisterChannel, updateStrategy, valuesForKeys
 
Methods inherited from class com.webobjects.eocontrol.EOCooperatingObjectStore
coordinator
 
Methods inherited from class com.webobjects.eocontrol.EOObjectStore
_checkAssertLock, _invalidateObjectsDuringSave, _resetAssertLock, _suppressAssertLock, invokeRemoteMethod, setUserInfo, setUserInfoForKey, userInfo, userInfoForKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERXDatabaseContext

public ERXDatabaseContext(EODatabase database)
Method Detail

isFetching

public static boolean isFetching()

setFetching

public static void setFetching(boolean fetching)

objectsForSourceGlobalID

public NSArray objectsForSourceGlobalID(EOGlobalID gid,
                                        String name,
                                        EOEditingContext context)
Overrides:
objectsForSourceGlobalID in class EODatabaseContext

_objectsWithFetchSpecificationEditingContext

public NSArray _objectsWithFetchSpecificationEditingContext(EOFetchSpecification fetchSpec,
                                                            EOEditingContext context)
Overrides:
_objectsWithFetchSpecificationEditingContext in class EODatabaseContext

_verifyNoChangesToReadonlyEntity

public void _verifyNoChangesToReadonlyEntity(EODatabaseOperation dbOp)
Overrides:
_verifyNoChangesToReadonlyEntity in class EODatabaseContext

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

Copyright © 2002 – 2007 Project Wonder.