ERXEC.Delegate Interface Reference

List of all members.

Public Member Functions

void editingContextDidFailSaveChanges (EOEditingContext ec, EOGeneralAdaptorException exception)
void editingContextDidRevertObjects (EOEditingContext ec, NSArray insertedObjects, NSArray updatedObjects, NSArray deletedObjects)
void editingContextWillRevertObjects (EOEditingContext ec, NSArray insertedObjects, NSArray updatedObjects, NSArray deletedObjects)


Detailed Description

Extensions for the EOEditingContext.Delegate interface.

Member Function Documentation

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

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.

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.


The documentation for this interface was generated from the following file:

Generated on Sat May 26 06:43:08 2012 for Project Wonder by  doxygen 1.5.8