Project Wonder 5.0

er.extensions.eof
Interface ERXEC.Delegate

All Superinterfaces:
com.webobjects.eocontrol.EOEditingContext.Delegate
Enclosing class:
ERXEC

public static interface ERXEC.Delegate
extends com.webobjects.eocontrol.EOEditingContext.Delegate

Extensions for the EOEditingContext.Delegate interface.


Field Summary
 
Fields inherited from interface com.webobjects.eocontrol.EOEditingContext.Delegate
_CLASS
 
Method Summary
 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, com.webobjects.foundation.NSArray insertedObjects, com.webobjects.foundation.NSArray updatedObjects, com.webobjects.foundation.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, com.webobjects.foundation.NSArray insertedObjects, com.webobjects.foundation.NSArray updatedObjects, com.webobjects.foundation.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(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.

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

editingContextWillRevertObjects

void editingContextWillRevertObjects(com.webobjects.eocontrol.EOEditingContext ec,
                                     com.webobjects.foundation.NSArray insertedObjects,
                                     com.webobjects.foundation.NSArray updatedObjects,
                                     com.webobjects.foundation.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(com.webobjects.eocontrol.EOEditingContext ec,
                                    com.webobjects.foundation.NSArray insertedObjects,
                                    com.webobjects.foundation.NSArray updatedObjects,
                                    com.webobjects.foundation.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: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.