public class ERXDatabaseContext extends EODatabaseContext
EODatabaseContext._EventLoggingEnabler, EODatabaseContext.DatabaseContextEvent, EODatabaseContext.Delegate
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
_CLASS, _coordinator
_doAssertLock, _doAssertLockInitialized, _userInfo, _wasDisposed, DeletedKey, InsertedKey, InvalidatedAllObjectsInStoreNotification, InvalidatedKey, ObjectsChangedInStoreNotification, UpdatedKey
Constructor and Description |
---|
ERXDatabaseContext(EODatabase database) |
Modifier and Type | Method and Description |
---|---|
void |
_followFetchSpecification(EOFetchSpecification fetchSpec,
String relationshipName,
NSArray sourceObjects,
EOEditingContext context) |
NSArray |
_objectsWithFetchSpecificationEditingContext(EOFetchSpecification fetchSpec,
EOEditingContext context) |
void |
_verifyNoChangesToReadonlyEntity(EODatabaseOperation dbOp) |
static boolean |
isFetching() |
NSArray |
objectsForSourceGlobalID(EOGlobalID gid,
String name,
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
coordinator
_checkAssertLock, _invalidateObjectsDuringSave, _resetAssertLock, _suppressAssertLock, invokeRemoteMethod, setUserInfo, setUserInfoForKey, userInfo, userInfoForKey
protected static Class<? extends ERXDatabase> _dbClass
public ERXDatabaseContext(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(EOGlobalID gid, String name, EOEditingContext context)
objectsForSourceGlobalID
in class EODatabaseContext
public NSArray _objectsWithFetchSpecificationEditingContext(EOFetchSpecification fetchSpec, EOEditingContext context)
_objectsWithFetchSpecificationEditingContext
in class EODatabaseContext
public void _followFetchSpecification(EOFetchSpecification fetchSpec, String relationshipName, NSArray sourceObjects, EOEditingContext context)
_followFetchSpecification
in class EODatabaseContext
public void _verifyNoChangesToReadonlyEntity(EODatabaseOperation dbOp)
_verifyNoChangesToReadonlyEntity
in class EODatabaseContext
Copyright © 2002 – 2024 Project Wonder.