private ArrayList getUserCalendarInfo(int calendarId, Connection con) {

    ArrayList userCalendarInfoList = null;
    try {

      WSUserCalendar wsCalendarBean = initWSUserCalendarBean();

      userCalendarInfoList = wsCalendarBean.getCalendarInfo(calendarId);
      // jsonArray = JSONArray.fromObject(userCalendarInfoList);

      /*
       * CalendarData calData = null; Iterator itr = userCalendarInfoList.iterator(); while (itr.hasNext()) {
       *
       * calData = (CalendarData) itr.next(); //jsonArray = JSONArray.fromObject(calData); //log.info(jsonArray+"JSON ARRAY"); map.put("loginId",
       * calData.getLoginId()); map.put("savedJobId", String.valueOf(calData.getSaveJobId())); map.put("cdcId", calData.getCdcId()); map.put("eventTitle",
       * calData.getEventTitle()); map.put("eventType", calData.getEventType()); map.put("eventDate", calData.getEventDate()); map.put("eventTime",
       * calData.getEventTime()); map.put("reminderFlag", calData.getReminderFlag()); map.put("frequency", calData.getFrequency()); map.put("periodValue",
       * calData.getPeriodValue()); map.put("notes", calData.getNotes()); map.put("sendMailTo", calData.getSendMailTo()); map.put("recordInsertedDate",
       * calData.getRecordInsertDate());
       *
       *
       *
       *
       *
       *
       * }
       */
    } catch (Exception ex) {
      ex.printStackTrace();
      log("EXCEPTION IN getUserCalendarInfo  " + ex.toString());
    }
    /**/
    // log.info(jsonArray.toString());
    return userCalendarInfoList;
  }