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

Table of Contents

EOAccessFaultHandler


Inherits from: EOAccessGenericFaultHandler : EOFaultHandler (EOControl) : NSObject
Package: com.apple.yellow.eoaccess


Class Description


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




Constructors



EOAccessFaultHandler

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(Object anObject)

Asks the receiver's database context to fetch anObject if it is not already in memory. This method is 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.


Table of Contents