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
[legend]
Collaboration diagram for CMFEditions.tests.test_CopyModifyMergeRepositoryTool.dummyPolicyWithHooks:
Collaboration graph
[legend]

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 test_CopyModifyMergeRepositoryTool.py.


Member Function Documentation

Definition at line 56 of file test_CopyModifyMergeRepositoryTool.py.

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

Definition at line 53 of file test_CopyModifyMergeRepositoryTool.py.

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

Definition at line 50 of file test_CopyModifyMergeRepositoryTool.py.

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

Definition at line 47 of file test_CopyModifyMergeRepositoryTool.py.

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


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