|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.ganttproject.roles.RoleManagerImpl
Nested Class Summary |
Nested classes inherited from class net.sourceforge.ganttproject.roles.RoleManager |
RoleManager.Access |
Field Summary |
Fields inherited from interface net.sourceforge.ganttproject.roles.RoleManager |
DEFAULT_ROLES_NUMBER |
Constructor Summary | |
RoleManagerImpl()
|
Method Summary | |
void |
add(int ID,
java.lang.String role)
Add a role on the list |
void |
clear()
Clear the role list |
java.lang.String |
getRole(int ID)
Get roles by ID |
java.lang.String[] |
getRoles()
Return all roles list |
java.lang.String[] |
getRolesShort()
Return all roles exept the default roles |
int |
nbOfRoles()
Return the number of roles for the project, exept the default roles |
void |
setRoles(java.util.Hashtable roles)
Change the role list by another one |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RoleManagerImpl()
Method Detail |
public void clear()
RoleManager
clear
in interface RoleManager
public java.lang.String[] getRoles()
RoleManager
getRoles
in interface RoleManager
public java.lang.String[] getRolesShort()
RoleManager
getRolesShort
in interface RoleManager
public void setRoles(java.util.Hashtable roles)
RoleManager
setRoles
in interface RoleManager
public java.lang.String getRole(int ID)
RoleManager
getRole
in interface RoleManager
public int nbOfRoles()
nbOfRoles
in interface RoleManager
public void add(int ID, java.lang.String role)
add
in interface RoleManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |