Back to index

plone3  3.1.7
Public Member Functions
CMFEditions.tests.test_CopyModifyMergeRepositoryTool.dummyPolicyWithHooks Class Reference
Inheritance diagram for CMFEditions.tests.test_CopyModifyMergeRepositoryTool.dummyPolicyWithHooks:
Inheritance graph
Collaboration diagram for CMFEditions.tests.test_CopyModifyMergeRepositoryTool.dummyPolicyWithHooks:
Collaboration graph

List of all members.

Public Member Functions

def setupPolicyHook
def removePolicyHook
def enablePolicyOnTypeHook
def disablePolicyOnTypeHook

Detailed Description

A dummy policy to test the hooks

Definition at line 45 of file

Member Function Documentation

Definition at line 56 of file

00057     def disablePolicyOnTypeHook(self, portal, p_type, out):
00058         out.append('disabled %s'%p_type)

Definition at line 53 of file

00054     def enablePolicyOnTypeHook(self, portal, p_type, out):
00055         out.append('enabled %s'%p_type)

Definition at line 50 of file

00051     def removePolicyHook(self, portal, out):
00052         out.append('removed')

Definition at line 47 of file

00048     def setupPolicyHook(self, portal, out):
00049         out.append('added')

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