Package org.kie.api.task
Interface UserGroupCallback
public interface UserGroupCallback
-
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsGroup(String groupId) Resolves existence of group id.booleanexistsUser(String userId) Resolves existence of user id.getGroupsForUser(String userId) Returns list of group ids for specified user id.
-
Method Details
-
existsUser
Resolves existence of user id.- Parameters:
userId- the user id assigned to the task- Returns:
- true if userId exists, false otherwise.
-
existsGroup
Resolves existence of group id.- Parameters:
groupId- the group id assigned to the task- Returns:
- true if groupId exists, false otherwise.
-
getGroupsForUser
Returns list of group ids for specified user id.- Parameters:
userId- the user id assigned to the task- Returns:
- List of group ids.
-