Interface UserGroupCallback


public interface UserGroupCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Resolves existence of group id.
    boolean
    Resolves existence of user id.
    Returns list of group ids for specified user id.
  • Method Details

    • 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.