Home | Trees | Index | Help |
|
---|
Package bazaar :: Module cache :: Class LazyObject |
|
object
--+ |Cache
--+ |Lazy
--+ |UserDict
--+ | | |WeakValueDictionary
--+ | LazyObject
Method Summary | |
---|---|
Create object lazy cache. | |
Return all application class objects from database. | |
Load referenced object with primary key value key . | |
Inherited from Lazy | |
Return referenced object or association data. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from WeakValueDictionary | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from UserDict | |
| |
| |
| |
| |
(Class method) | |
|
Instance Variable Summary | |
---|---|
Inherited from Lazy | |
dicttype : Weak dictionary superclass, i.e. | |
Inherited from Cache | |
owner : Owner of the cache - object broker or association object. |
Instance Method Details |
---|
__init__(self,
owner)
Create object lazy cache.
|
itervalues(self)Return all application class objects from database. Method load objects from database, then checks if specific object exists in cache. If exists then object from cache is returned instead of object from database.
|
load(self, key)Load referenced object with primary key valuekey .
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue May 10 18:27:30 2005 | http://epydoc.sf.net |