|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ActorRoleHolder is an interface for classes implementing role to actor
role mappings
Supported API: false
Extendable: false
Field Summary | |
static String |
ROLE_ACTOR_ROLE_MAP
Deprecated. Label for the attribute; Map of role to actor role assignments Supported API: false |
Fields inherited from interface wt.project.RoleHolder |
ROLE_PRINCIPAL_MAP |
Method Summary | |
void |
addActorRole(Role role,
ActorRole assignment)
Deprecated. Add a role to actor role assignment to the holder Supported API: false |
void |
deleteActorRoleTarget(Role leftRole,
ActorRole rightRole)
Deprecated. Remove role to actor role assignment pair Supported API: false |
void |
deleteRole(Role role)
Deprecated. Remove the role all all associated principals and actor roles from the rolePrincipalMap and the roleActorRoleMap Supported API: false |
Enumeration |
getActorRoleTarget(Role leftRole)
Deprecated. Answer an enumeration of the actor roles associated with a given role. |
RoleActorRoleTable |
getRoleActorRoleMap()
Deprecated. Gets the value of the attribute: ROLE_ACTOR_ROLE_MAP. |
Enumeration |
getRoles()
Deprecated. Answer an enumeration of roles defined in the rolePrincipalMap and the roleActorRoleMap Supported API: false |
void |
setRoleActorRoleMap(RoleActorRoleTable a_RoleActorRoleMap)
Deprecated. Sets the value of the attribute: ROLE_ACTOR_ROLE_MAP. |
Methods inherited from interface wt.project.RoleHolder |
addPrincipal, deletePrincipal, getPrincipals, getRolePrincipalMap, rolePrincipalMapAsString, setRolePrincipalMap |
Field Detail |
public static final String ROLE_ACTOR_ROLE_MAP
wt.project.roleActorRoleTable
,
Constant Field ValuesMethod Detail |
public RoleActorRoleTable getRoleActorRoleMap()
wt.project.roleActorRoleTable
public void setRoleActorRoleMap(RoleActorRoleTable a_RoleActorRoleMap) throws WTPropertyVetoException
a_RoleActorRoleMap
-
WTPropertyVetoException
wt.project.roleActorRoleTable
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 Enumeration getRoles() throws WTException
getRoles
in interface RoleHolder
WTException
public void deleteRole(Role role) throws WTException
deleteRole
in interface RoleHolder
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 |