public static interface ERXEC.Delegate extends EOEditingContext.Delegate
_CLASS
Modifier and Type | Method and Description |
---|---|
void |
editingContextDidFailSaveChanges(EOEditingContext ec,
EOGeneralAdaptorException exception)
If the delegate implements this method, this method is invoked if a
EOGeneralAdaptorException is thrown. |
void |
editingContextDidRevertObjects(EOEditingContext ec,
NSArray insertedObjects,
NSArray updatedObjects,
NSArray deletedObjects)
If the delegate implements this method, this method is invoked
following a revert of an editing context.
|
void |
editingContextWillRevertObjects(EOEditingContext ec,
NSArray insertedObjects,
NSArray updatedObjects,
NSArray deletedObjects)
If the delegate implements this method, this method is invoked before
a revert of an editing context.
|
editingContextDidMergeChanges, editingContextShouldFetchObjects, editingContextShouldInvalidateObject, editingContextShouldMergeChangesForObject, editingContextShouldPresentException, editingContextShouldUndoUserActionsAfterFailure, editingContextShouldValidateChanges, editingContextWillSaveChanges
void editingContextDidFailSaveChanges(EOEditingContext ec, EOGeneralAdaptorException exception)
EOGeneralAdaptorException
is thrown.ec
- the editing context that tried to save changes.exception
- the exception thrown during the operationvoid editingContextWillRevertObjects(EOEditingContext ec, NSArray insertedObjects, NSArray updatedObjects, NSArray deletedObjects)
ec
- the editing context that just reverted.insertedObjects
- objects that were marked as inserted in the editing
context before the revert took place.updatedObjects
- objects that were marked as updated in the editing context
before the revert took place.deletedObjects
- objects that were marked as deleted in the editing context
before the revert took place.void editingContextDidRevertObjects(EOEditingContext ec, NSArray insertedObjects, NSArray updatedObjects, NSArray deletedObjects)
ec
- the editing context that just reverted.insertedObjects
- objects that were marked as inserted in the editing
context before the revert took place.updatedObjects
- objects that were marked as updated in the editing context
before the revert took place.deletedObjects
- objects that were marked as deleted in the editing context
before the revert took place.Copyright © 2002 – 2024 Project Wonder.