Boolean showMicrophoneStatus, Boolean chatModerated, boolean chatOpened, boolean filesOpened
, boolean autoVideoSelect, boolean sipEnabled) {
try {
log.debug("*** updateRoom numberOfPartizipants: "
+ numberOfPartizipants);
Room r = roomDao.get(rooms_id);
r.setComment(comment);
r.setIspublic(ispublic);
r.setNumberOfPartizipants(numberOfPartizipants);
r.setName(name);
r.setRoomtype(roomTypeDao.get(roomtypes_id));
r.setUpdatetime(new Date());
r.setAllowUserQuestions(allowUserQuestions);
r.setIsAudioOnly(isAudioOnly);
r.setAllowFontStyles(allowFontStyles);
r.setIsDemoRoom(isDemoRoom);
r.setDemoTime(demoTime);
r.setAppointment(appointment);
r.setIsModeratedRoom(isModeratedRoom);
r.setHideTopBar(hideTopBar);
r.setIsClosed(isClosed);
r.setRedirectURL(redirectURL);
r.setOwnerId(ownerId);
r.setWaitForRecording(waitForRecording);
r.setAllowRecording(allowRecording);
r.setHideChat(hideChat);
r.setHideActivitiesAndActions(hideActivitiesAndActions);
r.setHideActionsMenu(hideActionsMenu);
r.setHideFilesExplorer(hideFilesExplorer);
r.setHideScreenSharing(hideScreenSharing);
r.setHideWhiteboard(hideWhiteboard);
r.setShowMicrophoneStatus(showMicrophoneStatus);
r.setChatModerated(chatModerated);
r.setChatOpened(chatOpened);
r.setFilesOpened(filesOpened);
r.setAutoVideoSelect(autoVideoSelect);
r.setPin(conferencePin);
r.setSipEnabled(sipEnabled);
roomDao.update(r, ownerId);
if (organisations != null) {
Long t = this.updateRoomOrganisations(organisations, r);
if (t == null)
return null;
}
if (roomModerators != null) {
roomModeratorsDao.updateRoomModeratorByUserList(roomModerators,
r.getRooms_id());
}
return r.getRooms_id();
} catch (Exception ex2) {
log.error("[updateRoom] ", ex2);
}
return null;
}