Package org.ametys.core.group
Interface ModifiableGroup
- All Superinterfaces:
Group
Group
which is modifiable-
Method Summary
Modifier and TypeMethodDescriptionvoid
addUser
(UserIdentity user) Adds a user to this groupvoid
removeUser
(UserIdentity user) Removes a user to this groupvoid
Removes all users of this groupvoid
Set the label of this groupMethods inherited from interface org.ametys.core.group.Group
getGroupDirectory, getIdentity, getLabel, getUsers
-
Method Details
-
setLabel
Set the label of this group- Parameters:
label
- The new label of the group
-
addUser
Adds a user to this group- Parameters:
user
- The user to add
-
removeUser
Removes a user to this group- Parameters:
user
- The user to add
-
removeUsers
void removeUsers()Removes all users of this group
-