Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFEditions.ArchivistTool Namespace Reference

Classes

class  VersionData
class  AttributeAdapter
class  VersionAwareReference
class  ArchivistTool
class  ObjectData
class  PreparedObject
class  LazyHistory
class  GetItemIterator

Functions

def deepcopy
def getUserId
def object_copied

Variables

 RETRIEVING_UNREGISTERED_FAILED = \

Function Documentation

Makes a deep copy of the object using the pickle mechanism.

Definition at line 64 of file ArchivistTool.py.

00064 
00065 def deepcopy(obj):
00066     """Makes a deep copy of the object using the pickle mechanism.
00067     """
00068     stream = StringIO()
00069     p = Pickler(stream, 1)
00070     p.dump(aq_base(obj))
00071     stream.seek(0)
00072     u = Unpickler(stream)
00073     return u.load()

Here is the caller graph for this function:

Definition at line 360 of file ArchivistTool.py.

00360 
00361 def getUserId():
00362     return getSecurityManager().getUser().getUserName()
00363 

Here is the call graph for this function:

Here is the caller graph for this function:

def CMFEditions.ArchivistTool.object_copied (   obj,
  event 
)

Definition at line 502 of file ArchivistTool.py.

00502 
00503 def object_copied(obj, event):
00504     if getattr(aq_base(obj), 'version_id', None) is not None:
00505         delattr(obj, 'version_id')

Variable Documentation

Definition at line 60 of file ArchivistTool.py.