Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
CMFEditions.tests.DummyTools.DummyModifier Class Reference
Inheritance diagram for CMFEditions.tests.DummyTools.DummyModifier:
Inheritance graph
[legend]
Collaboration diagram for CMFEditions.tests.DummyTools.DummyModifier:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def beforeSaveModifier
def afterRetrieveModifier
def getReferencedAttributes
def reattachReferencedAttributes
def getOnCloneModifiers
def getId

Static Public Attributes

string id = 'portal_modifier'

Static Private Attributes

tuple __implements__ = ()

Detailed Description

Definition at line 259 of file DummyTools.py.


Member Function Documentation

def CMFEditions.tests.DummyTools.DummyModifier.afterRetrieveModifier (   self,
  obj,
  repo_clone,
  preserve = () 
)

Definition at line 266 of file DummyTools.py.

00266 
00267     def afterRetrieveModifier(self, obj, repo_clone, preserve=()):
00268         preserved = {}
00269         # just a dead simple test implementation
00270         for key in preserve:
00271             preserved[key] = key
00272         return [], [], preserved

Definition at line 263 of file DummyTools.py.

00263 
00264     def beforeSaveModifier(self, obj, clone):
00265         return {}, [], [] # XXX 2nd and 3rd shall be lists

Definition at line 33 of file DummyTools.py.

00033 
00034     def getId(self):
00035         return self.id

Here is the call graph for this function:

Definition at line 280 of file DummyTools.py.

00280 
00281     def getOnCloneModifiers(self, obj):
00282         return None

Definition at line 273 of file DummyTools.py.

00273 
00274     def getReferencedAttributes(self, obj):
00275         return {}

Here is the caller graph for this function:

def CMFEditions.tests.DummyTools.DummyModifier.reattachReferencedAttributes (   self,
  object,
  referenced_data 
)

Definition at line 276 of file DummyTools.py.

00276 
00277     def reattachReferencedAttributes(self, object, referenced_data):
00278         # nothing to do
00279         return


Member Data Documentation

Definition at line 260 of file DummyTools.py.

string CMFEditions.tests.DummyTools.DummyModifier.id = 'portal_modifier' [static]

Definition at line 261 of file DummyTools.py.


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