public interface BasicUser extends User
| Modifier and Type | Method and Description |
|---|---|
void |
addGroup(Group group)
Add the group to the list of groups
|
GroupSet |
getGroups()
Get the groups this user is part of
|
<T extends Group> |
getGroupsAsSet()
Get the groups this user is part of as a Set
|
void |
removeGroup(Group group)
Remove the group from the list of groups
|
void |
setGroups(GroupSet groups)
Set the groups this user is part of
|
<T extends Group> |
setGroupsAsSet(Set<T> groups)
Set the groups this user is part of as a Set
|
getPassword, setPasswordgetId, getName, setId, setNameGroupSet getGroups()
void setGroups(GroupSet groups)
groups - the set of groupsvoid removeGroup(Group group)
group - the group to removevoid addGroup(Group group)
group - the group to add<T extends Group> void setGroupsAsSet(Set<T> groups)
groups - the set of groupsCopyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.