Back to index

plone3  3.1.7
Public Member Functions | Static Private Attributes
CMFEditions.StandardModifiers.SaveFileDataInFileTypeByReference Class Reference

List of all members.

Public Member Functions

def getReferencedAttributes
def reattachReferencedAttributes

Static Private Attributes

tuple __implements__ = (IAttributeModifier, )

Detailed Description

Standard modifier avoiding unnecessary cloning of the file data.

Called on 'Portal File' objects.

Definition at line 655 of file

Member Function Documentation

Definition at line 663 of file

00664     def getReferencedAttributes(self, obj):
00665         return {'data': getattr(aq_base(obj),'data', None)}

Here is the caller graph for this function:

Definition at line 666 of file

00667     def reattachReferencedAttributes(self, obj, attrs_dict):
00669         obj = aq_base(obj)
00670         for name, attr_value in attrs_dict.items():
00671             setattr(obj, name, attr_value)
00674 InitializeClass(SaveFileDataInFileTypeByReference)

Member Data Documentation

Definition at line 661 of file

The documentation for this class was generated from the following file: