public interface BasicGroup extends Group
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(User user)
Add a user to this group
|
UserSet |
getUsers()
Get the users that are part of this group
|
<T extends User> |
getUsersAsSet()
Get the users that are part of this group as a Set
|
void |
removeUser(User user)
Remove a user from this group
|
void |
setUsers(UserSet userSet)
Set the users that are part of this group
|
<T extends User> |
setUsersAsSet(Set<T> users)
Set the users that are part of this group as a Set
|
getId, getName, setId, setNameUserSet getUsers()
void setUsers(UserSet userSet)
userSet - a set of users<T extends User> Set<T> getUsersAsSet()
<T extends User> void setUsersAsSet(Set<T> users)
users - a set of usersvoid addUser(User user)
user - the user to addvoid removeUser(User user)
user - the user to removeCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.