use of org.ovirt.engine.core.common.businessentities.RoleGroupMap in project ovirt-engine by oVirt.
the class RolesCommandBase method getActionGroupsByRoleId.
protected List<ActionGroup> getActionGroupsByRoleId(Guid roleId) {
List<ActionGroup> allGroups = new ArrayList<>();
List<RoleGroupMap> allGroupsMaps = roleGroupMapDao.getAllForRole(roleId);
for (RoleGroupMap map : allGroupsMaps) {
allGroups.add(map.getActionGroup());
}
return allGroups;
}
Aggregations