wt.project
Interface IndirectRoleHolder

All Superinterfaces:
ActorRoleHolder, RoleHolder, Serializable
All Known Implementing Classes:
WTIndirectRoleHolder

Deprecated. in R6.0

public interface IndirectRoleHolder
extends ActorRoleHolder

IndirectRoleHolder is an interface for classes implementing role to role mappings

Supported API: false

Extendable: false


Field Summary
static String ROLE_ROLE_MAP
          Deprecated. Label for the attribute; Map of role to role assignments

Supported API: false
 
Fields inherited from interface wt.project.ActorRoleHolder
ROLE_ACTOR_ROLE_MAP
 
Fields inherited from interface wt.project.RoleHolder
ROLE_PRINCIPAL_MAP
 
Method Summary
 void addRole(Role role, Role assignment)
          Deprecated. Add a role to role assignment to the holder

Supported API: false
 void deleteRole(Role role)
          Deprecated. 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)
          Deprecated. Remove role to role assignment pair

Supported API: false
 RoleRoleTable getRoleRoleMap()
          Deprecated. Gets the value of the attribute: ROLE_ROLE_MAP.
 Enumeration getRoles()
          Deprecated. Answer an enumeration of roles defined in the rolePrincipalMap, roleActorRoleMap, and the roleRoleMap

Supported API: false
 Enumeration getRoleTarget(Role leftRole)
          Deprecated. Answer an enumeration of the roles associated with a given role.
 void setRoleRoleMap(RoleRoleTable a_RoleRoleMap)
          Deprecated. Sets the value of the attribute: ROLE_ROLE_MAP.
 
Methods inherited from interface wt.project.ActorRoleHolder
addActorRole, deleteActorRoleTarget, getActorRoleTarget, getRoleActorRoleMap, setRoleActorRoleMap
 
Methods inherited from interface wt.project.RoleHolder
addPrincipal, deletePrincipal, getPrincipals, getRolePrincipalMap, rolePrincipalMapAsString, setRolePrincipalMap
 

Field Detail

ROLE_ROLE_MAP

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

Supported API: false

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

getRoleRoleMap

public RoleRoleTable getRoleRoleMap()
Deprecated. 
Gets the value of the attribute: ROLE_ROLE_MAP. Map of role to role assignments

Supported API: false

Returns:
RoleRoleTable
See Also:
wt.project.roleRoleTable

setRoleRoleMap

public void setRoleRoleMap(RoleRoleTable a_RoleRoleMap)
                    throws WTPropertyVetoException
Deprecated. 
Sets the value of the attribute: ROLE_ROLE_MAP. Map of role to role assignments

Supported API: false

Parameters:
a_RoleRoleMap -
Throws:
WTPropertyVetoException
See Also:
wt.project.roleRoleTable

addRole

public void addRole(Role role,
                    Role assignment)
             throws WTException
Deprecated. 
Add a role to 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

getRoleTarget

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

Supported API: false

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

deleteRoleTarget

public void deleteRoleTarget(Role leftRole,
                             Role rightRole)
                      throws WTException
Deprecated. 
Remove role to 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, roleActorRoleMap, and the roleRoleMap

Supported API: false

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

deleteRole

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

Supported API: false

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