Home | Trees | Index | Help |
|
---|
Package Modeling :: Module DatabaseContext |
|
Classes | |
---|---|
__contextClassToRegister |
|
DatabaseContext |
Function Summary | |
---|---|
__abstract__()
| |
Returns the class of objects to be instanciated when an 'ObjectStoreCoordinator' object posts a 'CooperatingObjectStoreNeeded' notification. | |
Returns the default delegate to be assigned to DatabaseContexts at instanciation-time. | |
Unimplemented yet | |
Registered at module's initialization time as an observer for the 'ObjectStoreCoordinator.CooperatingObjectStoreNeededNotification'. | |
Returns '0' (false): Shared Editing Context is not supported yet. | |
Parameter 'anObjectStore' can be either an 'EditingContext' or a 'ObjectStoreCoordinator'. | |
setContextClassToRegister(contextClass)
| |
See defaultDelegate() for details | |
Shared E.C. |
Function Details |
---|
contextClassToRegister()Returns the class of objects to be instanciated when an 'ObjectStoreCoordinator' object posts a 'CooperatingObjectStoreNeeded' notification. Defaults to DatabaseContext. |
defaultDelegate()Returns the default delegate to be assigned to DatabaseContexts at instanciation-time. Not implemented yet (lacks an interface and specific treatments in class 'DatabaseContext'). Defaults to None. |
forceConnectionWithModel(aModel, overrides, anEditingContext)Unimplemented yet |
handleNotification(aNotification)Registered at module's initialization time as an observer for the 'ObjectStoreCoordinator.CooperatingObjectStoreNeededNotification'. The userInfo of that notification is a dictionary with only one key, whose corresponding value responds to the 'entityName()' message ; the model corresponding to that entity is searched within the default ModelSet, and it is then used to initialize the Database object to be associated with the newly created DatabaseContext. At last, that DatabaseContext is added to the list of cooperatingObjectStores in the 'ObjectStoreCoordinator' which sent this notification. |
isSharedObjectLoadingEnabled()Returns '0' (false): Shared Editing Context is not supported yet. |
registeredDatabaseContextForModel(aModel, anObjectStore)Parameter 'anObjectStore' can be either an 'EditingContext' or a 'ObjectStoreCoordinator'. Sends message 'rootObjectStore' to 'anObjectStore' and returns the 'DatabaseContext' registered for that model. If none is found, a new DatabaseContext object is created, registered in the 'rootObjectStore', and returned. |
setDefaultDelegate(defaultDelegate)See defaultDelegate() for details |
setSharedObjectLoadingEnabled(bool)Shared E.C. is not implemented yet, hence this raises 'Unimplemented' |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Mar 4 13:36:27 2006 | http://epydoc.sf.net |