Change the MUC Light affiliations.

@param affiliations
@throws NoResponseException
@throws XMPPErrorException
@throws NotConnectedException
@throws InterruptedException
553272
public void changeAffiliations(HashMap<Jid, MUCLightAffiliation> affiliations)
            throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
        MUCLightChangeAffiliationsIQ changeAffiliationsIQ = new MUCLightChangeAffiliationsIQ(room, affiliations);
        connection.createStanzaCollectorAndSend(changeAffiliationsIQ).nextResultOrThrow();
    }
439519
public void activate(String clientID) {
        for (Subscription s : m_subscriptions) {
            if (s.clientId.equals(clientID)) {
                s.setActive(true);
            }
        }

        //go deep
        for (TreeNode child : m_children) {
            child.activate(clientID);
        }

    }
1064404
public void setSubscriptions(java.util.Collection<Subscription> subscriptions) {
        if (subscriptions == null) {
            this.subscriptions = null;
            return;
        }

        this.subscriptions = new java.util.ArrayList<Subscription>(subscriptions);
    }
610726
private void updateMembers() {
		try {
			List<String> locations = new ArrayList<String>();

			EtcdMemberResponse response = listMembers();
			EtcdMember[] members = response.getMembers();

			for (EtcdMember member : members) {
				String[] clientUrls = member.getClientURLs();
				if (clientUrls != null) {
					for (String clientUrl : clientUrls) {
						try {
							String version = template.getForObject(clientUrl + "/version", String.class);
							if (version == null) {
								locations.add(clientUrl);
							}
						} catch (RestClientException e) {
							log.debug("ignoring URI " + clientUrl + " because of error.", e);
						}
					}
				}
			}

			if (!locations.isEmpty()) {
				this.locations = locations.toArray(new String[locations.size()]);
			} else {
				log.debug("not updating locations because no location is found");
			}
		} catch (EtcdException e) {
			log.error("Could not update etcd cluster member.", e);
		}
	}
359816
public void setSyntaxTokens(java.util.Collection<SyntaxToken> syntaxTokens) {
        if (syntaxTokens == null) {
            this.syntaxTokens = null;
            return;
        }

        this.syntaxTokens = new java.util.ArrayList<SyntaxToken>(syntaxTokens);
    }
705152
public void updateAssociations(JMFType type) {
    super.updateAssociations(type);
    if (getCaseCount() != ((JSVariant)type).getCaseCount())
      throw new IllegalStateException();
    if (cases != null)
      for (int i = 0; i < cases.length; i++)
         cases[i].updateAssociations(((JSVariant)type).getCase(i));
  }
101523
public synchronized void changeEndpoints(Endpoints endpoints) {
        context().getPreferences().putBytes("custom_endpoints", endpoints.toByteArray());
        actorApi.changeEndpoints(endpoints);
    }
988917
@Override
    public void setUserPrincipals(Map<String, String> userPrincipals) {
        this.userPrincipals = userPrincipals;
        this.serviceManagementBean.addUserPrincipals(session, userPrincipals);
    }
317109
public void unblockUsers(DomainBareJid mucLightService, List<Jid> usersJids)
            throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
        HashMap<Jid, Boolean> users = new HashMap<>();
        for (Jid jid : usersJids) {
            users.put(jid, true);
        }
        sendUnblockUsers(mucLightService, users);
    }
905963
public void update( Pattern52 other ) {
        setBoundName( other.getBoundName() );
        setChildColumns( other.getChildColumns() );
        setEntryPointName( other.getEntryPointName() );
        setFactType( other.getFactType() );
        setNegated( other.isNegated() );
        setWindow( other.getWindow() );
    }
1260085
public void unblockContacts(List<Jid> jids)
            throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
        UnblockContactsIQ unblockContactIQ = new UnblockContactsIQ(jids);
        connection().createStanzaCollectorAndSend(unblockContactIQ).nextResultOrThrow();
    }
259635
private void update(Collection<InternalSubscriptionInfo> subscriptions) {
    for (InternalSubscriptionInfo subscription : subscriptions) {
      InternalTopic topic = topics.computeIfAbsent(subscription.topic, InternalTopic::new);
      InternalSubscriptionInfo matchingSubscription = topic.remoteSubscriptions().stream()
          .filter(s -> s.memberId().equals(subscription.memberId()) && s.logicalTimestamp().equals(subscription.logicalTimestamp()))
          .findFirst()
          .orElse(null);
      if (matchingSubscription == null) {
        topic.addRemoteSubscription(subscription);
      } else if (subscription.isTombstone()) {
        topic.removeRemoteSubscription(subscription);
      }
    }
  }
464358
public void modifyServiceProvider(final Map<String, Object> changedValues) {
        AddressTemplate template = SERVICE_PROVIDER_TEMPLATE.replaceWildcards(federation, serviceProvider);
        modify(template, serviceProvider, changedValues);
    }
236330
public void changeRoomName(String roomName)
            throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
        MUCLightSetConfigsIQ mucLightSetConfigIQ = new MUCLightSetConfigsIQ(room, roomName, null);
        connection.createStanzaCollectorAndSend(mucLightSetConfigIQ).nextResultOrThrow();
    }
1167384
public void setAddPublicKeys(java.util.Collection<String> addPublicKeys) {
        if (addPublicKeys == null) {
            this.addPublicKeys = null;
            return;
        }

        this.addPublicKeys = new java.util.ArrayList<String>(addPublicKeys);
    }
487236
public void setAssociations(java.util.Collection<PhoneNumberAssociation> associations) {
        if (associations == null) {
            this.associations = null;
            return;
        }

        this.associations = new java.util.ArrayList<PhoneNumberAssociation>(associations);
    }
130886
public synchronized void addToJoinDoNotCancel(ISynchronizationPoint<? extends TError> sp) {
		nbToJoin++;
		sp.listenInline(new Runnable() {
			@Override
			public void run() {
				if (sp.hasError())
					error(sp.getError());
				else
					joined();
			}
		});
		if (Threading.debugSynchronization) ThreadingDebugHelper.registerJoin(this, sp);
	}