public interface Group extends Authorizable
Authorizables.| Modifier and Type | Method and Description |
|---|---|
boolean |
addMember(Authorizable authorizable)
Add a member to this Group.
|
Iterator<Authorizable> |
getDeclaredMembers() |
Iterator<Authorizable> |
getMembers() |
boolean |
isDeclaredMember(Authorizable authorizable)
Test whether an
Authorizable is a declared member of this group. |
boolean |
isMember(Authorizable authorizable) |
boolean |
removeMember(Authorizable authorizable)
Remove a member from this Group.
|
declaredMemberOf, getID, getPath, getPrincipal, getProperty, getPropertyNames, getPropertyNames, hasProperty, isGroup, memberOf, remove, removeProperty, setProperty, setPropertyIterator<Authorizable> getDeclaredMembers() throws RepositoryException
Authorizables which are declared
members of this Group.RepositoryException - If an error occurs.Iterator<Authorizable> getMembers() throws RepositoryException
Authorizables which are members of
this Group. This includes both declared members and all authorizables
that are indirect group members.RepositoryException - If an error occurs.boolean isDeclaredMember(Authorizable authorizable) throws RepositoryException
Authorizable is a declared member of this group.authorizable - The Authorizable to test.true if the Authorizable to test is a direct memberRepositoryException - If an error occurs.boolean isMember(Authorizable authorizable) throws RepositoryException
authorizable - The Authorizable to test.RepositoryException - If an error occurs.boolean addMember(Authorizable authorizable) throws RepositoryException
authorizable - The Authorizable to be added as
member to this group.Authorizable has successfully been added
to this Group, false otherwise (e.g. unknown implementation
or if it already is a member or if the passed authorizable is this
group itself or for some implementation specific constraint).RepositoryException - If an error occurs.boolean removeMember(Authorizable authorizable) throws RepositoryException
authorizable - The Authorizable to be removed from
the list of group members.RepositoryException - If an error occurs.Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.