[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Workflow/WfMC - IWfMCActivity.py:1.1.2.1 IWfMCActivityContainer.py:1.1.2.1 IWfMCActivityInstance.py:1.1.2.1 IWfMCFormalParameter.py:1.1.2.1 IWfMCFormalParameterContainer.py:1.1.2.1 IWfMCProcessDefinition.py:1.1.2.1 IWfMCProcessDefinitionElement.py:1.1.2.1 IWfMCProcessDefinitionHeader.py:1.1.2.1 IWfMCProcessInstance.py:1.1.2.1 IWfMCRelevantData.py:1.1.2.1 IWfMCRelevantDataContainer.py:1.1.2.1 IWfMCWorkitem.py:1.1.2.1 __init__.py:1.1.2.1
Vincenzo Di Somma
e.disomma@icube.it
Fri, 6 Dec 2002 05:29:22 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Workflow/WfMC
In directory cvs.zope.org:/tmp/cvs-serv9270
Added Files:
Tag: sprintathon-wf-branch
IWfMCActivity.py IWfMCActivityContainer.py
IWfMCActivityInstance.py IWfMCFormalParameter.py
IWfMCFormalParameterContainer.py IWfMCProcessDefinition.py
IWfMCProcessDefinitionElement.py
IWfMCProcessDefinitionHeader.py IWfMCProcessInstance.py
IWfMCRelevantData.py IWfMCRelevantDataContainer.py
IWfMCWorkitem.py __init__.py
Log Message:
added a part of the WfMC Model interfaces
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCActivity.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interface for WfMC activity.
$Id: IWfMCActivity.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Interface.Interface import Interface
from Interface.Attribute import Attribute
class IWfMCActivity(Interface):
"""WfMC Activity."""
processDefinition = Attribute("ref to PD the activity belongs to")
name = Attribute("a Activity Name")
description = Attribute("a description")
isRoute = Attribute("is this a route Activity")
startMode = Attribute("how Activity is started (0-Manual/1-Automatic)")
finishMode = Attribute("how Activity is finished (0-Manual/1-Automatic)")
performer = Attribute("link to workflow participant (may be expression)")
implementation = Attribute("if not Route-Activity: mandatory (no/tool+/subflow/loop)")
instantiation = Attribute("capability: once/multiple times")
priority = Attribute("priority of Activity")
cost = Attribute("average cost")
workingTime = Attribute("amount of time, performer of activity needs to perform task")
waitingTime = Attribute("amount of time, needed to prepare performance of task")
duration = Attribute("duration of activity")
limit = Attribute("limit in costUnits")
icon = Attribute("icon of activity")
documentation = Attribute("documentation")
splitMode = Attribute("split Mode (and/xor)")
joinMode = Attribute("join Mode (and/xor)")
inlineBlock = Attribute("inline Block definition")
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCActivityContainer.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC activity container.
$Id: IWfMCActivityContainer.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Zope/App/OFS/Container/IContainer import IContainer
class IWfMCActivityContainer(IContainer):
"""WfMC Activity Container."""
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCActivityInstance.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC workflow activity instances.
$Id: IWfMCActivityInstance.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Interface.Attribute import Attribute
from Zope.App.Workflow import IActivityInstance
class IWfMCActivityInstance(IActivityInstance):
"""WfMC Workflow activity instance."""
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCFormalParameter.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC formal paramenter.
$Id: IWfMCFormalParameter.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from interface.Interface import Interface
from Interface.Attribute import Attribute
class IWfMCFormalParameter(Interface):
"""WfMC Formal Parameter."""
mode = Attribute("mode: in/out/inout")
index = Attribute("index of par")
dataType = Attribute("data type of Parameter")
description = Attribute("the Parameter Description")
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCFormalParameterContainer.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC formal paramenters container.
$Id: IWfMCFormalParameterContainer.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Zope/App/OFS/Container/IContainer import IContainer
class IWfMCFormalParameter(IContainer):
"""WfMC Formal Parameters Container."""
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCProcessDefinition.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC workflow process definition.
$Id: IWfMCProcessDefinition.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Interface.Attribute import Attribute
from Zope.App.Workflow import IProcessDefinition
class IWfMCProcessDefinition(IProcessDefinition):
"""WfMC Workflow process definition."""
package = Attribute("ref to package")
name = Attribute("a Name")
processDefinitionHeader = Attribute("ref to pd header")
redefinableHeader = Attribute("ref to refinable header")
formalParameters = Attribute("parameters that are interchanged e.g. subflow")
workflowRelevantData = Attribute("wfr data definition")
participants = Attribute("colletion of participants")
applications = Attribute("collection of applictations")
startActivity = Attribute("ref to start activity")
endActivity = Attribute("ref to end activity")
activities = Attribute("list activities contained by PD")
transitions = Attribute("list transitions contained by PD")
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCProcessDefinitionElement.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC process definition element.
$Id: IWfMCProcessDefinitionElement.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Interface.Interface import Interface
from Interface.Attribute import Attribute
class IWfMCProcessDefinitionElement(Interface):
"""WfMC process definition Element."""
id = Attribute("id of ProcessDefinitionElement")
extendedAttributes = Attribute("list of extended Attributes")
#XXX we have to decide how to handle that Attributes
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCProcessDefinitionHeader.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC workflow process definition header.
$Id: IWfMCProcessDefinitionHeader.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Interface.Attribute import Attribute
from Interface.Interface import Interface
class IWfMCProcessDefinitionHeader(Interface):
"""WfMC Workflow process definition header."""
created = Attribute("date of creation")
description = Attribute("description of package")
validFrom = Attribute("date the PD is valid from")
validTo = Attribute("date the PD is valid to")
limit = Attribute("limit for timemanagement in units of DurationUnit")
priority = Attribute("priority of PD")
durationUnit = Attribute("Duration Unit")
workingTime = Attribute("amount of time, performer of activity needs to perform task")
waitingTime = Attribute("amount of time, needed to prepare performance of task")
duration = Attribute("duration in units")
timeEstimation = Attribute("estimated time for the process")
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCProcessInstance.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC workflow process instances.
$Id: IWfMCProcessInstance.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Interface.Attribute import Attribute
from Zope.App.Workflow import IProcessInstance
class IWfMCProcessInstance(IProcessInstance):
"""WfMC Workflow process instance."""
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCRelevantData.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC relevant data container.
$Id: IWfMCRelevantData.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Interface.Interface import Interface
from Interface.Attribute import Attribute
class IWfMCRelevanteData(Interface):
"""WfMC Relevant Data."""
name = Attribute("name of DataField")
isArray = Attribute("is array ?")
dataType = Attribute("type of data")
initialValue = Attribute("initial Value")
description = Attribute("description of WFRD")
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCRelevantDataContainer.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC relevant data container.
$Id: IWfMCRelevantDataContainer.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Zope/App/OFS/Container/IContainer import IContainer
class IWfMCRelevanteDataContainer(IContainer):
"""WfMC Relevant Data Container."""
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/IWfMCWorkitem.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Interfaces for WfMC workflow workitem.
$Id: IWfMCWorkitem.py,v 1.1.2.1 2002/12/06 10:29:21 vds Exp $
"""
from Interface.Attribute import Attribute
from Zope.App.Workflow import IWorkitem
class IWfMCWorkitem(IWorkitem):
"""WfMC Workflow instance."""
=== Added File Zope3/lib/python/Zope/App/Workflow/WfMC/__init__.py ===