Back to index

plone3  3.1.7
Public Member Functions
CMFEditions.tests.test_ModifierRegistryTool.LoggingModifier_C Class Reference
Inheritance diagram for CMFEditions.tests.test_ModifierRegistryTool.LoggingModifier_C:
Inheritance graph
[legend]
Collaboration diagram for CMFEditions.tests.test_ModifierRegistryTool.LoggingModifier_C:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getReferencedAttributes
def getOnCloneModifiers
def beforeSaveModifier
def afterRetrieveModifier

Detailed Description

Definition at line 139 of file test_ModifierRegistryTool.py.


Member Function Documentation

def CMFEditions.tests.test_ModifierRegistryTool.LoggingModifierBase.afterRetrieveModifier (   self,
  obj,
  repo_clone,
  preserve = () 
) [inherited]

Definition at line 129 of file test_ModifierRegistryTool.py.

00129 
00130     def afterRetrieveModifier(self, obj, repo_clone, preserve=()):
00131         mlog.append("%s.afterRetrieveModifier" % (self.__class__.__name__))
00132         return [], [], {}

Definition at line 125 of file test_ModifierRegistryTool.py.

00125 
00126     def beforeSaveModifier(self, obj, obj_clone):
00127         mlog.append("%s.beforeSaveModifier" % (self.__class__.__name__))
00128         return {}, [], []
        

Definition at line 113 of file test_ModifierRegistryTool.py.

00113 
00114     def getOnCloneModifiers(self, obj):
00115         mlog.append("%s.getOnCloneModifiers" % (self.__class__.__name__))
00116         
00117         def persistent_id(obj):
00118             return None
00119             
00120         def persistent_load(pid):
00121             # should never reach this!
00122             assert False
00123         
00124         return persistent_id, persistent_load, [], [], ''

Definition at line 104 of file test_ModifierRegistryTool.py.

00104 
00105     def getReferencedAttributes(self, obj):
00106         referenced_data = {
00107             'k1': 'v1:'+str(self.__class__.__name__), 
00108             'k2': 'v2:'+str(self.__class__.__name__), 
00109         }
00110         mlog.append("%s.getReferencedAttributes: %s" % 
00111                     (self.__class__.__name__, dictToString(referenced_data)))
00112         return referenced_data
        

Here is the call graph for this function:


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