public Long addMeetingMemberRemindToRoom(String SID,Long room_id,String firstname,String lastname,String email,String baseUrl,Long language_id) throws AxisFault {
  try {
    Long users_id=sessionManagement.checkSession(SID);
    Long user_level=userManagement.getUserLevelByID(users_id);
    if (authLevelManagement.checkWebServiceLevel(user_level)) {
      Appointment appointment=appointmentDao.getAppointmentByRoom(room_id);
      if (appointment == null) {
        return -1L;
      }
      Long memberId=meetingMemberLogic.addMeetingMember(firstname,lastname,"0","0",appointment.getAppointmentId(),null,email,baseUrl,null,new Boolean(false),language_id,false,"",null,null,"");
      return memberId;
    }
 else {
      return -2L;
    }
  }
 catch (  Exception err) {
    log.error("[addRoomWithModeration] ",err);
    throw new AxisFault(err.getMessage());
  }
}

public Long addMeetingMemberRemindToRoom ( String SID , Long room_id , String firstname , String lastname , String email , String baseUrl , Long language_id ) throws AxisFault { try { Long users_id = sessionManagement . checkSession ( SID ) ; Long user_level = userManagement . getUserLevelByID ( users_id ) ; if ( authLevelManagement . checkWebServiceLevel ( user_level ) ) { Appointment appointment = appointmentDao . getAppointmentByRoom ( room_id ) ; if ( appointment == null ) { return - 1L ; } Long memberId = meetingMemberLogic . addMeetingMember ( firstname , lastname , "0" , "0" , appointment . getAppointmentId ( ) , null , email , baseUrl , null , new Boolean ( false ) , language_id , false , "" , null , null , "" ) ; return memberId ; } else { return - 2L ; } } catch ( Exception err ) { log . error ( "[addRoomWithModeration] " , err ) ; throw new AxisFault ( err . getMessage ( ) ) ; } }
add a meeting member to a certain room . this is the same as adding an external user to a event in the calendar .
