|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Supported API: false
Extendable: false
Method Summary | |
void |
addRole(Role role,
Role assignment)
Add a role to role assignment to the holder Supported API: false |
void |
deleteRole(Role role)
Remove the role and all associated principals, actor roles and roles from the rolePrincipalMap, roleActorRoleMap and roleRoleMap Supported API: false |
void |
deleteRoleTarget(Role leftRole,
Role rightRole)
Remove role to role assignment pair Supported API: false |
Vector |
getRoles()
Answer an enumeration of roles defined in the rolePrincipalMap, roleActorRoleMap, and the roleRoleMap Supported API: false |
Enumeration |
getRoleTarget(Role leftRole)
Answer an enumeration of the roles associated with a given role. |
Methods inherited from interface wt.team.ActorRoleHolder2 |
addActorRole, deleteActorRoleTarget, getActorRoleTarget |
Methods inherited from interface wt.team.RoleHolder2 |
addPool, addPrincipal, deletePoolTarget, deletePrincipalTarget, getPoolTarget, getPrincipalTarget |
Method Detail |
public void addRole(Role role, Role assignment) throws WTException
role
- the 'key' role object to be added to the RoleHolderassignment
- The 'associated' role object that is mapped to another role. At runtime, this role is resolved to a principal.
WTException
public Enumeration getRoleTarget(Role leftRole) throws WTException
leftRole
-
WTException
public void deleteRoleTarget(Role leftRole, Role rightRole) throws WTException
leftRole
- the 'key' role object in the role to role assocation that should be removedrightRole
- the 'associated' role in the role to role map that should be removed
WTException
public Vector getRoles() throws WTException
getRoles
in interface ActorRoleHolder2
WTException
public void deleteRole(Role role) throws WTException
deleteRole
in interface ActorRoleHolder2
role
- the role object that should be removed
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |