|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ActorRoleHolder2 is an interface for classes implementing role to actor
role mappings
Supported API: false
Extendable: false
Method Summary | |
void |
addActorRole(Role role,
ActorRole assignment)
Add a role to actor role assignment to the holder Supported API: false |
void |
deleteActorRoleTarget(Role leftRole,
ActorRole rightRole)
Remove role to actor role assignment pair Supported API: false |
void |
deleteRole(Role role)
Remove the role and all associated principals and actor roles from the rolePrincipalMap and the roleActorRoleMap Supported API: false |
Enumeration |
getActorRoleTarget(Role leftRole)
Answer an enumeration of the actor roles associated with a given role. |
Vector |
getRoles()
Answer an enumeration of roles defined in the rolePrincipalMap and the roleActorRoleMap Supported API: false |
Methods inherited from interface wt.team.RoleHolder2 |
addPool, addPrincipal, deletePoolTarget, deletePrincipalTarget, getPoolTarget, getPrincipalTarget |
Method Detail |
public void addActorRole(Role role, ActorRole 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 getActorRoleTarget(Role leftRole) throws WTException
leftRole
- the role object which is the key used to retrieve all the associated actor roles
WTException
public void deleteActorRoleTarget(Role leftRole, ActorRole 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 RoleHolder2
WTException
public void deleteRole(Role role) throws WTException
deleteRole
in interface RoleHolder2
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 |