|
||||||||||
| 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 Authorizables.
| Method Summary | |
|---|---|
boolean |
addMember(Authorizable authorizable)
Add a member to this Group. |
Iterator<Authorizable> |
getDeclaredMembers()
|
Iterator<Authorizable> |
getMembers()
|
boolean |
isDeclaredMember(Authorizable authorizable)
|
boolean |
isMember(Authorizable authorizable)
|
boolean |
removeMember(Authorizable authorizable)
Remove a member from this Group. |
| Methods inherited from interface org.apache.airavata.common.registry.api.user.Authorizable |
|---|
declaredMemberOf, getID, getPrincipal, getProperty, getPropertyNames, getPropertyNames, hasProperty, isGroup, memberOf, remove, removeProperty, setProperty, setProperty |
| Method Detail |
|---|
Iterator<Authorizable> getDeclaredMembers()
throws javax.jcr.RepositoryException
Authorizables which are declared members of this Group.
javax.jcr.RepositoryException - If an error occurs.
Iterator<Authorizable> getMembers()
throws javax.jcr.RepositoryException
Authorizables which are members of this Group. This includes both declared
members and all authorizables that are indirect group members.
javax.jcr.RepositoryException - If an error occurs.
boolean isMember(Authorizable authorizable)
throws javax.jcr.RepositoryException
authorizable - The Authorizable to test.
javax.jcr.RepositoryException - If an error occurs.
boolean addMember(Authorizable authorizable)
throws javax.jcr.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 implemention or if it already is a member or if the passed authorizable is this group itself or
for some implementation specific constraint).
javax.jcr.RepositoryException - If an error occurs.
boolean removeMember(Authorizable authorizable)
throws javax.jcr.RepositoryException
authorizable - The Authorizable to be removed from the list of group members.
javax.jcr.RepositoryException - If an error occurs.
boolean isDeclaredMember(Authorizable authorizable)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||