public interface UserGroupCallback
extends org.kie.api.task.UserGroupCallback
| Modifier and Type | Method and Description |
|---|---|
boolean |
existsGroup(String groupId)
Resolves existence of group id.
|
boolean |
existsUser(String userId)
Resolves existence of user id.
|
List<String> |
getGroupsForUser(String userId,
List<String> groupIds,
List<String> allExistingGroupIds)
Returns list of group ids for specified user id.
|
boolean existsUser(String userId)
existsUser in interface org.kie.api.task.UserGroupCallbackuserId - the user id assigned to the taskboolean existsGroup(String groupId)
existsGroup in interface org.kie.api.task.UserGroupCallbackgroupId - the group id assigned to the taskList<String> getGroupsForUser(String userId, List<String> groupIds, List<String> allExistingGroupIds)
getGroupsForUser in interface org.kie.api.task.UserGroupCallbackuserId - the user id assigned to the taskgroupIds - list of group ids assigned to the taskallExistingGroupIds - list of all currently known group idsCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.