Interface GroupManager


  • public interface GroupManager
    This type contains CRUD methods on the Group instances, and provides methods to link and unlink Users to Groups, and to query the set of Users in a given Group.

    Note that the methods of a GroupManager instance that require a Group parameter are allowed to assume that such a instance has been obtained through the methods of the same GroupManager instance. If this is not the case, then an implementation may throw an unchecked exception to indicate a programming error. The same holds for the parameters of the User type: implementations may assume that these have been created by the UserManager that has been obtained by the Realm through which this GroupManager has been obtained.