|
WebObjects 5.2.3 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.webobjects.eocontrol.EOFaultHandler
com.webobjects.eoaccess.EOAccessGenericFaultHandler
com.webobjects.eoaccess.EOAccessArrayFaultHandler
EOAccessArrayFaultHandler is a subclass of EOAccessGenericFaultHandler that implements a fault handler for an array of Enterprise Objects. It also is used when handling faults for to-many relationships.
EOAccessGenericFaultHandler| Constructor Summary | |
EOAccessArrayFaultHandler(EOKeyGlobalID sourceGlobalID,
String relationshipName,
EODatabaseContext dbcontext,
EOEditingContext ec)
Creates and returns a fault handler initialized with all of the information necessary to fetch the appropriate objects when the fault is fired. |
|
| Method Summary | |
void |
completeInitializationOfObject(Object eo)
Asks the database context to fetch an array of objects, if they are not already in memory. |
String |
relationshipName()
Returns the name of the to-many relationship. |
EOKeyGlobalID |
sourceGlobalID()
Returns the EOKeyGlobalID representing the source entity in a to-many relationship. |
String |
toString()
Returns a string representation of this fault handler. |
| Methods inherited from class com.webobjects.eoaccess.EOAccessGenericFaultHandler |
databaseContext, editingContext, faultWillFire, generation, linkAfterHandler, next, previous, processQueue, setContext |
| Methods inherited from class com.webobjects.eocontrol.EOFaultHandler |
clearFault, createFaultForDeferredFault, descriptionForObject, eoShallowDescription, handlerForFault, isFault, makeObjectIntoFault, targetClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EOAccessArrayFaultHandler(EOKeyGlobalID sourceGlobalID,
String relationshipName,
EODatabaseContext dbcontext,
EOEditingContext ec)
EOObjectStore interface.
sourceGlobalID - The EOKeyGlobalID of the source
entity in a to-many relationship.relationshipName - The name of the to-many
relationship.dbcontext - The database context.ec - The editing context.| Method Detail |
public void completeInitializationOfObject(Object eo)
EOObjectStore interface to get the
information from the editing context.
completeInitializationOfObject in class EOAccessGenericFaultHandlereo - An array of objects that is currently
represented as a fault.EOEnterpriseObjectpublic String relationshipName()
public EOKeyGlobalID sourceGlobalID()
public String toString()
toString in class EOFaultHandler
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||