use of com.developmentontheedge.be5.metadata.model.RoleSet in project be5 by DevelopmentOnTheEdge.
the class RoleMultiSelector method getAvailableValues.
@Override
protected String[] getAvailableValues() {
try {
Object bean = getBean();
Project project = ((RoleSet) bean).getProject();
List<String> roleList = project.getRolesWithGroups();
return roleList.toArray(new String[roleList.size()]);
} catch (Exception e) {
return Strings2.EMPTY;
}
}