|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GroupSet
Represents a set of groups. A typical implemnetation would be, a readonly implementation defined in a configuration file or a list of groups defined in a database.
| 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()
|
| Method Detail |
|---|
void groupModified(Group aGroup)
aGroup - Group that was modified.Group find(java.lang.String aName)
aName - Group name.
boolean contains(Group aGroup)
aGroup - Group.
boolean add(Group aGroup)
aGroup - Group.boolean remove(Group aGroup)
aGroup - Group to remove.
java.util.Set<Group> list()
int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||