PATH Documentation > WebObjects

Table of Contents

EOAccessGenericFaultHandler


Inherits from:
EOFaultHandler
Package:
com.webobjects.eoaccess


Class Description


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 linkAfterHandler to link one fault after another. Use next and previous to traverse the chain.




Constructors



EOAccessGenericFaultHandler

public EOAccessGenericFaultHandler()

Description forthcoming.


Instance Methods



completeInitialization

public abstract void completeInitializationOfObject(Object anObject)

Description forthcoming.

databaseContext

public EODatabaseContext databaseContext()

Description forthcoming.

editingContext

public com.webobjects.eocontrol.EOEditingContext editingContext()

Description forthcoming.

faultWillFire

public void faultWillFire(Object anObject)

Description forthcoming.

generation

public int generation()

Returns the receiver's generation, a number that represents when the fault handler was built.

linkAfterHandler

public void linkAfterHandler( EOAccessGenericFaultHandler faultHandler, 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 the batch.

See Also: next, previous



next

public EOAccessGenericFaultHandler next()

Returns the next fault in the chain.

previous

public EOAccessGenericFaultHandler previous()

Returns the previous fault in the chain.

© 2001 Apple Computer, Inc. (Last Published April 13, 2001)


Table of Contents