|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final String ROLE_PRINCIPAL_MAP
wt.project.rolePrincipalTable
,
Constant Field ValuesMethod Detail |
public RolePrincipalTable getRolePrincipalMap()
wt.project.rolePrincipalTable
public void setRolePrincipalMap(RolePrincipalTable a_RolePrincipalMap) throws WTPropertyVetoException
a_RolePrincipalMap
-
WTPropertyVetoException
wt.project.rolePrincipalTable
public void addPrincipal(Role role, WTPrincipal principal) throws WTException
role
- the Role object to be added to the rolePrincipalMapprincipal
- the WTPrincipal object to be added to the rolePrincipalMap
WTException
public Enumeration getPrincipals(Role role) throws WTException
role
- the Role object used as search criteria in the retrieval of PrincipalReferences
WTException
public void deletePrincipal(Role role, WTPrincipal principal) throws WTException
role
- the Role object used as search criteria in the removal of the WTPrincipal from the rolePrincipalMapprincipal
- the WTPrincipal object to be removed from the rolePrincipalMap
WTException
public Enumeration getRoles() throws WTException
WTException
public void deleteRole(Role role) throws WTException
role
- the Role object to be removed from the RoleHolder
WTException
public String rolePrincipalMapAsString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |