Project Wonder 5.0

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:
com.webobjects.foundation.NSDisposable, com.webobjects.foundation.NSLocking

public class ERXDatabaseContext
extends com.webobjects.eoaccess.EODatabaseContext


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.eoaccess.EODatabaseContext
com.webobjects.eoaccess.EODatabaseContext._EventLoggingEnabler, com.webobjects.eoaccess.EODatabaseContext.DatabaseContextEvent, com.webobjects.eoaccess.EODatabaseContext.Delegate
 
Field Summary
static org.apache.log4j.Logger log
          general logging
 
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, _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(com.webobjects.eoaccess.EODatabase database)
           
 
Method Summary
 void _followFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification fetchSpec, java.lang.String relationshipName, com.webobjects.foundation.NSArray sourceObjects, com.webobjects.eocontrol.EOEditingContext context)
           
 com.webobjects.foundation.NSArray _objectsWithFetchSpecificationEditingContext(com.webobjects.eocontrol.EOFetchSpecification fetchSpec, com.webobjects.eocontrol.EOEditingContext context)
           
 void _verifyNoChangesToReadonlyEntity(com.webobjects.eoaccess.EODatabaseOperation dbOp)
           
static boolean isFetching()
           
 com.webobjects.foundation.NSArray objectsForSourceGlobalID(com.webobjects.eocontrol.EOGlobalID gid, java.lang.String name, com.webobjects.eocontrol.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, _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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Logger log
general logging

Constructor Detail

ERXDatabaseContext

public ERXDatabaseContext(com.webobjects.eoaccess.EODatabase database)
Method Detail

isFetching

public static boolean isFetching()

setFetching

public static void setFetching(boolean fetching)

objectsForSourceGlobalID

public com.webobjects.foundation.NSArray objectsForSourceGlobalID(com.webobjects.eocontrol.EOGlobalID gid,
                                                                  java.lang.String name,
                                                                  com.webobjects.eocontrol.EOEditingContext context)
Overrides:
objectsForSourceGlobalID in class com.webobjects.eoaccess.EODatabaseContext

_objectsWithFetchSpecificationEditingContext

public com.webobjects.foundation.NSArray _objectsWithFetchSpecificationEditingContext(com.webobjects.eocontrol.EOFetchSpecification fetchSpec,
                                                                                      com.webobjects.eocontrol.EOEditingContext context)
Overrides:
_objectsWithFetchSpecificationEditingContext in class com.webobjects.eoaccess.EODatabaseContext

_followFetchSpecification

public void _followFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification fetchSpec,
                                      java.lang.String relationshipName,
                                      com.webobjects.foundation.NSArray sourceObjects,
                                      com.webobjects.eocontrol.EOEditingContext context)
Overrides:
_followFetchSpecification in class com.webobjects.eoaccess.EODatabaseContext

_verifyNoChangesToReadonlyEntity

public void _verifyNoChangesToReadonlyEntity(com.webobjects.eoaccess.EODatabaseOperation dbOp)
Overrides:
_verifyNoChangesToReadonlyEntity in class com.webobjects.eoaccess.EODatabaseContext

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

Copyright © 2002 – 2007 Project Wonder.