[jboss-user] [jBPM] - Re: Documentation about UserGroupCallback ?
Tihomir Surdilovic
do-not-reply at jboss.com
Mon Dec 19 01:28:07 EST 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111219/65f83842/attachment.html
More information about the jboss-user
mailing list