Documentation Archive Developer
Search
PATH  WebObjects 4.0 Documentation > EOAccess Reference



EOAccessFaultHandler

Inherits From:
EOAccessGenericFaultHandler :EOFaultHandler (EOControl) : NSObject

Declared in: EOAccess/EOAccessFault.h


Class Description

EOAccessFaultHandler is a subclass of EOAccessGenericFaultHandler that implements an object fault for 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 called when the 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.


globalID

- (EOKeyGlobalID *)globalID

Returns the receiver's global ID.


initWithglobalID:relationshipName:databaseContext:editingContext:

- initWithGlobalID:(EOKeyGlobalID *)globalID
databaseContext:(EODatabaseContext *)databaseContext
editingContext:(EOEditingContext *)editingContext

Initializes the handler with all of the information necessary to fetch the object when the fault is fired. When the fault is fired, this object calls completeInitializationOfObject on the object.






Copyright © 1998, Apple Computer, Inc. All rights reserved.