public class ERXDatabaseContext
extends com.webobjects.eoaccess.EODatabaseContext
Modifier and Type | Field and Description |
---|---|
protected static Class<? extends ERXDatabase> |
_dbClass |
_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
Constructor and Description |
---|
ERXDatabaseContext(com.webobjects.eoaccess.EODatabase database) |
Modifier and Type | Method and Description |
---|---|
void |
_followFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification fetchSpec,
String relationshipName,
NSArray sourceObjects,
com.webobjects.eocontrol.EOEditingContext context) |
NSArray |
_objectsWithFetchSpecificationEditingContext(com.webobjects.eocontrol.EOFetchSpecification fetchSpec,
com.webobjects.eocontrol.EOEditingContext context) |
void |
_verifyNoChangesToReadonlyEntity(com.webobjects.eoaccess.EODatabaseOperation dbOp) |
static boolean |
isFetching() |
NSArray |
objectsForSourceGlobalID(com.webobjects.eocontrol.EOGlobalID gid,
String name,
com.webobjects.eocontrol.EOEditingContext context) |
static void |
setDatabaseContextClass(Class<? extends ERXDatabase> cls) |
static void |
setFetching(boolean fetching) |
_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, 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
protected static Class<? extends ERXDatabase> _dbClass
public ERXDatabaseContext(com.webobjects.eoaccess.EODatabase database) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
public static void setDatabaseContextClass(Class<? extends ERXDatabase> cls)
public static boolean isFetching()
public static void setFetching(boolean fetching)
public NSArray objectsForSourceGlobalID(com.webobjects.eocontrol.EOGlobalID gid, String name, com.webobjects.eocontrol.EOEditingContext context)
objectsForSourceGlobalID
in class com.webobjects.eoaccess.EODatabaseContext
public NSArray _objectsWithFetchSpecificationEditingContext(com.webobjects.eocontrol.EOFetchSpecification fetchSpec, com.webobjects.eocontrol.EOEditingContext context)
_objectsWithFetchSpecificationEditingContext
in class com.webobjects.eoaccess.EODatabaseContext
public void _followFetchSpecification(com.webobjects.eocontrol.EOFetchSpecification fetchSpec, String relationshipName, NSArray sourceObjects, com.webobjects.eocontrol.EOEditingContext context)
_followFetchSpecification
in class com.webobjects.eoaccess.EODatabaseContext
public void _verifyNoChangesToReadonlyEntity(com.webobjects.eoaccess.EODatabaseOperation dbOp)
_verifyNoChangesToReadonlyEntity
in class com.webobjects.eoaccess.EODatabaseContext
Copyright © 2002 – 2020 Project Wonder.