Back to index

plone3  3.1.7
Public Member Functions | Private Attributes
CMFPlone.tests.dummy.DummyWorkflowTool Class Reference

List of all members.

Public Member Functions

def __init__
def setChainForPortalTypes
def getDefaultChainFor

Private Attributes


Detailed Description

A dummy workflow tool for testing adaptation based workflow

Definition at line 205 of file

Constructor & Destructor Documentation

def CMFPlone.tests.dummy.DummyWorkflowTool.__init__ (   self,
  id = 'portal_workflow' 

Definition at line 208 of file

00209     def __init__(self, id='portal_workflow'):
00210         self._chains_by_type = {}

Member Function Documentation

Definition at line 215 of file

00216     def getDefaultChainFor(self, context):
00217         return ('Default Workflow',)

Definition at line 211 of file

00212     def setChainForPortalTypes(self, types, chain):
00213         for ptype in types:
00214             self._chains_by_type[ptype] = chain

Member Data Documentation

Definition at line 209 of file

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