[jboss-dev-forums] [Design of JBoss jBPM] - Re: task and swimlane roles
heiko.braun@jboss.com
do-not-reply at jboss.com
Tue Feb 17 05:05:33 EST 2009
Although I understand what you describe I always stumble across the word "Role". It seems to be abused in this context. "User,Group and Role" are commonly used in conjunction and have a particular meaning. Now when I read RoleType==User it get's really confusing to me.
I need to think about a different proposal, but I hope it explains why I have difficulties with the current naming.
But besides that just a few comments:
* We could simplify the API by joining RoleType and role into one entity:
| RoleAssociation:
| {
| type;
| role;
| }
|
| void addTaskRole(long taskDbid, String refId, RoleAssociation assoc);
|
|
* I am missing the finders, i.e. TaskService.getTaskForRole(...)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4210620#4210620
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4210620
More information about the jboss-dev-forums
mailing list