public Map<String, Object> updateRole (String roleId, String roleName, String roleKey, String parentRoleId, boolean canEditUsers, boolean canEditPermissions,
boolean canEditLayouts, String description) throws DotDataException, DotRuntimeException, PortalException, SystemException {
RoleAPI roleAPI = APILocator.getRoleAPI();
Role role = roleAPI.loadRoleById(roleId);
role.setName(roleName);
role.setRoleKey(roleKey);
role.setEditUsers(canEditUsers);
role.setEditPermissions(canEditPermissions);
role.setEditLayouts(canEditLayouts);