public class GroupSet extends SecuritySet<Group>
idMap, nameMap
Constructor and Description |
---|
GroupSet()
Constructs an empty GroupSet
|
GroupSet(Collection<? extends Group> groups)
Constructs a new GroupSet with specified contents.
|
Modifier and Type | Method and Description |
---|---|
Group |
getGroupById(Object groupId)
Deprecated.
Use getById()
|
Group |
getGroupByName(String groupName)
Deprecated.
Use getByName()
|
String |
toString()
Print out a GroupSet as a String
|
add, add, addAll, clear, contains, containsAll, containsId, containsName, getById, getByName, getIds, getNames, getSet, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
public GroupSet()
public GroupSet(Collection<? extends Group> groups)
groups
- A collection of groups to be contained in the set.@Deprecated public Group getGroupByName(String groupName)
groupName
- Name of Group.@Deprecated public Group getGroupById(Object groupId)
groupId
- Id of the grouppublic String toString()
toString
in class SecuritySet<Group>
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.