|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.usermgt.InMemoryGroupSet
public class InMemoryGroupSet
In-memory group set implementation.
| Constructor Summary | |
|---|---|
InMemoryGroupSet()
Constructs an empty group set. |
|
| Method Summary | |
|---|---|
boolean |
add(Group aGroup)
Adds a group. |
boolean |
contains(Group aGroup)
Determines if the group exists. |
Group |
find(java.lang.String aName)
Finds the group by name. |
void |
groupModified(Group aGroup)
Must be called when the group has been modified to notify the group set. |
java.util.Set<Group> |
list()
Returns the current groups. |
boolean |
remove(Group aGroup)
Removes a group. |
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InMemoryGroupSet()
| Method Detail |
|---|
public void groupModified(Group aGroup)
GroupSet
groupModified in interface GroupSetaGroup - Group that was modified.public Group find(java.lang.String aName)
GroupSet
find in interface GroupSetaName - Group name.
public boolean contains(Group aGroup)
GroupSet
contains in interface GroupSetaGroup - Group.
public boolean add(Group aGroup)
GroupSet
add in interface GroupSetaGroup - Group.public boolean remove(Group aGroup)
GroupSet
remove in interface GroupSetaGroup - Group to remove.
public java.util.Set<Group> list()
GroupSet
list in interface GroupSetpublic int size()
size in interface GroupSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||