| Home | Trees | Index | Help |
|---|
| Package twisted :: Package web :: Package woven :: Module model :: Class DictionaryModel |
|
Model--+ |Wrapper--+ | DictionaryModel
| Method Summary | |
|---|---|
__init__(self,
orig)
(inherited from Wrapper)
| |
__getstate__(self)
(inherited from Model)
| |
__repr__(self)
(inherited from Wrapper)
| |
addSubview(self,
name,
subview)
(inherited from Model)
| |
Add a view for the model to keep track of. (inherited from Model)
| |
dataWillChange(self)
| |
getData(self,
request)
(inherited from Model)
| |
Get the submodel `name' of this model. | |
Hook for subclasses to initialize themselves without having to mess with the __init__ chain. (inherited from Model)
| |
Invalidate the cache for this object, so the next time getData is called, it's getter method is called again. (inherited from Model)
| |
Look up a full submodel name. (inherited from Model)
| |
Notify all views that something was changed on me. (inherited from Model)
| |
Remove a view that the model no longer should keep track of. (inherited from Model)
| |
setData(self,
request,
data)
(inherited from Model)
| |
setGetter(self,
getter)
(inherited from Model)
| |
setSetter(self,
setter)
(inherited from Model)
| |
Set a submodel on this model. | |
Check if a submodel name is allowed. (inherited from Model)
| |
submodelFactory(self,
request,
name)
(inherited from Model)
| |
| Method Details |
|---|
getSubmodel(self, request=None, name=None)Get the submodel `name' of this model. If I ever return a Deferred, then I ought to check for cached values (created bysetSubmodel) before doing a regular
Deferred lookup.
|
setSubmodel(self, request=None, name=None, value=None)Set a submodel on this model. If getSubmodel or lookupSubmodel ever return a Deferred, I ought to set this in a place that lookupSubmodel/getSubmodel know about, so they can use it as a cache.
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 1.1 on Fri Jun 27 03:46:14 2003 | http://epydoc.sf.net |