|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.ac.impl.AbstractItem org.apache.lenya.ac.impl.AbstractGroup
public abstract class AbstractGroup
A group is a set of Groupable
s.
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 Group
Groupable
s.public void add(Groupable member)
add
in interface Group
member
- The member to add.public void remove(Groupable member)
remove
in interface Group
member
- The member to remove.public void removeAllMembers()
removeAllMembers
in interface Group
public boolean contains(Groupable member)
contains
in interface Group
member
- The member to check.
public Accreditable[] getAccreditables()
Accreditable
getAccreditables
in interface Accreditable
Accreditable.getAccreditables()
public void delete() throws AccessControlException
delete
in interface Group
AccessControlException
- if the delete failed
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |