/** * Updates the configuration of a MUC service. This is more involved than it may seem. If the * subdomain is changed, we need to shut down the old service and start up the new one, registering * the new subdomain and cleaning up the old one. Properties are tied to the ID, which will not change. * * @param cursubdomain The current subdomain assigned to the service. * @param newsubdomain New subdomain to assign to the service. * @param description New description to assign to the service. * @throws NotFoundException if service was not found. */ public void updateMultiUserChatService(String cursubdomain, String newsubdomain, String description) throws NotFoundException { Long serviceID = getMultiUserChatServiceID(cursubdomain); if (serviceID == null) throw new NotFoundException(); updateMultiUserChatService(serviceID, newsubdomain, description); }
/** * Updates the configuration of a MUC service. This is more involved than it may seem. If the * subdomain is changed, we need to shut down the old service and start up the new one, registering * the new subdomain and cleaning up the old one. Properties are tied to the ID, which will not change. * * @param cursubdomain The current subdomain assigned to the service. * @param newsubdomain New subdomain to assign to the service. * @param description New description to assign to the service. * @throws NotFoundException if service was not found. */ public void updateMultiUserChatService(String cursubdomain, String newsubdomain, String description) throws NotFoundException { Long serviceID = getMultiUserChatServiceID(cursubdomain); if (serviceID == null) throw new NotFoundException(); updateMultiUserChatService(serviceID, newsubdomain, description); }