Back to index

plone3  3.1.7
Public Member Functions
CMFEditions.interfaces.IModifier.ICloneModifier Class Reference
Inheritance diagram for CMFEditions.interfaces.IModifier.ICloneModifier:
Inheritance graph
[legend]
Collaboration diagram for CMFEditions.interfaces.IModifier.ICloneModifier:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getOnCloneModifiers

Detailed Description

Modifies an object on save to or retrieval from a repository storage.

A modifier knows how to manipulate an object being under version control
on save to and on retrieval from the repositories storage.

Definition at line 49 of file IModifier.py.


Member Function Documentation

Modifies an object on save to or retrieval from a repository storage.

A modifier knows how to manipulate an object being under version control
on save to and on retrieval from the repositories storage.
Returns modifier callbacks being called during clone.

Use this to manipulate objects during cloning to avoid excessive
recursing of the clone operator eating much CPU and RAM.

Returns a tuple consisting of a pickle peristent_id callback,
a pickle persistent_load callback, two lists of 'IAttributeAdapter'
objects adapting to a referenced object (inside references and
outside references) and a name. The name may be an empty string.

Returns just 'None' if no modifier callbacks have to be called.

XXX Argh, this description is shit!

Definition at line 57 of file IModifier.py.

00057 
00058     def getOnCloneModifiers(obj):
00059         """Returns modifier callbacks being called during clone.
00060 
00061         Use this to manipulate objects during cloning to avoid excessive
00062         recursing of the clone operator eating much CPU and RAM.
00063 
00064         Returns a tuple consisting of a pickle peristent_id callback,
00065         a pickle persistent_load callback, two lists of 'IAttributeAdapter'
00066         objects adapting to a referenced object (inside references and
00067         outside references) and a name. The name may be an empty string.
00068 
00069         Returns just 'None' if no modifier callbacks have to be called.
00070 
00071         XXX Argh, this description is shit!
00072         """
00073 
00074 


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