wt.project
Interface ActorRoleHolder

All Superinterfaces:
RoleHolder, Serializable
All Known Subinterfaces:
IndirectRoleHolder
All Known Implementing Classes:
WTActorRoleHolder, WTIndirectRoleHolder

Deprecated. in R6.0

public interface ActorRoleHolder
extends RoleHolder

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

ROLE_ACTOR_ROLE_MAP

public static final String ROLE_ACTOR_ROLE_MAP
Deprecated. 
Label for the attribute; Map of role to actor role assignments

Supported API: false

See Also:
wt.project.roleActorRoleTable, Constant Field Values
Method Detail

getRoleActorRoleMap

public RoleActorRoleTable getRoleActorRoleMap()
Deprecated. 
Gets the value of the attribute: ROLE_ACTOR_ROLE_MAP. Map of role to actor role assignments

Supported API: false

Returns:
RoleActorRoleTable
See Also:
wt.project.roleActorRoleTable

setRoleActorRoleMap

public void setRoleActorRoleMap(RoleActorRoleTable a_RoleActorRoleMap)
                         throws WTPropertyVetoException
Deprecated. 
Sets the value of the attribute: ROLE_ACTOR_ROLE_MAP. Map of role to actor role assignments

Supported API: false

Parameters:
a_RoleActorRoleMap -
Throws:
WTPropertyVetoException
See Also:
wt.project.roleActorRoleTable

addActorRole

public void addActorRole(Role role,
                         ActorRole assignment)
                  throws WTException
Deprecated. 
Add a role to actor role assignment to the holder

Supported API: false

Parameters:
role - the 'key' role object to be added to the RoleHolder
assignment - The 'associated' role object that is mapped to another role. At runtime, this role is resolved to a principal.
Throws:
WTException

getActorRoleTarget

public Enumeration getActorRoleTarget(Role leftRole)
                               throws WTException
Deprecated. 
Answer an enumeration of the actor roles associated with a given role.

Supported API: false

Parameters:
leftRole - the role object which is the key used to retrieve all the associated actor roles
Returns:
Enumeration
Throws:
WTException

deleteActorRoleTarget

public void deleteActorRoleTarget(Role leftRole,
                                  ActorRole rightRole)
                           throws WTException
Deprecated. 
Remove role to actor role assignment pair

Supported API: false

Parameters:
leftRole - the 'key' role object in the role to role assocation that should be removed
rightRole - the 'associated' role in the role to role map that should be removed
Throws:
WTException

getRoles

public Enumeration getRoles()
                     throws WTException
Deprecated. 
Answer an enumeration of roles defined in the rolePrincipalMap and the roleActorRoleMap

Supported API: false

Specified by:
getRoles in interface RoleHolder
Returns:
Enumeration
Throws:
WTException

deleteRole

public void deleteRole(Role role)
                throws WTException
Deprecated. 
Remove the role all all associated principals and actor roles from the rolePrincipalMap and the roleActorRoleMap

Supported API: false

Specified by:
deleteRole in interface RoleHolder
Parameters:
role - the role object that should be removed
Throws:
WTException