Revision: 4485
Author:   seba.wagner
Date:     Sun Oct 30 04:00:02 2011
Log:      Update issue 1498
Re-factor reminder email code and add check to not send reminders to same appointment twice.
http://code.google.com/p/openmeetings/source/detail?r=4485

Modified:
/tags/1_8/src/app/org/openmeetings/app/data/calendar/daos/AppointmentDaoImpl.java /tags/1_8/src/app/org/openmeetings/app/data/calendar/management/AppointmentLogic.java /tags/1_8/src/app/org/openmeetings/app/persistence/beans/calendar/Appointment.java

=======================================
--- /tags/1_8/src/app/org/openmeetings/app/data/calendar/daos/AppointmentDaoImpl.java Wed Aug 31 10:27:24 2011 +++ /tags/1_8/src/app/org/openmeetings/app/data/calendar/daos/AppointmentDaoImpl.java Sun Oct 30 04:00:02 2011
@@ -221,6 +221,7 @@
                        ap.setRemind(appointmentReminderTypDaoImpl
                                        .getAppointmentReminderTypById(remind));
                        ap.setStarttime(new Date());
+                       ap.setIsReminderEmailSend(false);
                        ap.setDeleted("false");
                        ap.setIsDaily(isDaily);
                        ap.setIsWeekly(isWeekly);
@@ -887,7 +888,7 @@
         * @return
         */
// ---------------------------------------------------------------------------------------------
-       public List<Appointment> getTodaysAppointmentsForAllUsers() {
+       public List<Appointment> getTodaysReminderAppointmentsForAllUsers() {
                try {

                        // log.debug("getTodaysAppoitmentsForAllUsers");
@@ -897,20 +898,21 @@
                                        + "WHERE mm.deleted <> :mm_deleted "
                                        + "AND app.deleted <> :app_deleted " + "AND  
"
                                        + "app.appointmentStarttime between :starttime " 
+ "AND "
-                                       + " :endtime";
-
-                       Date startDate = new Date();
-                       startDate.setHours(0);
-                       startDate.setMinutes(0);
-                       startDate.setSeconds(1);
-
-                       Date endDate = new Date();
-                       endDate.setHours(23);
-                       endDate.setMinutes(59);
-                       endDate.setSeconds(59);
-
-                       Timestamp startStamp = new 
Timestamp(startDate.getTime());
-                       Timestamp stopStamp = new Timestamp(endDate.getTime());
+                                       + " :endtime AND "
+ + " ( app.isReminderEmailSend IS NULL OR app.isReminderEmailSend = false ) ";
+
+                       Calendar startCal = Calendar.getInstance();
+                       startCal.set(Calendar.MINUTE, 0);
+                       startCal.set(Calendar.HOUR, 0);
+                       startCal.set(Calendar.SECOND, 1);
+
+                       Calendar endCal = Calendar.getInstance();
+                       endCal.set(Calendar.MINUTE, 23);
+                       endCal.set(Calendar.HOUR, 59);
+                       endCal.set(Calendar.SECOND, 59);
+
+                       Timestamp startStamp = new 
Timestamp(startCal.getTime().getTime());
+                       Timestamp stopStamp = new 
Timestamp(endCal.getTime().getTime());

                        // System.out.println("StartTime : " + startDate);
                        // System.out.println("EndTime : " + endDate);
=======================================
--- /tags/1_8/src/app/org/openmeetings/app/data/calendar/management/AppointmentLogic.java Wed Aug 31 10:27:24 2011 +++ /tags/1_8/src/app/org/openmeetings/app/data/calendar/management/AppointmentLogic.java Sun Oct 30 04:00:02 2011
@@ -51,6 +51,27 @@
        @Autowired
        private MeetingMemberLogic meetingMemberLogic;

+       public static void main(String... args) {
+
+               Calendar calInitial = Calendar.getInstance();
+               int offsetInitial = calInitial.get(Calendar.ZONE_OFFSET)
+                               + calInitial.get(Calendar.DST_OFFSET);
+
+               long current = System.currentTimeMillis();
+
+               // Check right time
+               Date utcTimeNow = new Date(current - offsetInitial);
+
+               System.out.println("UTC current " + current);
+               System.out.println("UTC offsetInitial " + offsetInitial);
+
+               System.out.println("UTC now " + utcTimeNow);
+ System.out.println("Date System.currentTimeMillis() " + new Date(current));
+               System.out.println("Date current " + new Date());
+
+
+       }
+
public List<Appointment> getAppointmentByRange(Long userId, Date starttime,
                        Date endtime) {
                try {
@@ -206,11 +227,10 @@
                        String invitorName = user.getFirstname() + " " + 
user.getLastname()
                                        + " [" + user.getAdresses().getEmail() + 
"]";

-                       meetingMemberLogic.addMeetingMember(
-                                       user.getFirstname(), user.getLastname(), "", 
"", id,
-                                       userId, user.getAdresses().getEmail(), 
baseUrl, userId,
-                                       true, language_id, false, "", 
jNameMemberTimeZone,
-                                       invitorName);
+                       
meetingMemberLogic.addMeetingMember(user.getFirstname(), user
+                                       .getLastname(), "", "", id, userId, 
user.getAdresses()
+                                       .getEmail(), baseUrl, userId, true, language_id, 
false, "",
+                                       jNameMemberTimeZone, invitorName);

                        // add items
                        if (mmClient != null) {
@@ -295,7 +315,8 @@
                        Rooms room = point.getRoom();

                        // Deleting/Notifing Meetingmembers
- List<MeetingMember> members = meetingMemberDao.getMeetingMemberByAppointmentId(appointmentId);
+                       List<MeetingMember> members = meetingMemberDao
+                                       
.getMeetingMemberByAppointmentId(appointmentId);

                        if (members == null)
                                log.debug("Appointment " + 
point.getAppointmentName()
@@ -304,9 +325,8 @@
                        if (members != null) {
                                for (int i = 0; i < members.size(); i++) {
                                        log.debug("deleting member " + 
members.get(i).getEmail());
-                                       meetingMemberLogic.deleteMeetingMember(
-                                                       
members.get(i).getMeetingMemberId(), users_id,
-                                                       language_id);
+                                       
meetingMemberLogic.deleteMeetingMember(members.get(i)
+                                                       .getMeetingMemberId(), 
users_id, language_id);
                                }
                        }

@@ -341,33 +361,34 @@
// ----------------------------------------------------------------------------------------------

        /**
-        * Sending Reminder in Simple mail format hour before Meeting begin
+        * Sending Reminder in Simple mail format 5 minutes before Meeting 
begins
         */
// ----------------------------------------------------------------------------------------------
        public void doScheduledMeetingReminder() {
                // log.debug("doScheduledMeetingReminder");

                List<Appointment> points = appointmentDao
-                               .getTodaysAppointmentsForAllUsers();
+                               .getTodaysReminderAppointmentsForAllUsers();

                if (points == null || points.size() < 1) {
-                       // log.debug("doScheduledMeetingReminder : no Appointments 
today");
+                       log.debug("doScheduledMeetingReminder : no Appointments 
today");
                        return;
                }

+               // Get current time in UTC
                Calendar calInitial = Calendar.getInstance();
                int offsetInitial = calInitial.get(Calendar.ZONE_OFFSET)
                                + calInitial.get(Calendar.DST_OFFSET);

                // Check right time
-               Date now = new Date(System.currentTimeMillis() - offsetInitial);
-
-               log.debug("doScheduledMeetingReminder : UTC now " + now);
+ long currentTimeInMilliSeconds = System.currentTimeMillis() - offsetInitial;

                Long language_id = Long.valueOf(
                                cfgManagement.getConfKey(3, 
"default_lang_id").getConf_value())
                                .longValue();

+               // Get the required labels one time for all meeting members. The
+               // Language of the emails will be the system default language
                Fieldlanguagesvalues labelid1158 = fieldmanagment
                                .getFieldByIdAndLanguage(new Long(1158), 
language_id);
                Fieldlanguagesvalues labelid1153 = fieldmanagment
@@ -377,6 +398,13 @@

                for (int i = 0; i < points.size(); i++) {
                        Appointment ment = points.get(i);
+
+                       // Prevent email from being send twice, even if the 
cycle takes
+                       // very long to send each
+                       if (ment.getIsReminderEmailSend() != null
+                                       && ment.getIsReminderEmailSend()) {
+                               continue;
+                       }

                        // Checking ReminderType - only ReminderType simple 
mail is
                        // concerned!
@@ -386,38 +414,40 @@
                                log.debug("doScheduledMeetingReminder : Found 
appointment "
                                                + ment.getAppointmentName());

-                               Date appStart = ment.getAppointmentStarttime();
-                               Date oneHourBeforeAppStart = new Date(
-                                               System.currentTimeMillis());
-                               
oneHourBeforeAppStart.setTime(appStart.getTime());
-                               // 
oneHourBeforeAppStart.setHours(appStart.getHours() -1);
-
-                               
oneHourBeforeAppStart.setMinutes(appStart.getMinutes() - 5);
-
- // System.out.println("doScheduledMeetingReminder : Found appointment 1 "
-                               // +now);
- // System.out.println("doScheduledMeetingReminder : Found appointment 2 "
-                               // +appStart);
- // System.out.println("doScheduledMeetingReminder : Found appointment 3 "
-                               // +oneHourBeforeAppStart);
- // System.out.println("doScheduledMeetingReminder : Found appointment 4 "
-                               // +now.before(appStart));
- // System.out.println("doScheduledMeetingReminder : Found appointment 5 "
-                               // +now.after(oneHourBeforeAppStart));
-                               //
-                               if (now.before(appStart) && 
now.after(oneHourBeforeAppStart)) {
+                               log.debug("#### 1 "+ment
+                                               .getAppointmentStarttime());
+                               log.debug("#### 2 "+new 
Date(currentTimeInMilliSeconds));
+
+                               // Get the delta in MilliSeconds between start 
of event and
+                               // current time
+                               long timeTillEventInMilliSeconds = ment
+                                               
.getAppointmentStarttime().getTime()
+                                               - currentTimeInMilliSeconds;
+
+                               log.debug("timeTillEventInMilliSeconds "
+                                               + timeTillEventInMilliSeconds);
+
+                               // Event is still to come and 300.000 = 5 
minutes milliseconds
+                               if (timeTillEventInMilliSeconds > 0
+                                               && timeTillEventInMilliSeconds 
< 300000) {
                                        log.debug("Meeting " + 
ment.getAppointmentName()
                                                        + " is in reminder 
range...");
-
- List<MeetingMember> members = meetingMemberDao.getMeetingMemberByAppointmentId(ment.getAppointmentId());
-
-                                       if (members == null || members.size() < 
1) {
+
+                                       //Update Appointment to not send 
invitation twice
+                                       ment.setIsReminderEmailSend(true);
+                                       appointmentDao.updateAppointment(ment);
+
+                                       List<MeetingMember> members = 
meetingMemberDao
+                                                       
.getMeetingMemberByAppointmentId(ment
+                                                                       
.getAppointmentId());
+
+                                       if (members == null) {
                                                
log.debug("doScheduledMeetingReminder : no members in meeting!");
                                                continue;
                                        }

-                                       for (int y = 0; y < members.size(); 
y++) {
-                                               MeetingMember mm = 
members.get(y);
+                                       // Iterate through all MeetingMembers
+                                       for (MeetingMember mm : members) {

                                                
log.debug("doScheduledMeetingReminder : Member "
                                                                + 
mm.getEmail());
@@ -428,114 +458,100 @@
                                                        log.error("Error retrieving 
Invitation for member "
                                                                        + mm.getEmail() + 
" in Appointment "
                                                                        + 
ment.getAppointmentName());
-                                               } else {
-                                                       // Check if Invitation 
was updated last time
-                                                       Date updateTime = 
inv.getUpdatetime();
-
-                                                       if (updateTime != null
-                                                                       && 
updateTime.after(oneHourBeforeAppStart)) {
- log.debug("Member has been informed within one hour before Meeting start");
-                                                               continue;
-                                                       }
-
-                                                       if (inv.getBaseUrl() == 
null
-                                                                       || 
inv.getBaseUrl().length() < 1) {
-                                                               log.error("Error 
retrieving baseUrl from Invitation ID : "
-                                                                               
+ inv.getInvitations_id());
-                                                               continue;
-                                                       }
-
-                                                       // 
ment.getAppointmentStarttime().toLocaleString()
-
-                                                       Users us = 
ment.getUserId();
-
-                                                       String jNameTimeZone = 
null;
-                                                       if (us != null && 
us.getOmTimeZone() != null) {
-                                                               jNameTimeZone = 
us.getOmTimeZone().getJname();
-                                                       } else {
-                                                               Configuration 
conf = cfgManagement.getConfKey(
-                                                                               3L, 
"default.timezone");
-                                                               if (conf != 
null) {
-                                                                       
jNameTimeZone = conf.getConf_value();
-                                                               }
-                                                       }
-
-                                                       OmTimeZone omTimeZone = 
omTimeZoneDaoImpl
-                                                                       
.getOmTimeZone(jNameTimeZone);
-
-                                                       String timeZoneName = 
omTimeZone.getIcal();
-
-                                                       Calendar cal = 
Calendar.getInstance();
-                                                       
cal.setTimeZone(TimeZone.getTimeZone(timeZoneName));
-                                                       int offset = 
cal.get(Calendar.ZONE_OFFSET)
-                                                                       + 
cal.get(Calendar.DST_OFFSET);
-
-                                                       Date starttime = new 
Date(ment
-                                                                       
.getAppointmentStarttime().getTime()
-                                                                       + 
offset);
-                                                       Date endtime = new 
Date(ment
-                                                                       
.getAppointmentEndtime().getTime() + offset);
-
-                                                       // String message = "Meeting 
: " +
-                                                       // ment.getAppointmentName() + 
"<br>";
-                                                       // 
if(ment.getAppointmentDescription() != null &&
-                                                       // 
ment.getAppointmentDescription().length() > 0)
-                                                       // message += "(" + 
ment.getAppointmentDescription()
-                                                       // + ")<br>";
-                                                       // message += "Start : " + starttime + 
"<br>";
-                                                       // message += "End : " + endtime + 
"<br>";
-                                                       // message += "Timezone : 
" + omTimeZone.getIcal() +
-                                                       // "<br>";
-
-                                                       String message = 
labelid1158.getValue() + " "
-                                                                       + 
ment.getAppointmentName();
-
-                                                       if 
(ment.getAppointmentDescription().length() != 0) {
-
-                                                               
Fieldlanguagesvalues labelid1152 = fieldmanagment
-                                                                               
.getFieldByIdAndLanguage(
-                                                                               
                new Long(1152), language_id);
-                                                               message += 
labelid1152.getValue()
-                                                                               
+ ment.getAppointmentDescription();
-
-                                                       }
-
-                                                       message += "<br/>"
-                                                                       + 
labelid1153.getValue()
-                                                                       + ' '
-                                                                       + 
CalendarPatterns
-                                                                               
        .getDateWithTimeByMiliSeconds(starttime)
-                                                                       + " (" + timeZoneName + 
")" + "<br/>";
-
-                                                       message += 
labelid1154.getValue()
-                                                                       + ' '
-                                                                       + 
CalendarPatterns
-                                                                               
        .getDateWithTimeByMiliSeconds(endtime)
-                                                                       + " (" + timeZoneName + 
")" + "<br/>";
-
-                                                       // Fieldlanguagesvalues 
labelid1156 =
-                                                       // 
fieldmanagment.getFieldByIdAndLanguage(new
-                                                       // Long(1156), 
language_id);
-                                                       // message = 
labelid1156.getValue() + invitorName +
-                                                       // "<br/>";
-
-                                                       
invitationManagement.sendInvitationReminderLink(
-                                                                               
        message,
-                                                                               
        inv.getBaseUrl(),
-                                                                               
        mm.getEmail(),
-                                                                                       
labelid1158.getValue() + " "
-                                                                               
                        + ment.getAppointmentName(),
-                                                                               
        inv.getHash());
-
-                                                       inv.setUpdatetime(now);
-                                                       
invitationManagement.updateInvitation(inv);
-                                               }
-
-                                       }
-                               } else
-                                       log.debug("Meeting is not in Reminder 
Range!");
-                       }
-               }
+                                                       continue;
+                                               }
+
+                                               if (inv.getBaseUrl() == null
+                                                               || 
inv.getBaseUrl().length() < 1) {
+                                                       log.error("Error retrieving 
baseUrl from Invitation ID : "
+                                                                       + 
inv.getInvitations_id());
+                                                       continue;
+                                               }
+
+                                               String message = 
generateMessage(labelid1158, ment,
+                                                               language_id, 
labelid1153, labelid1154);
+
+                                               
invitationManagement.sendInvitationReminderLink(
+                                                               message,
+                                                               
inv.getBaseUrl(),
+                                                               mm.getEmail(),
+                                                               labelid1158.getValue() + 
" "
+                                                                               
+ ment.getAppointmentName(),
+                                                               inv.getHash());
+
+                                               inv.setUpdatetime(new 
Date(currentTimeInMilliSeconds));
+                                               
invitationManagement.updateInvitation(inv);
+
+                                       }
+                               } else
+                                       log.debug("Meeting is not in Reminder 
Range!");
+                       }
+               }
+       }
+
+       /**
+        * Generate a localized message including the time and date of the 
meeting
+        * event
+        *
+        * @param labelid1158
+        * @param ment
+        * @param language_id
+        * @param labelid1153
+        * @param jNameTimeZone
+        * @param labelid1154
+        * @return
+        */
+       private String generateMessage(Fieldlanguagesvalues labelid1158,
+                       Appointment ment, Long language_id,
+                       Fieldlanguagesvalues labelid1153, Fieldlanguagesvalues 
labelid1154) {
+
+               Users us = ment.getUserId();
+
+               String jNameTimeZone = null;
+               if (us != null && us.getOmTimeZone() != null) {
+                       jNameTimeZone = us.getOmTimeZone().getJname();
+               } else {
+                       Configuration conf = cfgManagement.getConfKey(3L,
+                                       "default.timezone");
+                       if (conf != null) {
+                               jNameTimeZone = conf.getConf_value();
+                       }
+               }
+
+               OmTimeZone omTimeZone = 
omTimeZoneDaoImpl.getOmTimeZone(jNameTimeZone);
+
+               String timeZoneName = omTimeZone.getIcal();
+
+               Calendar cal = Calendar.getInstance();
+               cal.setTimeZone(TimeZone.getTimeZone(timeZoneName));
+               int offset = cal.get(Calendar.ZONE_OFFSET)
+                               + cal.get(Calendar.DST_OFFSET);
+
+               Date starttime = new 
Date(ment.getAppointmentStarttime().getTime()
+                               + offset);
+               Date endtime = new Date(ment.getAppointmentEndtime().getTime() 
+ offset);
+
+               String message = labelid1158.getValue() + " "
+                               + ment.getAppointmentName();
+
+               if (ment.getAppointmentDescription().length() != 0) {
+
+                       Fieldlanguagesvalues labelid1152 = fieldmanagment
+                                       .getFieldByIdAndLanguage(new 
Long(1152), language_id);
+                       message += labelid1152.getValue()
+                                       + ment.getAppointmentDescription();
+
+               }
+
+               message += "<br/>" + labelid1153.getValue() + ' '
+                               + 
CalendarPatterns.getDateWithTimeByMiliSeconds(starttime)
+                               + " (" + timeZoneName + ")" + "<br/>";
+
+               message += labelid1154.getValue() + ' '
+                               + CalendarPatterns.getDateWithTimeByMiliSeconds(endtime) 
+ " ("
+                               + timeZoneName + ")" + "<br/>";
+
+               return message;
        }

// ----------------------------------------------------------------------------------------------
=======================================
--- /tags/1_8/src/app/org/openmeetings/app/persistence/beans/calendar/Appointment.java Sat Jul 23 04:28:08 2011 +++ /tags/1_8/src/app/org/openmeetings/app/persistence/beans/calendar/Appointment.java Sun Oct 30 04:00:02 2011
@@ -1,292 +1,290 @@
 package org.openmeetings.app.persistence.beans.calendar;

-
-
 import java.io.Serializable;
 import java.util.Date;
 import java.util.List;

-import org.openmeetings.app.persistence.beans.rooms.Rooms;
-import org.openmeetings.app.persistence.beans.user.Users;
-
-
-
 import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.FetchType;
 import javax.persistence.GeneratedValue;
 import javax.persistence.GenerationType;
 import javax.persistence.Id;
-import javax.persistence.ManyToOne;
 import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
 import javax.persistence.Table;
 import javax.persistence.Transient;

+import org.openmeetings.app.persistence.beans.rooms.Rooms;
+import org.openmeetings.app.persistence.beans.user.Users;
+
 @Entity
 @Table(name = "appointments")
 public class Appointment implements Serializable {
-
+
        private static final long serialVersionUID = 2016808778885761525L;
        @Id
        @GeneratedValue(strategy = GenerationType.IDENTITY)
-
-       @Column(name="appointment_id")
+       @Column(name = "appointment_id")
        private Long appointmentId;
-       @Column(name="appointmentname")
+       @Column(name = "appointmentname")
        private String appointmentName;
-       @Column(name="location")
+       @Column(name = "location")
        private String appointmentLocation;
-       @Column(name="appointment_starttime")
+       @Column(name = "appointment_starttime")
        private Date appointmentStarttime;
-       @Column(name="appointment_endtime")
+       @Column(name = "appointment_endtime")
        private Date appointmentEndtime;
-       @Column(name="description")
+       @Column(name = "description")
        private String appointmentDescription;
        @ManyToOne(fetch = FetchType.EAGER)
-       @JoinColumn(name="category_id", nullable=true)
-       private AppointmentCategory appointmentCategory;
+       @JoinColumn(name = "category_id", nullable = true)
+       private AppointmentCategory appointmentCategory;
        @ManyToOne(fetch = FetchType.EAGER)
-       @JoinColumn(name="user_id", nullable=true)
+       @JoinColumn(name = "user_id", nullable = true)
        private Users userId;
-
-       @Column(name="starttime")
+
+       @Column(name = "starttime")
        private Date starttime;
-       @Column(name="updatetime")
+       @Column(name = "updatetime")
        private Date updatetime;
-       @Column(name="deleted")
+       @Column(name = "deleted")
        private String deleted;
-       @Column(name="comment_field")
+       @Column(name = "comment_field")
        private String comment;
        @ManyToOne(fetch = FetchType.EAGER)
-       @JoinColumn(name="remind_id", nullable=true)
+       @JoinColumn(name = "remind_id", nullable = true)
        private AppointmentReminderTyps remind;
-
-       @Column(name="isdaily")
+
+       @Column(name = "isdaily")
        private Boolean isDaily;
-       @Column(name="isweekly")
+       @Column(name = "isweekly")
        private Boolean isWeekly;
-       @Column(name="ismonthly")
+       @Column(name = "ismonthly")
        private Boolean isMonthly;
-       @Column(name="isyearly")
+       @Column(name = "isyearly")
        private Boolean isYearly;
-
+
        @ManyToOne(fetch = FetchType.EAGER)
-       @JoinColumn(name="room_id", nullable=true)
+       @JoinColumn(name = "room_id", nullable = true)
        private Rooms room;
-
-       @Column(name="icalId")
+
+       @Column(name = "icalId")
        private String icalId;
-
+
        @Transient
        private List<MeetingMember> meetingMember;
-       @Column(name="language_id")
+       @Column(name = "language_id")
        private Long language_id;
-       @Column(name="is_password_protected")
+       @Column(name = "is_password_protected")
        private Boolean isPasswordProtected;
-       @Column(name="password")
+       @Column(name = "password")
        private String password;
-
-       @Column(name="is_connected_event")
+
+       @Column(name = "is_connected_event")
        private Boolean isConnectedEvent;

+       @Column(name = "is_reminder_email_send")
+       private Boolean isReminderEmailSend = false; //default to false
+
        public Long getAppointmentId() {
                return appointmentId;
        }
+
        public void setAppointmentId(Long appointmentId) {
                this.appointmentId = appointmentId;
        }
-
+
        public Users getUserId() {
                return userId;
        }
+
        public void setUserId(Users userId) {
                this.userId = userId;
        }
+
        public String getAppointmentName() {
                return appointmentName;
        }
+
        public void setAppointmentName(String appointmentName) {
                this.appointmentName = appointmentName;
        }
+
        public String getAppointmentLocation() {
                return appointmentLocation;
        }
-
-

        public void setAppointmentLocation(String appointmentLocation) {
                this.appointmentLocation = appointmentLocation;
        }
-

        public Date getAppointmentStarttime() {
                return appointmentStarttime;
        }
-
-

        public void setAppointmentStarttime(Date appointmentStarttime) {
                this.appointmentStarttime = appointmentStarttime;
        }
-

        public Date getAppointmentEndtime() {
                return appointmentEndtime;
        }
-
-

        public void setAppointmentEndtime(Date appointmentEndtime) {
                this.appointmentEndtime = appointmentEndtime;
        }
-

        public String getAppointmentDescription() {
                return appointmentDescription;
        }
-
-

        public void setAppointmentDescription(String appointmentDescription) {
                this.appointmentDescription = appointmentDescription;
        }
-

        public AppointmentCategory getAppointmentCategory() {
                return appointmentCategory;
        }
-
-

public void setAppointmentCategory(AppointmentCategory appointmentCategory) {
                this.appointmentCategory = appointmentCategory;
        }

-        public AppointmentReminderTyps getRemind() {
+       public AppointmentReminderTyps getRemind() {
                return remind;
        }
+
        public void setRemind(AppointmentReminderTyps remind) {
                this.remind = remind;
        }
+
        public Date getStarttime() {
                return starttime;
        }
-
-

        public void setStarttime(Date starttime) {
                this.starttime = starttime;
        }
-

        public Date getUpdatetime() {
                return updatetime;
        }
-
-

        public void setUpdatetime(Date updatetime) {
                this.updatetime = updatetime;
        }
-

        public String getDeleted() {
                return deleted;
        }
-
-

        public void setDeleted(String deleted) {
                this.deleted = deleted;
        }
-

        public String getComment() {
                return comment;
        }
-
-

        public void setComment(String comment) {
                this.comment = comment;
        }
-
+
        public Boolean getIsWeekly() {
                return isWeekly;
        }
+
        public void setIsWeekly(Boolean isWeekly) {
                this.isWeekly = isWeekly;
        }
-
+
        public Boolean getIsMonthly() {
                return isMonthly;
        }
+
        public void setIsMonthly(Boolean isMonthly) {
                this.isMonthly = isMonthly;
        }
-
+
        public Boolean getIsYearly() {
                return isYearly;
        }
+
        public void setIsYearly(Boolean isYearly) {
                this.isYearly = isYearly;
        }
-
+
        public Boolean getIsDaily() {
                return isDaily;
        }
+
        public void setIsDaily(Boolean isDaily) {
                this.isDaily = isDaily;
        }
+
        public List<MeetingMember> getMeetingMember() {
                return meetingMember;
        }
+
        public void setMeetingMember(List<MeetingMember> meetingMember) {
                this.meetingMember = meetingMember;
        }
-
+
        public Rooms getRoom() {
                return room;
        }
+
        public void setRoom(Rooms room) {
                this.room = room;
        }
-
+
        public String getIcalId() {
                return icalId;
        }
+
        public void setIcalId(String icalId) {
                this.icalId = icalId;
        }
-
+
        public Long getLanguage_id() {
                return language_id;
        }
+
        public void setLanguage_id(Long languageId) {
                language_id = languageId;
        }
-
+
        public Boolean getIsPasswordProtected() {
                return isPasswordProtected;
        }
+
        public void setIsPasswordProtected(Boolean isPasswordProtected) {
                this.isPasswordProtected = isPasswordProtected;
        }
-
+
        public String getPassword() {
                return password;
        }
+
        public void setPassword(String password) {
                this.password = password;
        }
-
+
        public Boolean getIsConnectedEvent() {
                return isConnectedEvent;
        }
+
        public void setIsConnectedEvent(Boolean isConnectedEvent) {
                this.isConnectedEvent = isConnectedEvent;
        }
-
-}
-
-
+
+       public Boolean getIsReminderEmailSend() {
+               return isReminderEmailSend;
+       }
+
+       public void setIsReminderEmailSend(Boolean isReminderEmailSend) {
+               this.isReminderEmailSend = isReminderEmailSend;
+       }
+
+}

--
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to