Package org.ametys.core.group
Interface ModifiableGroup
- All Superinterfaces:
Group
Group which is modifiable-
Method Summary
Modifier and TypeMethodDescriptionvoidaddUser(UserIdentity user) Adds a user to this groupvoidremoveUser(UserIdentity user) Removes a user to this groupvoidRemoves all users of this groupvoidSet 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
-