Project Wonder 5.0.0.8795

er.extensions.eof
Interface ERXEC.Delegate

All Superinterfaces:
EOEditingContext.Delegate
Enclosing class:
ERXEC

public static interface ERXEC.Delegate
extends EOEditingContext.Delegate

Extensions for the EOEditingContext.Delegate interface.


Field Summary
 
Fields inherited from interface com.webobjects.eocontrol.EOEditingContext.Delegate
_CLASS
 
Method Summary
 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.
 
Methods inherited from interface com.webobjects.eocontrol.EOEditingContext.Delegate
editingContextDidMergeChanges, editingContextShouldFetchObjects, editingContextShouldInvalidateObject, editingContextShouldMergeChangesForObject, editingContextShouldPresentException, editingContextShouldUndoUserActionsAfterFailure, editingContextShouldValidateChanges, editingContextWillSaveChanges
 

Method Detail

editingContextDidFailSaveChanges

void editingContextDidFailSaveChanges(EOEditingContext ec,
                                      EOGeneralAdaptorException exception)
If the delegate implements this method, this method is invoked if a EOGeneralAdaptorException is thrown.

Parameters:
ec - the editing context that tried to save changes.
exception - the exception thrown during the operation

editingContextWillRevertObjects

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. We pass the objects that are marked as inserted, updated and deleted.

Parameters:
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.

editingContextDidRevertObjects

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. We pass the objects that were marked as inserted, updated and deleted before the revert took place.

Parameters:
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.

Last updated: Fri, Jan 9, 2009 • 04:35 AM EST

Copyright © 2002 – 2007 Project Wonder.