Update group.

@param group
the group
@return the response
346590
public Response updateGroup(GroupEntity group) {
		return restClient.put("groups/" + group.getName(), group, new HashMap<String, String>());
	}
787420
public void removeGroup(String group) {
        if (worldGroupExist(group)) {
            Common.getInstance().getStorageHandler().getStorageEngine().removeWorldGroup(group);
            list.remove(group);
        }
    }
1223603
protected void setGroup(String group) {
    for (INodeHardLinkFile linkedFile : linkedFiles) {
      linkedFile.setGroup(group, false);
    }
  }
1361254
public void updateGroupDetails(GroupForm groupForm, IPerson updater) {

        if (!canEditGroup(updater, groupForm.getKey())) {
            throw new RuntimeAuthorizationException(
                    updater, IPermission.EDIT_GROUP_ACTIVITY, groupForm.getKey());
        }

        if (log.isDebugEnabled()) {
            log.debug("Updating group for group form [" + groupForm.toString() + "]");
        }

        // find the current version of this group entity
        IEntityGroup group = GroupService.findGroup(groupForm.getKey());
        group.setName(groupForm.getName());
        group.setDescription(groupForm.getDescription());

        // save the group, updating both its basic information and group
        // membership
        group.update();
    }
990131
@Override
    public void updateGroupMembers(IEntityGroup group) throws GroupsException {
        throwExceptionIfNotInternallyManaged();
        getGroupStore().updateMembers(group);
        if (cacheInUse()) {
            cacheUpdate(group);
        }
        synchronizeGroupMembersOnUpdate(group);
    }
740757
def update_group(self, group_id, trigger):
        
        data = self._serialize_object(trigger)
        self._put(self._service_url(['triggers', 'groups', group_id]), data, parse_json=False)
291113
public static base_response update(nitro_service client, servicegroup resource) throws Exception {
		servicegroup updateresource = new servicegroup();
		updateresource.servicegroupname = resource.servicegroupname;
		updateresource.servername = resource.servername;
		updateresource.port = resource.port;
		updateresource.weight = resource.weight;
		updateresource.customserverid = resource.customserverid;
		updateresource.serverid = resource.serverid;
		updateresource.hashid = resource.hashid;
		updateresource.monitor_name_svc = resource.monitor_name_svc;
		updateresource.dup_weight = resource.dup_weight;
		updateresource.maxclient = resource.maxclient;
		updateresource.maxreq = resource.maxreq;
		updateresource.healthmonitor = resource.healthmonitor;
		updateresource.cacheable = resource.cacheable;
		updateresource.cip = resource.cip;
		updateresource.cipheader = resource.cipheader;
		updateresource.usip = resource.usip;
		updateresource.pathmonitor = resource.pathmonitor;
		updateresource.pathmonitorindv = resource.pathmonitorindv;
		updateresource.useproxyport = resource.useproxyport;
		updateresource.sc = resource.sc;
		updateresource.sp = resource.sp;
		updateresource.rtspsessionidremap = resource.rtspsessionidremap;
		updateresource.clttimeout = resource.clttimeout;
		updateresource.svrtimeout = resource.svrtimeout;
		updateresource.cka = resource.cka;
		updateresource.tcpb = resource.tcpb;
		updateresource.cmp = resource.cmp;
		updateresource.maxbandwidth = resource.maxbandwidth;
		updateresource.monthreshold = resource.monthreshold;
		updateresource.downstateflush = resource.downstateflush;
		updateresource.tcpprofilename = resource.tcpprofilename;
		updateresource.httpprofilename = resource.httpprofilename;
		updateresource.comment = resource.comment;
		updateresource.appflowlog = resource.appflowlog;
		updateresource.netprofile = resource.netprofile;
		return updateresource.update_resource(client);
	}
541745
public void setCurrentGroup(int groupId){
        if(mCurrentGroup != groupId){
            int oldGroupId = mCurrentGroup;
            mCurrentGroup = groupId;
            mGroupChanged = true;
            dispatchOnToolbarGroupChanged(oldGroupId, mCurrentGroup);
            animateOut();
        }
    }
641884
@PUT
    @Path("{group}/{id}")
    @Consumes("application/x.json-update-role")
    public SuccessResponse updateRoleFromUpdateRequest(@PathParam("group") String group, @PathParam("id") String id,
                                                       UpdateEmoRoleRequest request, @Authenticated Subject subject) {
        _uac.updateRole(subject, request.setRoleKey(new EmoRoleKey(group, id)));
        return SuccessResponse.instance();
    }
645066
public static base_response update(nitro_service client, lbgroup resource) throws Exception {
		lbgroup updateresource = new lbgroup();
		updateresource.name = resource.name;
		updateresource.persistencetype = resource.persistencetype;
		updateresource.persistencebackup = resource.persistencebackup;
		updateresource.backuppersistencetimeout = resource.backuppersistencetimeout;
		updateresource.persistmask = resource.persistmask;
		updateresource.cookiename = resource.cookiename;
		updateresource.v6persistmasklen = resource.v6persistmasklen;
		updateresource.cookiedomain = resource.cookiedomain;
		updateresource.timeout = resource.timeout;
		updateresource.rule = resource.rule;
		return updateresource.update_resource(client);
	}
1126609
protected void synchronizeGroupMembersOnUpdate(IEntityGroup group) throws GroupsException {
        EntityGroupImpl egi = (EntityGroupImpl) group;
        GroupMemberImpl gmi = null;

        for (Iterator it = egi.getAddedMembers().values().iterator(); it.hasNext(); ) {
            gmi = (GroupMemberImpl) it.next();
            gmi.invalidateInParentGroupsCache(Collections.singleton((IGroupMember) gmi));
            if (cacheInUse()) {
                cacheUpdate(gmi);
            }
        }

        for (Iterator it = egi.getRemovedMembers().values().iterator(); it.hasNext(); ) {
            gmi = (GroupMemberImpl) it.next();
            gmi.invalidateInParentGroupsCache(Collections.singleton((IGroupMember) gmi));
            if (cacheInUse()) {
                cacheUpdate(gmi);
            }
        }
    }
459102
public static base_response update(nitro_service client, bridgegroup resource) throws Exception {
		bridgegroup updateresource = new bridgegroup();
		updateresource.id = resource.id;
		updateresource.ipv6dynamicrouting = resource.ipv6dynamicrouting;
		return updateresource.update_resource(client);
	}
725906
public OperationFuture<Group> modify(Group groupRef, GroupConfig groupConfig) {
        checkNotNull(groupConfig, "GroupConfig must be not null");
        checkNotNull(groupRef, "Group reference must be not null");
        updateGroup(idByRef(groupRef), groupConfig);

        return new OperationFuture<>(
            groupRef,
            new NoWaitingJobFuture()
        );
    }
849560
public static base_responses update(nitro_service client, systemgroup resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			systemgroup updateresources[] = new systemgroup[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new systemgroup();
				updateresources[i].groupname = resources[i].groupname;
				updateresources[i].promptstring = resources[i].promptstring;
				updateresources[i].timeout = resources[i].timeout;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
805087
public GroupZipper replace(Group group) {
        if (parent == null) {
            node = group;
        } else {
            parent.getNode().getGroups().set(index, group);
        }

        return this;
    }
660915
public Properties getProperties(String group) {
		final Properties properties = new Properties();
		properties.putAll(getMap(group));
		return properties;
	}
231876
public ModifyInstanceGroupsRequest withInstanceGroup(ModifyInstanceGroupConfig instanceGroup) {
        if (this.instanceGroups == null) {
            this.instanceGroups = new ArrayList<ModifyInstanceGroupConfig>();
        }
        this.instanceGroups.add(instanceGroup);
        return this;
    }