Package org.ametys.core.group
Interface ModifiableGroup
- 
- All Superinterfaces:
 Group
- All Known Implementing Classes:
 JdbcGroupDirectory.JdbcGroup
public interface ModifiableGroup extends Group
Groupwhich is modifiable 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddUser(UserIdentity user)Adds a user to this groupvoidremoveUser(UserIdentity user)Removes a user to this groupvoidremoveUsers()Removes all users of this groupvoidsetLabel(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 
 - 
 
 -