Package org.kie.api.task
Interface UserGroupCallback
-
public interface UserGroupCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexistsGroup(String groupId)Resolves existence of group id.booleanexistsUser(String userId)Resolves existence of user id.List<String>getGroupsForUser(String userId)Returns list of group ids for specified user id.
-
-
-
Method Detail
-
existsUser
boolean existsUser(String userId)
Resolves existence of user id.- Parameters:
userId- the user id assigned to the task- Returns:
- true if userId exists, false otherwise.
-
existsGroup
boolean existsGroup(String groupId)
Resolves existence of group id.- Parameters:
groupId- the group id assigned to the task- Returns:
- true if groupId exists, false otherwise.
-
-