Tihomir Surdilovic [http://community.jboss.org/people/tsurdilovic] created the 
discussion

"Re: Documentation about UserGroupCallback ?"

To view the discussion, visit: http://community.jboss.org/message/642148#642148

--------------------------------------------------------------
Hi Juan, we are adding that to the docs right now so stay tuned. 
To answer your question, the two method just give you more control on how to 
handle group management in your implementation. If you have a lookup of your 
groups based only on the userId, then in your impl all you would do is call the 
getGroupsForUser method passing in the userId, ommitting the groups, or the 
list of all available groups present. 
Take a look at the default impl example here:  
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/main/java/org/jbpm/task/service/DefaultUserGroupCallbackImpl.java
 
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/main/java/org/jbpm/task/service/DefaultUserGroupCallbackImpl.java

Hope this helps.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/642148#642148]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to