Up

EOEditingContext Class

Authors

Generated by ayers

Version: 27903

Date: 2009-02-17 16:46:37 +0100 (Die, 17. Feb 2009)

Copyright: (C) 2000-2002,2003,2004,2005 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the EOEditingContext class
  2. Software documentation for the EOEditingContext(EOMultiThreaded) category
  3. Software documentation for the EOEditingContext(EORendezvous) category
  4. Software documentation for the EOEditingContext(EOStateArchiving) category
  5. Software documentation for the EOEditingContext(EOTargetAction) category
  6. Software documentation for the NSObject(EOEditingContext) category
  7. Software documentation for the NSObject(EOEditingContextDelegation) informal protocol
  8. Software documentation for the NSObject(EOEditors) category
  9. Software documentation for the NSObject(EOMessageHandlers) category
  10. EOEditingContext variables

Software documentation for the EOEditingContext class

EOEditingContext : EOObjectStore

Declared in:
EOControl/EOEditingContext.h
Conforms to:
EOObserving
Description forthcoming.

Instance Variables

Method summary

defaultFetchTimestampLag 

+ (NSTimeInterval) defaultFetchTimestampLag;
Description forthcoming.

instancesRetainRegisteredObjects 

+ (BOOL) instancesRetainRegisteredObjects;
Description forthcoming.

setDefaultFetchTimestampLag: 

+ (void) setDefaultFetchTimestampLag: (NSTimeInterval)lag;
Description forthcoming.

setInstancesRetainRegisteredObjects: 

+ (void) setInstancesRetainRegisteredObjects: (BOOL)flag;
Description forthcoming.

addEditor: 

- (void) addEditor: (id)editor;
Description forthcoming.

arrayFaultWithSourceGlobalID: relationshipName: editingContext: 

- (NSArray*) arrayFaultWithSourceGlobalID: (EOGlobalID*)globalID relationshipName: (NSString*)name editingContext: (EOEditingContext*)context;
Description forthcoming.

clearOriginalSnapshotForObject: 

- (void) clearOriginalSnapshotForObject: (id)object;
Description forthcoming.

committedSnapshotForObject: 

- (NSDictionary*) committedSnapshotForObject: (id)object;
Returns a dictionary containing a snapshot of object that reflects its committed values (last values putted in the database; i.e. values before changes were made on the object). It is updated after commiting new values.
Returns a dictionary containing a snapshot of object that reflects its committed values (last values putted in the database; i.e. values before changes were made on the object). It is updated after commiting new values.

currentEventSnapshotForObject: 

- (NSDictionary*) currentEventSnapshotForObject: (id)object;
Returns a dictionary containing a snapshot of object with its state as it was at the beginning of the current event loop. After the end of the current event, upon invocation of processRecentChanges, the snapshot is updated to hold the modified state of the object.
Returns a dictionary containing a snapshot of object with its state as it was at the beginning of the current event loop. After the end of the current event, upon invocation of processRecentChanges, the snapshot is updated to hold the modified state of the object.

delegate 

- (id) delegate;
Description forthcoming.

deleteObject: 

- (void) deleteObject: (id)object;
Description forthcoming.

deletedObjects 

- (NSArray*) deletedObjects;
Description forthcoming.

editors 

- (NSArray*) editors;
Description forthcoming.

faultForGlobalID: editingContext: 

- (id) faultForGlobalID: (EOGlobalID*)globalID editingContext: (EOEditingContext*)context;
Description forthcoming.

faultForRawRow: entityNamed: 

- (id) faultForRawRow: (NSDictionary*)row entityNamed: (NSString*)entityName;
Description forthcoming.

faultForRawRow: entityNamed: editingContext: 

- (id) faultForRawRow: (NSDictionary*)row entityNamed: (NSString*)entityName editingContext: (EOEditingContext*)context;
Description forthcoming.

forgetObject: 

- (void) forgetObject: (id)object;
Description forthcoming.

globalIDForObject: 

- (EOGlobalID*) globalIDForObject: (id)object;
Description forthcoming.

hasChanges 

- (BOOL) hasChanges;
Description forthcoming.

initWithParentObjectStore: 

- (id) initWithParentObjectStore: (EOObjectStore*)parentObjectStore;
Description forthcoming.

initializeObject: withGlobalID: editingContext: 

- (void) initializeObject: (id)object withGlobalID: (EOGlobalID*)globalID editingContext: (EOEditingContext*)context;
Description forthcoming.

insertObject: 

- (void) insertObject: (id)object;
Description forthcoming.

insertObject: withGlobalID: 

- (void) insertObject: (id)object withGlobalID: (EOGlobalID*)gid;
Description forthcoming.

insertedObjects 

- (NSArray*) insertedObjects;
Description forthcoming.

invalidatesObjectsWhenFreed 

- (BOOL) invalidatesObjectsWhenFreed;
Description forthcoming.

isObjectLockedWithGlobalID: editingContext: 

- (BOOL) isObjectLockedWithGlobalID: (EOGlobalID*)gid editingContext: (EOEditingContext*)context;
Description forthcoming.

lockObject: 

- (void) lockObject: (id)object;
Description forthcoming.

lockObjectWithGlobalID: editingContext: 

- (void) lockObjectWithGlobalID: (EOGlobalID*)gid editingContext: (EOEditingContext*)context;
Description forthcoming.

locksObjectsBeforeFirstModification 

- (BOOL) locksObjectsBeforeFirstModification;
Description forthcoming.

messageHandler 

- (id) messageHandler;
Description forthcoming.

objectForGlobalID: 

- (id) objectForGlobalID: (EOGlobalID*)globalID;
Description forthcoming.

objectWillChange: 

- (void) objectWillChange: (id)object;
Description forthcoming.

objectsForSourceGlobalID: relationshipName: editingContext: 

- (NSArray*) objectsForSourceGlobalID: (EOGlobalID*)globalID relationshipName: (NSString*)name editingContext: (EOEditingContext*)context;
Description forthcoming.

objectsWithFetchSpecification: 

- (NSArray*) objectsWithFetchSpecification: (EOFetchSpecification*)fetchSpecification;
Description forthcoming.

objectsWithFetchSpecification: editingContext: 

- (NSArray*) objectsWithFetchSpecification: (EOFetchSpecification*)fetchSpecification editingContext: (EOEditingContext*)context;
Description forthcoming.

parentObjectStore 

- (EOObjectStore*) parentObjectStore;
Description forthcoming.

processRecentChanges 

- (void) processRecentChanges;
Description forthcoming.

propagatesDeletesAtEndOfEvent 

- (BOOL) propagatesDeletesAtEndOfEvent;
Description forthcoming.

propagatesDeletesUsingTable: 

- (void) propagatesDeletesUsingTable: (NSHashTable*)deleteTable;
Description forthcoming.

recordObject: globalID: 

- (void) recordObject: (id)object globalID: (EOGlobalID*)globalID;
Description forthcoming.

refaultObject: withGlobalID: editingContext: 

- (void) refaultObject: (id)object withGlobalID: (EOGlobalID*)globalID editingContext: (EOEditingContext*)context;
Description forthcoming.

refaultObjects 

- (void) refaultObjects;
Description forthcoming.

registerUndoForModifiedObject: 

- (void) registerUndoForModifiedObject: (id)object;
Description forthcoming.

registeredObjects 

- (NSArray*) registeredObjects;
Description forthcoming.

removeEditor: 

- (void) removeEditor: (id)editor;
Description forthcoming.

revert 

- (void) revert;
Description forthcoming.

rootObjectStore 

- (EOObjectStore*) rootObjectStore;
Description forthcoming.

saveChanges 

- (void) saveChanges;
Description forthcoming.

saveChangesInEditingContext: 

- (void) saveChangesInEditingContext: (EOEditingContext*)context;
Description forthcoming.

setDelegate: 

- (void) setDelegate: (id)delegate;
Description forthcoming.

setInvalidatesObjectsWhenFreed: 

- (void) setInvalidatesObjectsWhenFreed: (BOOL)flag;
Description forthcoming.

setLevelsOfUndo: 

- (void) setLevelsOfUndo: (int)levels;
Description forthcoming.

setLocksObjectsBeforeFirstModification: 

- (void) setLocksObjectsBeforeFirstModification: (BOOL)flag;
Description forthcoming.

setMessageHandler: 

- (void) setMessageHandler: (id)handler;
Description forthcoming.

setPropagatesDeletesAtEndOfEvent: 

- (void) setPropagatesDeletesAtEndOfEvent: (BOOL)propagatesDeletesAtEndOfEvent;
Description forthcoming.

setSharedEditingContext: 

- (void) setSharedEditingContext: (EOSharedEditingContext*)sharedEditingContext;
Description forthcoming.

setStopsValidationAfterFirstError: 

- (void) setStopsValidationAfterFirstError: (BOOL)flag;
Description forthcoming.

setUndoManager: 

- (void) setUndoManager: (NSUndoManager*)undoManager;
Description forthcoming.

sharedEditingContext 

- (EOSharedEditingContext*) sharedEditingContext;
Description forthcoming.

stopsValidationAfterFirstError 

- (BOOL) stopsValidationAfterFirstError;
Description forthcoming.

uncommittedChangesForObject: 

- (NSDictionary*) uncommittedChangesForObject: (id)object;
Description forthcoming.

undoManager 

- (NSUndoManager*) undoManager;
Description forthcoming.

updatedObjects 

- (NSArray*) updatedObjects;
Description forthcoming.

validateDeletesUsingTable: 

- (void) validateDeletesUsingTable: (NSHashTable*)deleteTable;
Description forthcoming.

validateTable: withSelector: exceptionArray: continueAfterFailure: 

- (BOOL) validateTable: (NSHashTable*)table withSelector: (SEL)sel exceptionArray: (NSMutableArray**)exceptionArrayPtr continueAfterFailure: (BOOL)continueAfterFailure;
Description forthcoming.



Instance Variables for EOEditingContext Class

_changedObjects

@protected NSHashTable* _changedObjects;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_delegate

@protected id _delegate;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_delegateRespondsTo

@protected struct ... _delegateRespondsTo;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_deletedObjects

@protected NSHashTable* _deletedObjects;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_editors

@protected NSMutableArray* _editors;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_eventSnapshotsByGID

@protected NSMutableDictionary* _eventSnapshotsByGID;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_flags

@protected struct ... _flags;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_globalIDsByObject

@protected NSMapTable* _globalIDsByObject;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_insertedObjects

@protected NSHashTable* _insertedObjects;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_lock

@protected NSRecursiveLock* _lock;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_lockCount

@protected int _lockCount;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_lockPool

@protected NSAutoreleasePool* _lockPool;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_messageHandler

@protected id _messageHandler;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_notificationQueue

@protected id _notificationQueue;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_objectStore

@protected EOObjectStore* _objectStore;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_objectsByGID

@protected NSMapTable* _objectsByGID;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_sharedContext

@protected EOSharedEditingContext* _sharedContext;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_snapshotsByGID

@protected NSMutableDictionary* _snapshotsByGID;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_undoManager

@protected NSUndoManager* _undoManager;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_undoTransactionID

@protected unsigned short int _undoTransactionID;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_unprocessedChanges

@protected NSHashTable* _unprocessedChanges;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_unprocessedDeletes

@protected NSHashTable* _unprocessedDeletes;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_unprocessedInserts

@protected NSHashTable* _unprocessedInserts;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

fetchTimestamp

@protected NSTimeInterval fetchTimestamp;
Description forthcoming.




Software documentation for the EOEditingContext(EOMultiThreaded) category

EOEditingContext(EOMultiThreaded)

Declared in:
EOControl/EOEditingContext.h
Conforms to:
NSLocking
Description forthcoming.
Method summary

setEOFMultiThreadedEnabled: 

+ (void) setEOFMultiThreadedEnabled: (BOOL)flag;
Description forthcoming.

lock 

- (void) lock;
Description forthcoming.

tryLock 

- (BOOL) tryLock;
Description forthcoming.

unlock 

- (void) unlock;
Description forthcoming.

Software documentation for the EOEditingContext(EORendezvous) category

EOEditingContext(EORendezvous)

Declared in:
EOControl/EOEditingContext.h
Description forthcoming.
Method summary

defaultParentObjectStore 

+ (EOObjectStore*) defaultParentObjectStore;
Description forthcoming.

setDefaultParentObjectStore: 

+ (void) setDefaultParentObjectStore: (EOObjectStore*)store;
Description forthcoming.

setSubstitutionEditingContext: 

+ (void) setSubstitutionEditingContext: (EOEditingContext*)ec;
Description forthcoming.

substitutionEditingContext 

+ (EOEditingContext*) substitutionEditingContext;
Description forthcoming.

Software documentation for the EOEditingContext(EOStateArchiving) category

EOEditingContext(EOStateArchiving)

Declared in:
EOControl/EOEditingContext.h
Description forthcoming.
Method summary

encodeObject: withCoder: 

+ (void) encodeObject: (id)object withCoder: (NSCoder*)coder;
Description forthcoming.

initObject: withCoder: 

+ (id) initObject: (id)object withCoder: (NSCoder*)coder;
Description forthcoming.

setUsesContextRelativeEncoding: 

+ (void) setUsesContextRelativeEncoding: (BOOL)flag;
Description forthcoming.

usesContextRelativeEncoding 

+ (BOOL) usesContextRelativeEncoding;
Description forthcoming.

Software documentation for the EOEditingContext(EOTargetAction) category

EOEditingContext(EOTargetAction)

Declared in:
EOControl/EOEditingContext.h
Description forthcoming.
Method summary

objectsDescription 

- (NSString*) objectsDescription;
Description forthcoming.

redo: 

- (void) redo: (id)sender;
Description forthcoming.

refault: 

- (void) refault: (id)sender;
Description forthcoming.

refetch: 

- (void) refetch: (id)sender;
Description forthcoming.

revert: 

- (void) revert: (id)sender;
Description forthcoming.

saveChanges: 

- (void) saveChanges: (id)sender;
Description forthcoming.

undo: 

- (void) undo: (id)sender;
Description forthcoming.

unprocessedDescription 

- (NSString*) unprocessedDescription;
Description forthcoming.

Software documentation for the NSObject(EOEditingContext) category

NSObject(EOEditingContext)

Declared in:
EOControl/EOEditingContext.h
Description forthcoming.
Method summary

editingContext 

- (EOEditingContext*) editingContext;
Description forthcoming.

Software documentation for the NSObject(EOEditingContextDelegation) informal protocol

NSObject(EOEditingContextDelegation)

Declared in:
EOControl/EOEditingContext.h
Description forthcoming.
Method summary

editingContext: shouldFetchObjectsDescribedByFetchSpecification: 

- (NSArray*) editingContext: (EOEditingContext*)editingContext shouldFetchObjectsDescribedByFetchSpecification: (EOFetchSpecification*)fetchSpecification;
Description forthcoming.

editingContext: shouldInvalidateObject: globalID: 

- (BOOL) editingContext: (EOEditingContext*)editingContext shouldInvalidateObject: (id)object globalID: (EOGlobalID*)gid;
Description forthcoming.

editingContext: shouldMergeChangesForObject: 

- (BOOL) editingContext: (EOEditingContext*)editingContext shouldMergeChangesForObject: (id)object;
Description forthcoming.

editingContext: shouldPresentException: 

- (BOOL) editingContext: (EOEditingContext*)editingContext shouldPresentException: (NSException*)exception;
Description forthcoming.

editingContextDidMergeChanges: 

- (void) editingContextDidMergeChanges: (EOEditingContext*)editingContext;
Description forthcoming.

editingContextShouldUndoUserActionsAfterFailure: 

- (BOOL) editingContextShouldUndoUserActionsAfterFailure: (EOEditingContext*)context;
Description forthcoming.

editingContextShouldValidateChanges: 

- (BOOL) editingContextShouldValidateChanges: (EOEditingContext*)editingContext;
Description forthcoming.

editingContextWillSaveChanges: 

- (void) editingContextWillSaveChanges: (EOEditingContext*)editingContext;
Description forthcoming.

Software documentation for the NSObject(EOEditors) category

NSObject(EOEditors)

Declared in:
EOControl/EOEditingContext.h
Description forthcoming.
Method summary

editingContextWillSaveChanges: 

- (void) editingContextWillSaveChanges: (EOEditingContext*)editingContext;
Description forthcoming.

editorHasChangesForEditingContext: 

- (BOOL) editorHasChangesForEditingContext: (EOEditingContext*)editingContext;
Called by the EOEditingContext to determine if the editor is "dirty"

Software documentation for the NSObject(EOMessageHandlers) category

NSObject(EOMessageHandlers)

Declared in:
EOControl/EOEditingContext.h
Description forthcoming.
Method summary

editingContext: presentErrorMessage: 

- (void) editingContext: (EOEditingContext*)editingContext presentErrorMessage: (NSString*)message;
Description forthcoming.

editingContext: shouldContinueFetchingWithCurrentObjectCount: originalLimit: objectStore: 

- (BOOL) editingContext: (EOEditingContext*)editingContext shouldContinueFetchingWithCurrentObjectCount: (unsigned)count originalLimit: (unsigned)limit objectStore: (EOObjectStore*)objectStore;
Description forthcoming.

EOEditingContext variables

EOEditingContextDidSaveChangesNotification

NSString* EOEditingContextDidSaveChangesNotification;
Description forthcoming.

EOObjectsChangedInEditingContextNotification

NSString* EOObjectsChangedInEditingContextNotification;
Description forthcoming.


Up