|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
public static interface ERXEC.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 |
|---|
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 operation
void editingContextWillRevertObjects(com.webobjects.eocontrol.EOEditingContext ec,
com.webobjects.foundation.NSArray insertedObjects,
com.webobjects.foundation.NSArray updatedObjects,
com.webobjects.foundation.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,
com.webobjects.foundation.NSArray insertedObjects,
com.webobjects.foundation.NSArray updatedObjects,
com.webobjects.foundation.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.
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||