|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Group
A Group is a collection of Authorizable
s.
Method Summary | |
---|---|
boolean |
addMember(Authorizable authorizable)
Add a member to this Group. |
Iterator |
getDeclaredMembers()
|
Iterator |
getMembers()
|
boolean |
isMember(Authorizable authorizable)
|
boolean |
removeMember(Authorizable authorizable)
Remove a member from this Group. |
Methods inherited from interface org.apache.jackrabbit.api.security.user.Authorizable |
---|
addReferee, declaredMemberOf, getID, getPrincipal, getPrincipals, getProperty, getPropertyNames, hasProperty, isGroup, memberOf, remove, removeProperty, removeReferee, setProperty, setProperty |
Method Detail |
---|
Iterator getDeclaredMembers() throws RepositoryException
Authorizable
s which are declared
members of this Group.
RepositoryException
Iterator getMembers() throws RepositoryException
Authorizable
s which are members of
this Group. This includes both declared members and all authorizables
that are indirect group members.
RepositoryException
boolean isMember(Authorizable authorizable) throws RepositoryException
RepositoryException
boolean addMember(Authorizable authorizable) throws RepositoryException
Authorizable
has successfully been added
to this Group, false otherwise (e.g. unknown implemention
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
RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |