wt.project
Interface RoleHolder

All Superinterfaces:
Serializable
All Known Subinterfaces:
ActorRoleHolder, IndirectRoleHolder
All Known Implementing Classes:
WfProcess, WTActorRoleHolder, WTIndirectRoleHolder, WTRoleHolder

Deprecated. in R6.0

public interface RoleHolder
extends Serializable

RoleHolder is an interface for classes implementing role to principal mappings

Supported API: false

Extendable: false


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

Supported API: false
 
Method Summary
 void addPrincipal(Role role, WTPrincipal principal)
          Deprecated. Add a role to principal mapping to the rolePrincipalMap.
 void deletePrincipal(Role role, WTPrincipal principal)
          Deprecated. Remove role to principal assignment pair

Supported API: false
 void deleteRole(Role role)
          Deprecated. Remove the role and all associated principals from the rolePrincipalMap

Supported API: false
 Enumeration getPrincipals(Role role)
          Deprecated. Answer an enumeration of principal references assigned to role

Supported API: false
 RolePrincipalTable getRolePrincipalMap()
          Deprecated. Gets the value of the attribute: ROLE_PRINCIPAL_MAP.
 Enumeration getRoles()
          Deprecated. Answer an enumeration of roles in the rolePrincipalMap

Supported API: false
 String rolePrincipalMapAsString()
          Deprecated. Answer a string of role to principal mappings

Supported API: false
 void setRolePrincipalMap(RolePrincipalTable a_RolePrincipalMap)
          Deprecated. Sets the value of the attribute: ROLE_PRINCIPAL_MAP.
 

Field Detail

ROLE_PRINCIPAL_MAP

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

Supported API: false

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

getRolePrincipalMap

public RolePrincipalTable getRolePrincipalMap()
Deprecated. 
Gets the value of the attribute: ROLE_PRINCIPAL_MAP. Map of role to principal assignments

Supported API: false

Returns:
RolePrincipalTable
See Also:
wt.project.rolePrincipalTable

setRolePrincipalMap

public void setRolePrincipalMap(RolePrincipalTable a_RolePrincipalMap)
                         throws WTPropertyVetoException
Deprecated. 
Sets the value of the attribute: ROLE_PRINCIPAL_MAP. Map of role to principal assignments

Supported API: false

Parameters:
a_RolePrincipalMap -
Throws:
WTPropertyVetoException
See Also:
wt.project.rolePrincipalTable

addPrincipal

public void addPrincipal(Role role,
                         WTPrincipal principal)
                  throws WTException
Deprecated. 
Add a role to principal mapping to the rolePrincipalMap.

Supported API: false

Parameters:
role - the Role object to be added to the rolePrincipalMap
principal - the WTPrincipal object to be added to the rolePrincipalMap
Throws:
WTException

getPrincipals

public Enumeration getPrincipals(Role role)
                          throws WTException
Deprecated. 
Answer an enumeration of principal references assigned to role

Supported API: false

Parameters:
role - the Role object used as search criteria in the retrieval of PrincipalReferences
Returns:
Enumeration
Throws:
WTException

deletePrincipal

public void deletePrincipal(Role role,
                            WTPrincipal principal)
                     throws WTException
Deprecated. 
Remove role to principal assignment pair

Supported API: false

Parameters:
role - the Role object used as search criteria in the removal of the WTPrincipal from the rolePrincipalMap
principal - the WTPrincipal object to be removed from the rolePrincipalMap
Throws:
WTException

getRoles

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

Supported API: false

Returns:
Enumeration
Throws:
WTException

deleteRole

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

Supported API: false

Parameters:
role - the Role object to be removed from the RoleHolder
Throws:
WTException

rolePrincipalMapAsString

public String rolePrincipalMapAsString()
Deprecated. 
Answer a string of role to principal mappings

Supported API: false

Returns:
String