getRoleByKey static method
Implementation
static ROLES getRoleByKey(String key){
switch(key){
case "rci":
return ROLES.RCI;
case "duo":
return ROLES.DUO;
case "dpx":
return ROLES.DPX;
case "tech":
return ROLES.TECH;
case "admin":
return ROLES.ADMIN;
case "tech_habilite":
return ROLES.TECH_HABILITE;
}
return ROLES.AFF;
}