public static interface ERXEC.Delegate
extends com.webobjects.eocontrol.EOEditingContext.Delegate
Modifier and Type | Method and Description |
---|---|
void |
editingContextDidFailSaveChanges(com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.eoaccess.EOGeneralAdaptorException exception)
If the delegate implements this method, this method is invoked if a
EOGeneralAdaptorException is thrown. |
void |
editingContextDidRevertObjects(com.webobjects.eocontrol.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(com.webobjects.eocontrol.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(com.webobjects.eocontrol.EOEditingContext ec, com.webobjects.eoaccess.EOGeneralAdaptorException exception)
EOGeneralAdaptorException
is thrown.ec
- the editing context that tried to save changes.exception
- the exception thrown during the operationvoid editingContextWillRevertObjects(com.webobjects.eocontrol.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(com.webobjects.eocontrol.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 – 2020 Project Wonder.