Package Modeling :: Module CooperatingObjectStore :: Class CooperatingObjectStore
[show private | hide private]
[frames | no frames]

Class CooperatingObjectStore

ObjectStore --+
              |
             CooperatingObjectStore

Known Subclasses:
DatabaseContext

See 'Modeling.interfaces.CooperatingObjectStoreInterface' for details
Method Summary
  commitChanges(self)
See interfaces.CooperatingObjectStore for details
  coordinator(self)
Returns the current ObjectStoreCoordinator which which the DatabaseContext cooperates during the process of saving changes.
  handlesFetchSpecification(self, aFetchSpecification)
See interfaces.CooperatingObjectStore for details
  ownsGlobalID(self, aGlobalID)
See interfaces.CooperatingObjectStore for details
  ownsObject(self, anObject)
See interfaces.CooperatingObjectStore for details
  performChanges(self)
See interfaces.CooperatingObjectStore for details
  prepareForSaveWithCoordinator(self, aCoordinator, anEditingContext)
See interfaces.CooperatingObjectStore for details
  recordChangesInEditingContext(self)
See interfaces.CooperatingObjectStore for details
  recordUpdateForObject(self, anObject, aDictionaryOfChanges)
See interfaces.CooperatingObjectStore for details
  rollbackChanges(self)
See interfaces.CooperatingObjectStore for details
  valuesForKey(self, keys, anObject)
See interfaces.CooperatingObjectStore for details
    Inherited from ObjectStore
  arrayFaultWithSourceGlobalID(self, aGlobalID, aRelationshipName, anEditingContext)
See interfaces.ObjectStore for details
  editingContextDidForgetObjectWithGlobalID(self, aContext, aGlobalID)
See interfaces.ObjectStore for details
  faultForGlobalID(self, aGlobalID, anEditingContext)
See interfaces.ObjectStore for details
  faultForRawRow(self, aRow, anEntityName, anEditingContext)
See interfaces.ObjectStore for details
  handlesObject(self, anObject)
An alias for ownsObject().
  initializeObject(self, anObject, aGlobalID, anEditingContext)
See interfaces.ObjectStore for details
  invalidateAllObjects(self)
See interfaces.ObjectStore for details
  invalidateObjectsWithGlobalIDs(self, globalIDs)
See interfaces.ObjectStore for details
  isObjectLockedWithGlobalID(self, aGlobalID, anEditingContext)
See interfaces.ObjectStore for details
  lockObjectWithGlobalID(self, aGlobalID, anEditingContext)
See interfaces.ObjectStore for details
  objectsCountWithFetchSpecification(self, aFetchSpecification, anEditingContext)
See interfaces.ObjectStore for details
  objectsForSourceGlobalID(self, aGlobalID, aRelationshipName, anEditingContext)
See interfaces.ObjectStore for details
  objectsWithFetchSpecification(self, aFetchSpecification, anEditingContext)
See interfaces.ObjectStore for details
  refaultObject(self, anObject, aGlobalID, anEditingContext)
See interfaces.ObjectStore for details
  rootObjectStore(self)
See interfaces.ObjectStore for details
  savesChangesInEditingContext(self, anEditingContext)
See interfaces.ObjectStore for details

Class Variable Summary
tuple __implements__ = (<class Modeling.interfaces.Cooperating...
str __raise_exception__ = 'AbstractMethod'
str __raise_msg__ = 'CooperatingObjectStore is an abstract c...

Method Details

commitChanges(self)

See interfaces.CooperatingObjectStore for details

coordinator(self)

Returns the current ObjectStoreCoordinator which which the DatabaseContext cooperates during the process of saving changes. The coordinator is set when prepareForSaveWithCoordinator() is called, and it is reset whenever the process aborts --either with commitChanges() or rollbackChanges().

Outside a process of save changes, this returns None.

See also: prepareForSaveWithCoordinator(), commitChanges(),
rollbackChanges()

handlesFetchSpecification(self, aFetchSpecification)

See interfaces.CooperatingObjectStore for details

ownsGlobalID(self, aGlobalID)

See interfaces.CooperatingObjectStore for details

ownsObject(self, anObject)

See interfaces.CooperatingObjectStore for details
Overrides:
Modeling.ObjectStore.ObjectStore.ownsObject

performChanges(self)

See interfaces.CooperatingObjectStore for details

prepareForSaveWithCoordinator(self, aCoordinator, anEditingContext)

See interfaces.CooperatingObjectStore for details

recordChangesInEditingContext(self)

See interfaces.CooperatingObjectStore for details

recordUpdateForObject(self, anObject, aDictionaryOfChanges)

See interfaces.CooperatingObjectStore for details

rollbackChanges(self)

See interfaces.CooperatingObjectStore for details

valuesForKey(self, keys, anObject)

See interfaces.CooperatingObjectStore for details

Class Variable Details

__implements__

Type:
tuple
Value:
(<class Modeling.interfaces.CooperatingObjectStoreInterface.Cooperatin\
gObjectStoreInterface at 0xb78b2fbc>,)                                 

__raise_exception__

Type:
str
Value:
'AbstractMethod'                                                       

__raise_msg__

Type:
str
Value:
'CooperatingObjectStore is an abstract class ; concrete subclasses sho\
uld override this method'                                              

Generated by Epydoc 2.1 on Sat Mar 4 13:36:22 2006 http://epydoc.sf.net