[jbpm-dev] [Design of JBoss jBPM] - Re: task and swimlane roles
heiko.braun@jboss.com
do-not-reply at jboss.com
Tue Feb 17 05:10:00 EST 2009
To further explain the unification of type and role into one entity, look t the example below:
As is
| TaskService.addTaskRole(73, "123-CallHome", RoleType.USER, "Heiko");
|
Could be
| TaskService.addTaskRole(73, "123-CallHome", new UserAssociation("Heiko"));
|
with
|
| class UserAssocation extends/implements RoleAssociation
| {
| type = RoleType.USER;
| role;
| }
|
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210622#4210622
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210622
More information about the jbpm-dev
mailing list