PATH  WebObjects 4.0 Documentation > EOAccess Reference



EOAccessFaultHandler

Inherits From:
EOAccessGenericFaultHandler : com.apple.yellow.eocontrol.EOFaultHandler : NSObject

Inherits From:
com.apple.yellow.eoaccess


Class Description

EOAccessFaultHandler is a subclass of EOAccessGenericFaultHandler that implements an object fault for enterprise objects.


Constructors


EOAccessFaultHandler

public EOAccessFaultHandler()

Returns an uninitialized array fault handler.

public EOAccessFaultHandler(com.apple.yellow.eocontrol.EOKeyGlobalID globalID,
EODatabaseContext databaseContext,
com.apple.yellow.eocontrol.EOEditingContext editingContext)

Returns a handler initialized with all of the information necessary to fetch the object when the fault is fired.


Instance Methods


completeInitializationOfObject

public void completeInitializationOfObject(java.lang.Object 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

public EODatabaseContext databaseContext()

Returns the receiver's database context.


editingContext

public com.apple.yellow.eocontrol.EOEditingContext editingContext()

Returns the receiver's editing context.


globalID

public com.apple.yellow.eocontrol.EOKeyGlobalID globalID()

Returns the receiver's global ID.






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