|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final String ROLE_ROLE_MAP
wt.project.roleRoleTable
,
Constant Field ValuesMethod Detail |
public RoleRoleTable getRoleRoleMap()
wt.project.roleRoleTable
public void setRoleRoleMap(RoleRoleTable a_RoleRoleMap) throws WTPropertyVetoException
a_RoleRoleMap
-
WTPropertyVetoException
wt.project.roleRoleTable
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
- the role object which is the key used to retrieve all the associated roles
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 Enumeration getRoles() throws WTException
getRoles
in interface ActorRoleHolder
WTException
public void deleteRole(Role role) throws WTException
deleteRole
in interface ActorRoleHolder
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 |