|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.project.CRole
A client wrapper class to handle Roles.
Field Summary | |
private static StringVector |
allDisplayRoles
|
private static Hashtable |
allRoles
|
Constructor Summary | |
CRole()
|
Method Summary | |
static Enumeration |
getAllRoleNames()
Returns an Enumeration which contains String display names of all roles. |
static String |
getPromoter()
Returns the display name of the Promoter role. |
static Role |
getRole(String role_name)
Returns a Role based on a role name. |
static String |
getSubmitter()
Returns the display name of the Submitter role. |
static void |
initialize()
Initializes the list of all roles. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static Hashtable allRoles
private static StringVector allDisplayRoles
Constructor Detail |
public CRole()
Method Detail |
public static void initialize() throws WTException
WTException
- if the list cannot be initializedpublic static Role getRole(String role_name) throws WTException
role_name
- the name of the role to find
WTException
- if the role cannot be returnedpublic static Enumeration getAllRoleNames() throws WTException
WTException
- if the list cannot be returnedpublic static String getPromoter()
public static String getSubmitter()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |