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

Type SnapshotsTable

    object --+    
             |    
SnapshotsTable --+
                 |
                SnapshotsTable


Internally used to handle local snapshots.
Method Summary
  disableSnapshotRefCounting(self)
Overrides 'SnapshotsHandling.SnapshotsTable.disableSnapshotRefCounting()'
  isSnapshotRefCountingEnabled(self)
Return false: we do not care about snapshot reference counting here, since the snapshots are only used when saving changes and are discarded after the transaction finishes.
    Inherited from SnapshotsTable
  __init__(self)
Initializer.
  __unimplemented__(self)
Raises Unimplemented...
  decrementSnapshotCountForGlobalID(self, aGlobalID)
  forgetAllSnapshots(self)
Clears every snapshots currently referenced
  forgetSnapshotForGlobalID(self, aGlobalID)
Deletes all references to snapshots for 'aGlobalID'
  forgetSnapshotForGlobalIDs(self, globalIDs)
Deletes all references to snapshots registered for the GlobalIDs in 'globalIDs'
  globalIDs(self)
Returns the list of all 'GlobalIDs' referenced in the snapshots
  incrementSnapshotCountForGlobalID(self, aGlobalID)
See also: decrementSnapshotCountForGlobalID()
  recordSnapshotForGlobalID(self, snapshot, aGlobalID)
  recordSnapshotForSourceGlobalID(self, gids, aGlobalID, aName)
Sets the toMany snapshot for the supplied GlobalID.
  recordSnapshots(self, snapshots)
  recordToManySnapshots(self, snapshots)
Records the snapshots for a toMany relationship.
  setTimestampToNow(self)
  snapshotCountForGlobalID(self, aGlobalID)
decrementSnapshotCountForGlobalID()
  snapshotForGlobalID(self, aGlobalID, timestamp)
  snapshotForSourceGlobalID(self, aGlobalID, aName, timestamp)
  snapshots(self)
  timestampForGlobalID(self, aGlobalID)
  timestampForSourceGlobalID(self, aGlobalID, aName)
  toManySnapshots(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

disableSnapshotRefCounting(self)

Overrides 'SnapshotsHandling.SnapshotsTable.disableSnapshotRefCounting()'
Overrides:
Modeling.SnapshotsHandling.SnapshotsTable.disableSnapshotRefCounting

isSnapshotRefCountingEnabled(self)

Return false: we do not care about snapshot reference counting here, since the snapshots are only used when saving changes and are discarded after the transaction finishes.

Overrides 'SnapshotsHandling.SnapshotsTable.isSnapshotRefCountingEnabled()'

Overrides:
Modeling.SnapshotsHandling.SnapshotsTable.isSnapshotRefCountingEnabled

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