Interface UserGroupCallback


  • public interface UserGroupCallback
    • 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.
      • getGroupsForUser

        List<String> getGroupsForUser​(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.