ERXDatabaseContextMulticastingDelegate Class Reference

Inherits er::extensions::foundation::ERXMulticastingDelegate.

Collaboration diagram for ERXDatabaseContextMulticastingDelegate:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void databaseContextDidFetchObjects (EODatabaseContext dbCtxt, NSArray array, EOFetchSpecification fetchSpec, EOEditingContext ec)
void databaseContextDidSelectObjects (EODatabaseContext dbCtxt, EOFetchSpecification fetchSpec, EODatabaseChannel dbChannel)
boolean databaseContextFailedToFetchObject (EODatabaseContext dbCtxt, Object object, EOGlobalID gid)
NSDictionary databaseContextNewPrimaryKey (EODatabaseContext dbCtxt, Object object, EOEntity entity)
boolean databaseContextShouldFetchArrayFault (EODatabaseContext dbCtxt, Object object)
boolean databaseContextShouldFetchObjectFault (EODatabaseContext dbCtxt, Object object)
NSArray databaseContextShouldFetchObjects (EODatabaseContext dbCtxt, EOFetchSpecification fetchSpec, EOEditingContext ec)
boolean databaseContextShouldHandleDatabaseException (EODatabaseContext dbCtxt, Throwable exception)
boolean databaseContextShouldInvalidateObjectWithGlobalID (EODatabaseContext dbCtxt, EOGlobalID gid, NSDictionary dic)
boolean databaseContextShouldLockObjectWithGlobalID (EODatabaseContext dbCtxt, EOGlobalID gid, NSDictionary dic)
boolean databaseContextShouldRaiseExceptionForLockFailure (EODatabaseContext dbCtxt, Throwable exception)
boolean databaseContextShouldSelectObjects (EODatabaseContext dbCtxt, EOFetchSpecification fetchSpec, EODatabaseChannel dbChannel)
NSDictionary databaseContextShouldUpdateCurrentSnapshot (EODatabaseContext dbCtxt, NSDictionary existingSnapshot, NSDictionary fetchedRow, EOGlobalID gid, EODatabaseChannel dbChannel)
boolean databaseContextShouldUsePessimisticLock (EODatabaseContext dbCtxt, EOFetchSpecification fetchSpec, EODatabaseChannel dbChannel)
void databaseContextWillFireArrayFaultForGlobalID (EODatabaseContext dbCtxt, EOGlobalID gid, EORelationship rel, EOFetchSpecification fetchSpec, EOEditingContext ec)
void databaseContextWillFireObjectFaultForGlobalID (EODatabaseContext dbCtxt, EOGlobalID gid, EOFetchSpecification fetchSpec, EOEditingContext ec)
NSArray databaseContextWillOrderAdaptorOperations (EODatabaseContext dbCtxt, NSArray databaseOps)
NSArray databaseContextWillPerformAdaptorOperations (EODatabaseContext dbCtxt, NSArray adaptorOps, EOAdaptorChannel adChannel)
boolean databaseContextWillRunLoginPanelToOpenDatabaseChannel (EODatabaseContext dbCtxt, EODatabaseChannel dbChannel)
 ERXDatabaseContextMulticastingDelegate ()

Static Public Member Functions

static void addDefaultDelegate (Object newDelegate)

Private Attributes

Method currentEditingContext
Method orderAdaptorOperations


Detailed Description

Subclass of er.extensions.foundation.ERXMulticastingDelegate that implements com.webobjects.eoaccess.EODatabaseContext.Delegate. Use this to aggregate multiple delegate objects for EODatabaseContext.Delegate

See also:
er.extensions.foundation.ERXMulticastingDelegate

com.webobjects.eoaccess.EODatabaseContext.Delegate

Author:
chill

Constructor & Destructor Documentation


Member Function Documentation

static void addDefaultDelegate ( Object  newDelegate  )  [static]

Convenience method to add newDelegate as the last delegate called for EODatabaseContext.defaultDelegate(). There are three cases to handle:

  1. If there is no default delegate defined, an ERXDatabaseContextMulticastingDelegate is created as the default delegate, and newDelegate added.

  2. If there is a default delegate defined, and it is a ERXDatabaseContextMulticastingDelegate, newDelegate is added at the end of the delegate chain.

  3. If there is a default delegate defined, and it is not a ERXDatabaseContextMulticastingDelegate, an ERXDatabaseContextMulticastingDelegate is created as the default delegate, the existing delegate is added, then newDelegate is added at the end of the delegate chain.

Parameters:
newDelegate object to include as delegate

void databaseContextDidFetchObjects ( EODatabaseContext  dbCtxt,
NSArray  array,
EOFetchSpecification  fetchSpec,
EOEditingContext  ec 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextDidFetchObjects(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.foundation.NSArray, com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext)

void databaseContextDidSelectObjects ( EODatabaseContext  dbCtxt,
EOFetchSpecification  fetchSpec,
EODatabaseChannel  dbChannel 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextDidSelectObjects(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eoaccess.EODatabaseChannel)

boolean databaseContextFailedToFetchObject ( EODatabaseContext  dbCtxt,
Object  object,
EOGlobalID  gid 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextFailedToFetchObject(com.webobjects.eoaccess.EODatabaseContext, java.lang.Object, com.webobjects.eocontrol.EOGlobalID)

NSDictionary databaseContextNewPrimaryKey ( EODatabaseContext  dbCtxt,
Object  object,
EOEntity  entity 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextNewPrimaryKey(com.webobjects.eoaccess.EODatabaseContext, java.lang.Object, com.webobjects.eoaccess.EOEntity)

boolean databaseContextShouldFetchArrayFault ( EODatabaseContext  dbCtxt,
Object  object 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextShouldFetchArrayFault(com.webobjects.eoaccess.EODatabaseContext, java.lang.Object)

boolean databaseContextShouldFetchObjectFault ( EODatabaseContext  dbCtxt,
Object  object 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextShouldFetchObjectFault(com.webobjects.eoaccess.EODatabaseContext, java.lang.Object)

NSArray databaseContextShouldFetchObjects ( EODatabaseContext  dbCtxt,
EOFetchSpecification  fetchSpec,
EOEditingContext  ec 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextShouldFetchObjects(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext)

boolean databaseContextShouldHandleDatabaseException ( EODatabaseContext  dbCtxt,
Throwable  exception 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextShouldHandleDatabaseException(com.webobjects.eoaccess.EODatabaseContext, java.lang.Throwable)

boolean databaseContextShouldInvalidateObjectWithGlobalID ( EODatabaseContext  dbCtxt,
EOGlobalID  gid,
NSDictionary  dic 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextShouldInvalidateObjectWithGlobalID(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.eocontrol.EOGlobalID, com.webobjects.foundation.NSDictionary)

boolean databaseContextShouldLockObjectWithGlobalID ( EODatabaseContext  dbCtxt,
EOGlobalID  gid,
NSDictionary  dic 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextShouldLockObjectWithGlobalID(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.eocontrol.EOGlobalID, com.webobjects.foundation.NSDictionary)

boolean databaseContextShouldRaiseExceptionForLockFailure ( EODatabaseContext  dbCtxt,
Throwable  exception 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextShouldRaiseExceptionForLockFailure(com.webobjects.eoaccess.EODatabaseContext, java.lang.Throwable)

boolean databaseContextShouldSelectObjects ( EODatabaseContext  dbCtxt,
EOFetchSpecification  fetchSpec,
EODatabaseChannel  dbChannel 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextShouldSelectObjects(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eoaccess.EODatabaseChannel)

NSDictionary databaseContextShouldUpdateCurrentSnapshot ( EODatabaseContext  dbCtxt,
NSDictionary  existingSnapshot,
NSDictionary  fetchedRow,
EOGlobalID  gid,
EODatabaseChannel  dbChannel 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextShouldUpdateCurrentSnapshot(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.foundation.NSDictionary, com.webobjects.foundation.NSDictionary, com.webobjects.eocontrol.EOGlobalID, com.webobjects.eoaccess.EODatabaseChannel)

EODatabase.snapshotForGlobalID(EOGlobalID, long)

boolean databaseContextShouldUsePessimisticLock ( EODatabaseContext  dbCtxt,
EOFetchSpecification  fetchSpec,
EODatabaseChannel  dbChannel 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextShouldUsePessimisticLock(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eoaccess.EODatabaseChannel)

void databaseContextWillFireArrayFaultForGlobalID ( EODatabaseContext  dbCtxt,
EOGlobalID  gid,
EORelationship  rel,
EOFetchSpecification  fetchSpec,
EOEditingContext  ec 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextWillFireArrayFaultForGlobalID(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.eocontrol.EOGlobalID, com.webobjects.eoaccess.EORelationship, com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext)

void databaseContextWillFireObjectFaultForGlobalID ( EODatabaseContext  dbCtxt,
EOGlobalID  gid,
EOFetchSpecification  fetchSpec,
EOEditingContext  ec 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextWillFireObjectFaultForGlobalID(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.eocontrol.EOGlobalID, com.webobjects.eocontrol.EOFetchSpecification, com.webobjects.eocontrol.EOEditingContext)

NSArray databaseContextWillOrderAdaptorOperations ( EODatabaseContext  dbCtxt,
NSArray  databaseOps 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextWillOrderAdaptorOperations(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.foundation.NSArray)

NSArray databaseContextWillPerformAdaptorOperations ( EODatabaseContext  dbCtxt,
NSArray  adaptorOps,
EOAdaptorChannel  adChannel 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextWillPerformAdaptorOperations(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.foundation.NSArray, com.webobjects.eoaccess.EOAdaptorChannel)

boolean databaseContextWillRunLoginPanelToOpenDatabaseChannel ( EODatabaseContext  dbCtxt,
EODatabaseChannel  dbChannel 
)

See also:
com.webobjects.eoaccess.EODatabaseContext.Delegate.databaseContextWillRunLoginPanelToOpenDatabaseChannel(com.webobjects.eoaccess.EODatabaseContext, com.webobjects.eoaccess.EODatabaseChannel)


Member Data Documentation

Method currentEditingContext [private]

Method orderAdaptorOperations [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:08 2012 for Project Wonder by  doxygen 1.5.8