String externalRoomType) throws AxisFault {
try {
Long users_id = sessiondataDao.checkSession(SID);
Long user_level = userManager.getUserLevelByID(users_id);
if (AuthLevelUtil.checkWebServiceLevel(user_level)) {
Room room = conferenceService.getRoomByExternalId(SID,
externalRoomId, externalRoomType, roomtypes_id);
Long roomId = null;
if (room == null) {
roomId = roomManager.addExternalRoom(name, roomtypes_id,
comment, numberOfPartizipants, ispublic, null,
appointment, isDemoRoom, demoTime, isModeratedRoom,
null, externalRoomId, externalRoomType, true,
false, true, false, "", false, true, false);
} else {
roomId = room.getRooms_id();
}
return roomId;
}
return -26L;