|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.team.WTRoleHolder2
public abstract class WTRoleHolder2
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
void |
addPool(Role role,
ObjectReference poolMember)
Add a role to principal (pool) mapping to the rolePoolMap. |
void |
addPrincipal(Role role,
WTPrincipal principal)
Add a role to principal assignment to the holder If the WTPrincipal is not enabled, this action will be ignored. |
void |
deletePoolTarget(Role role,
ObjectReference poolMember)
Remove role to principal (pool) assignment pair from the RolePoolMap Supported API: true |
void |
deletePrincipalTarget(Role role,
WTPrincipal principal)
Remove a role to principal assignment pair Supported API: true |
void |
deleteRole(Role role)
Remove a role object from the RoleHolder Supported API: true |
Vector |
getMembers()
Answer a Vector of enabled WTPrincipalReference of all assignees in the RoleHolder Supported API: true |
Enumeration |
getPoolTarget(Role role)
Answer an enumeration of principal references (pool participants) assigned to role in the rolePoolMap Supported API: true |
Enumeration |
getPrincipalTarget(Role role)
Answer an enumeration of the enabled principal references assigned a role. |
Vector |
getRoles()
Answer an enumeration of roles in the rolePrincipalMap Supported API: true |
| Methods inherited from class wt.fc.WTObject |
|---|
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void addPrincipal(Role role,
WTPrincipal principal)
throws WTException
role - the Role object to add WTPrincipals toprincipal - the WTPrincipal object to be added to the Role
WTException
public Enumeration getPrincipalTarget(Role role)
throws WTException
getPrincipalTarget in interface RoleHolder2role - the Role object used as search criteria in the retrieval of PrincipalReferences
WTException
public void deletePrincipalTarget(Role role,
WTPrincipal principal)
throws WTException
role - the Role object used as search criteria in the removal of the WTPrincipalprincipal - the WTPrincipal object to be removed
WTException
public Vector getRoles()
throws WTException
WTException
public void deleteRole(Role role)
throws WTException
role - the Role object to be removed
WTException
public void addPool(Role role,
ObjectReference poolMember)
throws WTException
role - the Role object to be added to the rolePrincipalMappoolMember - the object to be added to the rolePrincipalMap. The only objects allowed are Teams and WTPrincipals.
WTException
public Enumeration getPoolTarget(Role role)
throws WTException
role - the Role object used as search criteria in the retrieval of PrincipalReferences
WTException
public void deletePoolTarget(Role role,
ObjectReference poolMember)
throws WTException
role - the Role object used as search criteria in the removal of the WTPrincipal from the rolePrincipalMappoolMember - a reference to the object to be removed from the rolePrincipalMap
WTException
public Vector getMembers()
throws WTException
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||