GUACAMOLE-220: Correct documentation of getUserGroups() behavior.

This commit is contained in:
Michael Jumper
2018-04-21 14:11:18 -07:00
parent 393e1ab647
commit b43aa59958

View File

@@ -29,14 +29,15 @@ import org.apache.guacamole.GuacamoleException;
public interface UserGroup extends Identifiable, Attributes, Permissions {
/**
* Returns a set of all readable user groups that are members of this user
* group. If permission is granted for the current user to modify the
* members of this group, then the returned set will be mutable, and any
* such modifications should be made through changes to the returned set.
* Returns a set of all readable user groups of which this user group is a
* member. If permission is granted for the current user to modify the
* membership of this user group, then the returned set will be mutable,
* and any such modifications should be made through changes to the
* returned set.
*
* @return
* The set of all readable user groups that are members of this user
* group, which may be mutable.
* The set of all readable user groups of which this user group is a
* member.
*
* @throws GuacamoleException
* If an error occurs while retrieving the user groups.