| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.ac.impl.AbstractItem
org.apache.lenya.ac.impl.AbstractGroup
public abstract class AbstractGroup
A group is a set of Groupables.
| Constructor Summary | |
|---|---|
AbstractGroup()
Creates a new group.  | 
|
AbstractGroup(java.lang.String id)
Creates a new group.  | 
|
| Method Summary | |
|---|---|
 void | 
add(Groupable member)
Adds a member to this group.  | 
 boolean | 
contains(Groupable member)
Returns if this group contains this member.  | 
 void | 
delete()
Delete a group  | 
 Accreditable[] | 
getAccreditables()
Returns the set of accreditables of this accreditable.  | 
 Groupable[] | 
getMembers()
Returns the members of this group.  | 
 void | 
remove(Groupable member)
Removes a member from this group.  | 
 void | 
removeAllMembers()
Removes all members from this group.  | 
| Methods inherited from class org.apache.lenya.ac.impl.AbstractItem | 
|---|
equals, getDescription, getId, getName, hashCode, isValidId, setDescription, setId, setName, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface org.apache.lenya.ac.Group | 
|---|
save | 
| Methods inherited from interface org.apache.lenya.ac.Item | 
|---|
configure, getDescription, getId, getName, setConfigurationDirectory, setDescription, setName | 
| Constructor Detail | 
|---|
public AbstractGroup()
public AbstractGroup(java.lang.String id)
id - The group ID.| Method Detail | 
|---|
public Groupable[] getMembers()
getMembers in interface GroupGroupables.public void add(Groupable member)
add in interface Groupmember - The member to add.public void remove(Groupable member)
remove in interface Groupmember - The member to remove.public void removeAllMembers()
removeAllMembers in interface Grouppublic boolean contains(Groupable member)
contains in interface Groupmember - The member to check.
public Accreditable[] getAccreditables()
Accreditable
getAccreditables in interface AccreditableAccreditable.getAccreditables()
public void delete()
            throws AccessControlException
delete in interface GroupAccessControlException - if the delete failed
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||