|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface EOEditingContext.Delegate
Used by EditingContext to delegate behavior to another class. Note that EditingContext doesn't require its delegates to implement this interface: rather, this interface defines the methods that EditingContext will attempt to invoke dynamically on its delegate. The delegate may choose to implement only a subset of the methods on the interface.
Method Summary | |
---|---|
void |
editingContextDidMergeChanges(EOEditingContext anEditingContext)
Called after the editing context has completed merge operations on one or more objects after receiving an ObjectChangedInStore notification. |
net.wotonomy.foundation.NSArray |
editingContextShouldFetchObjects(EOEditingContext anEditingContext,
EOFetchSpecification fetchSpecification)
Called by objectsWithFetchSpecification. |
boolean |
editingContextShouldInvalidateObject(EOEditingContext anEditingContext,
java.lang.Object anObject,
EOGlobalID aGlobalID)
Called to determine whether an object should be invalidated. |
boolean |
editingContextShouldMergeChangesForObject(EOEditingContext anEditingContext,
java.lang.Object anObject)
Called to determine whether the editing context should attempt to merge changes in the specified object that the parent store says has changed via an ObjectChangedInStore notification. |
boolean |
editingContextShouldPresentException(EOEditingContext anEditingContext,
java.lang.Throwable exception)
Returns whether the editing context should ask its message handler to display a message. |
boolean |
editingContextShouldUndoUserActionsAfterFailure(EOEditingContext anEditingContext)
Returns whether the editing context should undo the most recent set of changes that resulted in a validation failure. |
boolean |
editingContextShouldValidateChanges(EOEditingContext anEditingContext)
Returns whether the editing context should validate the most recent set of changes. |
void |
editingContextWillSaveChanges(EOEditingContext anEditingContext)
Called before the editing context saves its changes to the parent object store. |
Method Detail |
---|
void editingContextDidMergeChanges(EOEditingContext anEditingContext)
net.wotonomy.foundation.NSArray editingContextShouldFetchObjects(EOEditingContext anEditingContext, EOFetchSpecification fetchSpecification)
boolean editingContextShouldInvalidateObject(EOEditingContext anEditingContext, java.lang.Object anObject, EOGlobalID aGlobalID)
boolean editingContextShouldMergeChangesForObject(EOEditingContext anEditingContext, java.lang.Object anObject)
boolean editingContextShouldPresentException(EOEditingContext anEditingContext, java.lang.Throwable exception)
boolean editingContextShouldUndoUserActionsAfterFailure(EOEditingContext anEditingContext)
boolean editingContextShouldValidateChanges(EOEditingContext anEditingContext)
void editingContextWillSaveChanges(EOEditingContext anEditingContext)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |