Back to index

plone3  3.1.7
portal_placeful_workflow.py
Go to the documentation of this file.
00001 # -*- coding: utf-8 -*-
00002 ## CMFPlacefulWorkflow
00003 ## Copyright (C)2005 Ingeniweb
00004 
00005 ## This program is free software; you can redistribute it and/or modify
00006 ## it under the terms of the GNU General Public License as published by
00007 ## the Free Software Foundation; either version 2 of the License, or
00008 ## (at your option) any later version.
00009 
00010 ## This program is distributed in the hope that it will be useful,
00011 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 ## GNU General Public License for more details.
00014 
00015 ## You should have received a copy of the GNU General Public License
00016 ## along with this program; see the file COPYING. If not, write to the
00017 ## Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018 """
00019 Placeful Workflow tool interface.
00020 """
00021 __version__ = "$Revision: 59438 $"
00022 # $Source: /cvsroot/ingeniweb/CMFPlacefulWorkflow/interfaces/portal_placeful_workflow.py,v $
00023 # $Id: portal_placeful_workflow.py 59438 2008-02-26 06:19:30Z alecm $
00024 __docformat__ = 'restructuredtext'
00025 
00026 
00027 from zope.interface import Attribute, Interface
00028 
00029 _marker = []
00030 
00031 
00032 class IPlacefulWorkflowTool(Interface):
00033     '''
00034     '''
00035     id = Attribute('id', 'Must be set to "portal_workflow_policy"')
00036 
00037     # security.declarePublic('getMaxChainLength')
00038     def getMaxChainLength(self):
00039         """Return the max workflow chain length"""
00040 
00041     # security.declarePublic('getMaxChainLength')
00042     def setMaxChainLength(self, max_chain_length):
00043         """Set the max workflow chain length"""
00044 
00045 
00046 class IPlacefulMarker(Interface):
00047     """A marker applied to the standard workflow tool to enable placeful
00048     lookup"""
00049 
00050 
00051 class IWorkflowPolicyDefinition(Interface):
00052     '''
00053     '''
00054 
00055     pass