if (arg2 == null) return null;
try {
List<Role.AccessLevel> accessLevels = (List<Role.AccessLevel>)Component.getInstance("accessLevelsList");
return accessLevels.get(accessLevels.indexOf(new Role.AccessLevel(Integer.valueOf(arg2), null)));
} catch (NumberFormatException e) {
throw new ConverterException("Cannot find selected access level", e);
}
}