|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RoleHolder is an interface for classes implementing role to principal
mappings
Supported API: true
Extendable: false
Method Summary | |
void |
addPool(Role role,
ObjectReference poolMember)
Add a role to principal or team (pool) mapping to the rolePoolMap. |
void |
addPrincipal(Role role,
WTPrincipal principal)
Add a role to principal mapping to the rolePrincipalMap. |
void |
deletePoolTarget(Role role,
ObjectReference poolMember)
Remove role to principal or team (pool) assignment pair from the RolePoolMa Supported API: false |
void |
deletePrincipalTarget(Role role,
WTPrincipal principal)
Remove role to principal assignment pair Supported API: false |
void |
deleteRole(Role role)
Remove the role and all associated principals from the rolePrincipalMap Supported API: false |
Enumeration |
getPoolTarget(Role role)
Answer an enumeration of principal references (pool participants) assigned to role in the rolePoolMap Supported API: false |
Enumeration |
getPrincipalTarget(Role role)
Answer an enumeration of principal references assigned to role Supported API: true |
Vector |
getRoles()
Answer an enumeration of roles in the rolePrincipalMap Supported API: false |
Method Detail |
public void addPrincipal(Role role, WTPrincipal principal) throws WTException
role
- the Role object to be added to the rolePrincipalMapprincipal
- the WTPrincipal object to be added to the rolePrincipalMap
WTException
public Enumeration getPrincipalTarget(Role role) throws WTException
role
- the Role object used as search criteria in the retrieval of PrincipalReferences
WTException
public void deletePrincipalTarget(Role role, WTPrincipal principal) throws WTException
role
- the Role object used as search criteria in the removal of the WTPrincipal from the rolePrincipalMapprincipal
- the WTPrincipal object to be removed from the rolePrincipalMap
WTException
public Vector getRoles() throws WTException
WTException
public void deleteRole(Role role) throws WTException
role
-
WTException
public void addPool(Role role, ObjectReference poolMember) throws WTException
role
- the Role object to be added to the rolePrincipalMappoolMember
- a reference to the object to be added to the rolePrincipalMap
WTException
public Enumeration getPoolTarget(Role role) throws WTException
role
- the Role object used as search criteria in the retrieval of PrincipalReferences
WTException
public void deletePoolTarget(Role role, ObjectReference poolMember) throws WTException
role
- the Role object used as search criteria in the removal of the WTPrincipal from the rolePrincipalMappoolMember
- the reference to the object to be removed from the rolePrincipalMap
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |