Commit 3f7dc7f6 authored by Łukasz Nowak's avatar Łukasz Nowak

- add isCompleted for simulation movement

 - explain isCompleted meaning


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27892 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b22223e4
......@@ -37,6 +37,8 @@ class IBusinessCompletable(Interface):
"""True if all related simulation movements for this explanation
document are delivered and in simulation state which is considered
as finished.
Completed means that it is possible to move to next step of Business Process
"""
def isPartiallyCompleted(explanation):
......
......@@ -95,7 +95,7 @@ class ISimulationMovement(Interface):
"""
def getDivergenceList():
"""Returns a list of divergences
"""Returns a list of divergences
XXX - unclear, please explan what the returned documents
or object are (type, class)
"""
......@@ -109,6 +109,15 @@ class ISimulationMovement(Interface):
Frozen simulation movement cannot be modified by expanding.
"""
def isCompleted():
"""Tells whether the simulation movement is completed.
By default, looks up the related Business Process Path
and tells if the simulation state is part of completed
states.
Completed simulation movement allow to move to next step of Business Process
"""
def isSimulated():
"""XXX - unclear
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment