[Yanel-dev] Enhancing the workflow interface with
hasWorkflowInstance
Michael Wechner
michael.wechner at wyona.com
Wed May 23 22:40:06 CEST 2007
Hi
I have noticed that one can use the WorkflowHelper class to get the
workflow instance of a resource instance, but
it seems to me that it would make sense if the workflow interface would
containt such a method, e.g.
Workflow getWorkflowInstance()
if the resource instance doesn't have a workflow instance, it would
return null.
This way the method of attaching the workflow schema resp. instance
would be hardcoded, but
could be made dependent of the resource.
WDYT?
Cheers
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list