Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > EOAccess Reference

Table of Contents

EOAccessArrayFaultHandler


Inherits from: EOAccessGenericFaultHandler : EOFaultHandler (EOControl) : NSObject
Conforms to: NSObject
(NSObject)
Declared in: EOAccess/EOAccessFault.h




Class Description


EOAccessArrayFaultHandler is a subclass of EOAccessGenericFaultHandler that implements a fault for an array of enterprise objects.




Instance Methods



completeInitializationOfObject

- (void)completeInitializationOfObject:(id)anObject

Asks the receiver's database context to fetch anObject if it is not already in memory. This method is called when a fault is fired and uses the EOObjectStore protocol to get the information from the receiver's editing context

databaseContext

- (EODatabaseContext *)databaseContext

Returns the receiver's database context.

editingContext

- (EOEditingContext *)editingContext

Returns the receiver's editing context.

initWithSourceGlobalID:relationshipName:databaseContext:editingContext:

- initWithSourceGlobalID:(EOKeyGlobalID *)sourceGID relationshipName:(NSString *)relationshipName databaseContext:(EODatabaseContext *)databaseContext editingContext:(EOEditingContext *)editingContext

Initializes the receiver with all of the information necessary to fetch the appropriate objects when the fault is fired. When the fault is fired, the database context asks the editing context for the required objects using the EOObjectStore protocol.

relationshipName

- (NSString *)relationshipName

Returns the receiver's relationship name.

sourceGlobalID

- (EOKeyGlobalID *)sourceGlobalID

Returns the receiver's source global ID.


Table of Contents