public interface 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)
userId
- the user id assigned to the taskboolean existsGroup(String groupId)
groupId
- the group id assigned to the taskList<String> getGroupsForUser(String userId, List<String> groupIds, List<String> allExistingGroupIds)
userId
- the user id assigned to the taskgroupIds
- list of group ids assigned to the taskallExistingGroupIds
- list of all currently known group idsCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.