Commit 4683027b authored by Yoshinori Okuji's avatar Yoshinori Okuji

Add a new method serialize.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6029 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e688823d
...@@ -2289,6 +2289,12 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): ...@@ -2289,6 +2289,12 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ):
# Add to catalog # Add to catalog
self.reindexObject() self.reindexObject()
security.declarePublic('serialize')
def serialize(self):
"""Make the transaction accessing to this object atomic
"""
self.id = self.id
InitializeClass(Base) InitializeClass(Base)
class TempBase(Base): class TempBase(Base):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment