|
|
@@ -40,6 +40,7 @@ class Object(object): |
|
|
|
res = None |
|
|
|
writeStatus = None |
|
|
|
content = property(lambda x: x._content) |
|
|
|
needupdate = None # do we update before sending? (for res) |
|
|
|
|
|
|
|
def __init__(self, cd, id, parentID, title, restricted = False, |
|
|
|
creator = None, **kwargs): |
|
|
@@ -103,6 +104,7 @@ class Item(Object): |
|
|
|
klass = Object.klass + '.item' |
|
|
|
elementName = 'item' |
|
|
|
refID = None |
|
|
|
needupdate = True |
|
|
|
|
|
|
|
def doUpdate(self): |
|
|
|
# Update parent container |
|
|
@@ -240,6 +242,7 @@ class Container(Object, list): |
|
|
|
searchClass = None |
|
|
|
searchable = None |
|
|
|
updateID = 0 |
|
|
|
needupdate = False |
|
|
|
|
|
|
|
def __init__(self, cd, id, parentID, title, restricted = 0, creator = None): |
|
|
|
Object.__init__(self, cd, id, parentID, title, restricted, creator) |
|
|
|