Commit 05361aaa authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

InteractionWorkflow.py: add universal methods.

parent 3541da9a
...@@ -350,9 +350,14 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject): ...@@ -350,9 +350,14 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
def getReference(self): def getReference(self):
return self.id return self.id
def getTransitionList(self): def getTransitionValueList(self):
if self.interactions is not None: if self.interactions is not None:
return self.interactions.objectValues() return self.interactions
return None
def getTransitionIdList(self):
if self.interactions is not None:
return self.interactions.objectIds()
return None return None
Globals.InitializeClass(InteractionWorkflowDefinition) Globals.InitializeClass(InteractionWorkflowDefinition)
......
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