Home | Trees | Index | Help |
---|
Package twisted :: Package enterprise :: Module xmlreflector :: Class XMLReflector |
|
Reflector
--+
|
XMLReflector
Reflector for twisted.enterprise that uses XML files.
WARNING: this is an experimental piece of code. this reflector does not function completely yet! it is also very very slow.Method Summary | |
---|---|
__init__(self,
baseDir,
rowClasses)
| |
__getstate__(self)
(inherited from Reflector )
| |
__setstate__(self,
state)
(inherited from Reflector )
| |
NOTE: Should this be recursive?! requires better container knowledge... (inherited from Reflector )
| |
util method used by reflectors. (inherited from Reflector )
| |
util method used by reflectors. (inherited from Reflector )
| |
delete the row for this object from the database. | |
findInCache(self,
rowClass,
kw)
(inherited from Reflector )
| |
Get a TableInfo record about a particular instance. (inherited from Reflector )
| |
insert a new row for this object instance. | |
The whereClause for XML loading is [(columnName, operation, value)] list of tuples | |
makeFilenameFor(self,
rowObject)
| |
This is called once for each registered rowClass to add it and its foreign key relationships for that rowClass to the schema. (inherited from Reflector )
| |
NOTE: should this be recursive!?? (inherited from Reflector )
| |
update this rowObject to the database. |
Class Variable Summary | |
---|---|
string |
extension
|
Method Details |
---|
deleteRow(self, rowObject)delete the row for this object from the database. |
insertRow(self, rowObject)insert a new row for this object instance. dont include the "container" attribute. |
loadObjectsFrom(self, tableName, parentRow=None, data=None, whereClause=None, forceChildren=1)The whereClause for XML loading is [(columnName, operation, value)] list of tuples |
updateRow(self, rowObject)update this rowObject to the database. |
Class Variable Details |
---|
extension
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sat Feb 15 21:17:50 2003 | http://epydoc.sf.net |