Inherits from: EOFaultHandler (EOControl) : NSObject
Conforms to: NSObject
Declared in: EOAccess/EOAccessFault.h
EOAccessGenericFaultHandler is an abstract class that helps an EOAccessFault to fire by fetching data using an EODatabaseContext. Don't use EOAccessGenericFaultHandler directly; instead, use its subclasses EOAccessFaultHandler and EOAccessArrayFaultHandler.
EOAccessGenericFaultHandler lets you chain together all the fault handlers in the access layer, so the batch faulting mechanism can find other faults related to the one that triggered the batch. Use linkAfter:usingGeneration: to link one fault after another. Use next and previous to traverse the chain.
Informs the receiver that aFault is
about to be reverted to its original state. EOAccessGenericFaultHandler's
implementation removes the receiver from the chain of fault handlers.
This method is invoked by EOFault's clearFault: method.
Returns the receiver's generation, a number
that represents when the fault handler was built.
- (unsigned int)generation
Adds the receiver to a chain of fault handlers,
after faultHandler. generation is
a number that represents when the handler was built. All faults
in an access layer can be chained together, so the batch faulting
mechanism can find other faults related to the one that triggered
See Also: - next, - previous
Returns the next fault in the chain.
- (EOAccessGenericFaultHandler *)next
Returns the previous fault in the chain.
- (EOAccessGenericFaultHandler *)previous