|
WebObjects 5.2.3 | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use EODatabaseContext | |
com.webobjects.eoaccess | Provides the data access mechanisms for the Enterprise Objects technology. |
Uses of EODatabaseContext in com.webobjects.eoaccess |
Methods in com.webobjects.eoaccess that return EODatabaseContext | |
static EODatabaseContext |
EOUtilities.databaseContextForModelNamed(EOEditingContext ec,
String name)
Returns the database context used to service the specified model. |
EODatabaseContext |
EODatabaseDataSource.databaseContext()
Returns the EODatabaseContext that is used to access the external database. |
static EODatabaseContext |
EODatabaseContext.forceConnectionWithModel(EOModel model,
NSDictionary overrides,
EOEditingContext editingContext)
Forces the stack of objects in the EOAccess layer to be instantiated, if necessary, and then makes a connection to the database. |
static EODatabaseContext |
EODatabaseContext.registeredDatabaseContextForModel(EOModel model,
EOObjectStoreCoordinator coordinator)
Returns the cooperating object store that is registered with the EOObjectStoreCoordinator coordinator for the EOModel model . |
static EODatabaseContext |
EODatabaseContext.registeredDatabaseContextForModel(EOModel model,
EOEditingContext editingContext)
Finds the EOObjectStoreCoordinator for editingContext
and checks whether it already contains an EODatabaseContext cooperating
store for model . |
EODatabaseContext |
EODatabaseChannel.databaseContext()
Returns the EODatabaseContext that controls transactions for the receiver. |
EODatabaseContext |
EOAccessGenericFaultHandler.databaseContext()
Returns the current database context associated with this fault handler. |
Methods in com.webobjects.eoaccess with parameters of type EODatabaseContext | |
void |
EODatabaseContext.Delegate.databaseContextDidFetchObjects(EODatabaseContext dbCtxt,
NSArray array,
EOFetchSpecification fetchSpec,
EOEditingContext ec)
Invoked from objectsWithFetchSpecification after
fetching objects into the editing context ec using fetchSpec . |
void |
EODatabaseContext.Delegate.databaseContextDidSelectObjects(EODatabaseContext dbCtxt,
EOFetchSpecification fetchSpec,
EODatabaseChannel dbChannel)
Invoked from the EODatabaseChannel method selectObjectsWithFetchSpecification to tell the delegate that
dbChannel has selected the objects on behalf of dbCtxt
as specified by fetchSpec . |
boolean |
EODatabaseContext.Delegate.databaseContextFailedToFetchObject(EODatabaseContext dbCtxt,
Object object,
EOGlobalID gid)
Invoked when a to-one fault cannot find its data in the database. |
NSDictionary |
EODatabaseContext.Delegate.databaseContextNewPrimaryKey(EODatabaseContext dbCtxt,
Object object,
EOEntity entity)
Invoked if the newly inserted Enterprise Object object doesn't
have a primary key set. |
boolean |
EODatabaseContext.Delegate.databaseContextShouldFetchArrayFault(EODatabaseContext dbCtxt,
Object object)
Invoked when a fault is fired, this delegate method lets you fine-tune the behavior of batch faulting. |
boolean |
EODatabaseContext.Delegate.databaseContextShouldFetchObjectFault(EODatabaseContext dbCtxt,
Object object)
Invoked when a fault is fired, this delegate method lets you fine-tune the behavior of batch faulting. |
NSArray |
EODatabaseContext.Delegate.databaseContextShouldFetchObjects(EODatabaseContext dbCtxt,
EOFetchSpecification fetchSpec,
EOEditingContext ec)
Invoked from objectsWithFetchSpecification to give the delegate
the opportunity to satisfy ec 's fetch request (using the
criteria specified in fetchSpec ) from a local cache. |
boolean |
EODatabaseContext.Delegate.databaseContextShouldHandleDatabaseException(EODatabaseContext dbCtxt,
Throwable exception)
Invoked when an exception is thrown that might be handled by reconnecting to the database. |
boolean |
EODatabaseContext.Delegate.databaseContextShouldInvalidateObjectWithGlobalID(EODatabaseContext dbCtxt,
EOGlobalID gid,
NSDictionary dic)
Invoked from invalidateObjectsWithGlobalIDs . |
boolean |
EODatabaseContext.Delegate.databaseContextShouldLockObjectWithGlobalID(EODatabaseContext dbCtxt,
EOGlobalID gid,
NSDictionary dic)
Invoked from lockObjectWithGlobalID . |
boolean |
EODatabaseContext.Delegate.databaseContextShouldRaiseExceptionForLockFailure(EODatabaseContext dbCtxt,
Throwable exception)
Invoked from lockObjectWithGlobalID . |
boolean |
EODatabaseContext.Delegate.databaseContextShouldSelectObjects(EODatabaseContext dbCtxt,
EOFetchSpecification fetchSpec,
EODatabaseChannel dbChannel)
Invoked from the EODatabaseChannel method selectObjectsWithFetchSpecification to tell the delegate
that the database channel dbChannel will select objects on
behalf of the database context dbCtxt as specified by
fetchSpec . |
NSDictionary |
EODatabaseContext.Delegate.databaseContextShouldUpdateCurrentSnapshot(EODatabaseContext dbCtxt,
NSDictionary dic,
NSDictionary dic2,
EOGlobalID gid,
EODatabaseChannel dbChannel)
Invoked from the EODatabaseChannel method fetchObject when
the database context already has a snapshot for a row fetched
from the database. |
boolean |
EODatabaseContext.Delegate.databaseContextShouldUsePessimisticLock(EODatabaseContext dbCtxt,
EOFetchSpecification fetchSpec,
EODatabaseChannel dbChannel)
Invoked from the EODatabaseChannel method selectObjectsWithFetchSpecification . |
void |
EODatabaseContext.Delegate.databaseContextWillFireArrayFaultForGlobalID(EODatabaseContext dbCtxt,
EOGlobalID gid,
EORelationship rel,
EOFetchSpecification fetchSpec,
EOEditingContext ec)
Invoked just before the Framework-generated fetch specification, fetchSpec , is used to clear the fault for the specified
globalID (gid ) and relationship(rel ). |
void |
EODatabaseContext.Delegate.databaseContextWillFireObjectFaultForGlobalID(EODatabaseContext dbCtxt,
EOGlobalID gid,
EOFetchSpecification fetchSpec,
EOEditingContext ec)
Invoked just before the Framework-generated fetch specification, fetchSpec , is used to clear the fault for the specified
globalID, gid . |
NSArray |
EODatabaseContext.Delegate.databaseContextWillOrderAdaptorOperations(EODatabaseContext dbCtxt,
NSArray databaseOps)
Invoked from performChanges . |
NSArray |
EODatabaseContext.Delegate.databaseContextWillPerformAdaptorOperations(EODatabaseContext dbCtxt,
NSArray adaptorOps,
EOAdaptorChannel adChannel)
Invoked from performChanges to allow the delegate
to send a different array of EOAdaptorOperations to be executed
by dbCtx . |
boolean |
EODatabaseContext.Delegate.databaseContextWillRunLoginPanelToOpenDatabaseChannel(EODatabaseContext dbCtx,
EODatabaseChannel dbChannel)
Allows the delegate to determine whether the database context dbCtx
should run the adaptor login panel and open the adaptor channel associated with
the database channel dbChannel , if the adaptor channel is not already open. |
void |
EODatabase.registerContext(EODatabaseContext context)
Registers context as one of the receiver's database
contexts. |
void |
EODatabase.unregisterContext(EODatabaseContext context)
Removes context as one of the receiver's database
contexts. |
protected void |
EOAccessGenericFaultHandler.setContext(EODatabaseContext dbcontext,
EOEditingContext ec)
|
Constructors in com.webobjects.eoaccess with parameters of type EODatabaseContext | |
EODatabaseChannel(EODatabaseContext databaseContext)
Constructs a new EODatabaseChannel with databaseContext as its parent. |
|
EOAccessFaultHandler(EOKeyGlobalID globalID,
EODatabaseContext dbcontext,
EOEditingContext ec)
Returns a new fault handler with all of the information necessary to fetch the object when the fault is fired. |
|
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. |
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV NEXT | FRAMES NO FRAMES |