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