|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.util.PersistableItem
wt.clients.project.CRoleHolder
wt.clients.lifecycle.administrator.CIndirectRoleHolder
Subclass of CRoleHolder which handles dealing with Role to Role mappings.
Field Summary |
Fields inherited from class wt.clients.project.CRoleHolder |
roleHolder |
Fields inherited from class wt.clients.util.PersistableItem |
|
Constructor Summary | |
protected |
CIndirectRoleHolder()
Creates a new empty CIndirectRoleHolder. |
protected |
CIndirectRoleHolder(IndirectRoleHolder role_holder)
Creates a new CIndirectRoleHolder given a server IndirectRoleHolder. |
Method Summary | |
protected void |
addRoleTarget(String role,
String target)
Adds a role to role mapping. |
void |
deleteRoleTarget(String role,
String target)
Deletes a role from a role to role mapping. |
Vector |
getRoleList()
Returns a Vector of roles in the role holder. |
Enumeration |
getRoleTargets(String role)
Returns an enumeration of Role Target names. |
Methods inherited from class wt.clients.project.CRoleHolder |
addPrincipal, containsRole, deletePrincipal, deleteRole, getPrincipals, getRoleHolder, getRoles |
Methods inherited from class wt.clients.util.PersistableItem |
isCreated, isModified, refresh, save, setCreated, setModified |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected CIndirectRoleHolder()
protected CIndirectRoleHolder(IndirectRoleHolder role_holder)
role_holder
- the server role holder.Method Detail |
protected void addRoleTarget(String role, String target) throws WTException
role
- the role to map another role totarget
- the role to map
WTException
- if the role target cannot be addedpublic Enumeration getRoleTargets(String role) throws WTException
role
- the role to find the targets of
WTException
- if the role targets cannot be foundpublic void deleteRoleTarget(String role, String target) throws WTException
role
- the role to delete the mapping fromtarget
- the role to unmap
WTException
- if the role target cannot be deletedpublic Vector getRoleList() throws WTException
getRoleList
in class CRoleHolder
WTException
- if the role targets cannot be found
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |