[Yanel-dev] Introducing a new Workflowable Interface

Michael Wechner michael.wechner at wyona.com
Mon Aug 31 14:02:14 CEST 2009


Hi

So far nobody has answered my request

http://lists.wyona.org/pipermail/yanel-development/2009-June/003709.html

so I guess it's ok and will step forward to introduce a new workflow 
interface version

Cheers

Mich


Michael Wechner schrieb:
> Hi
>
> From my current experience I think the workflowable interface needs 
> some changes:
>
> 1) Adding a method
>        boolean hasWorkflow()
>   whereas the reason for this is that a resource can be workflowable, 
> but that doesn't mean it has actually one assigned with
>   (please note that the method is not called getWorkflow(), because 
> the actual workflow structure shall not be related to the workflowable 
> interface)
>
> 2) Removing the method
>       getWorkflowIntrospection()
>   because it seems to me that this should be deducible from the 
> interface using a helper method
>
> Actually the current V1 is not released yet
>
> http://www.yanel.org/javadoc/org/wyona/yanel/core/api/attributes/WorkflowableV1.html 
>
>
> but I think we shouldn't change it, because we use it already for 
> quite some time and hence has become common
> practice and also introducing a V2 version would force us to actually 
> differentiate within the application the various
> workflowable versions.
>
> WDYT?
>
> Cheers
>
> Michael



More information about the Yanel-development mailing list