Package twisted :: Package popsicle :: Module mailsicle :: Class Mailsicle
[frames | no frames]

Class Mailsicle

     Repository --+    
                  |    
DirectoryRepository --+
                      |
                     Mailsicle


Method Summary
  addressOID(self, obj, desc)
  cache(self, oid, obj, finished)
Weakly cache an object for the given OID.
  getOID(self, obj)
  getOldIndexes(self, obj)
  loadOIDList(self, s)
  loadOIDNow(self, oid)
Implement me if you want to implement synchronous loading.
  makeOIDList(self, l)
  queryIndex(self, idx, value)
  removeIndex(self, oid, idx, value)
  saveOID(self, oid, obj)
Return a Deferred which will fire True when the object is saved.
  storeIndex(self, oid, idx, value)
    Inherited from DirectoryRepository
  __init__(self, dirname)
  generateOID(self, obj)
Generate an OID synchronously.
    Inherited from Repository
  __getstate__(self)
  __setstate__(self, dct)
  _cbLoadedOID(self, result, oid, pref)
  cleaned(self)
The freezer finished cleaning, and some of my objects were cleaned.
  createOID(self, oid, klass)
Create an instance with an oid and cache it.
  load(self, oid)
Load an object from cache or by OID.
  loadNow(self, oid)
External API for synchronously loading stuff.
  loadOID(self, oid)
Implement me to return a Deferred if you want to implement asynchronous loading.
  loadRef(self, pRef)
Synonymous with ref.__call__().
  save(self, obj)
Save an object...

Class Variable Summary
    Inherited from Repository
int _lastOID = 0                                                                     

Method Details

cache(self, oid, obj, finished=1)

Weakly cache an object for the given OID.

This means I own it, so also register it with the Freezer as such.
Overrides:
twisted.popsicle.repos.Repository.cache (inherited documentation)

loadOIDNow(self, oid)

Implement me if you want to implement synchronous loading.
Overrides:
twisted.popsicle.repos.Repository.loadOIDNow (inherited documentation)

saveOID(self, oid, obj)

Return a Deferred which will fire True when the object is saved.
Overrides:
twisted.popsicle.repos.Repository.saveOID (inherited documentation)

Generated by Epydoc 2.0 on Sat Sep 13 04:21:05 2003 http://epydoc.sf.net