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