CalendarEvent Class

Used to represent a calendar entry. TODOs: 1. Meeting reminders 2. Recurring events

Constructors

protected CalendarEvent( )
public CalendarEvent( javaxt.exchange.CalendarEvent event )
public CalendarEvent( String title, String description, String location, javaxt.exchange.Mailbox organizer, javaxt.utils.Date startTime, int duration )
public CalendarEvent( String exchangeID, javaxt.exchange.Connection conn, javaxt.exchange.ExtendedFieldURI[] AdditionalProperties )
public CalendarEvent( String exchangeID, javaxt.exchange.Connection conn )
public CalendarEvent( String iCalendar )
protected CalendarEvent( org.w3c.dom.Node calendarItemNode, javaxt.exchange.Connection conn )

Methods

addAttendee( javaxt.exchange.Mailbox attendee, boolean isRequired ) returns void
Used to add an attendee to this event.
delete( javaxt.exchange.Connection conn, boolean notify ) returns void
Used to delete an event. Provides an option to notify invitees.
getAttendees( ) returns java.util.HashMap
Returns a HashMap with a list of attendees associated with this event. The key in the HashMap represents a Mailbox item and the value is a boolean used to indicate whether the attendee is required.
getAvailability( ) returns String
Returns the organizer's availability during this event (LegacyFreeBusyStatus). Values include "Free", "Busy", "Tentative", "OOF" (out of office), and "NoData".
getBody( ) returns String
Used to get the content of the meeting invite.
getDuration( String units ) returns long
Returns the duration of the meeting/event
unitsUnits of measure (e.g. hours, minutes, seconds, weeks, months, years, etc.)
getEndTime( ) returns javaxt.utils.Date
getLocation( ) returns String
Returns the location of this event.
getOrganizer( ) returns javaxt.exchange.Mailbox
getReminder( ) returns Integer
getStartTime( ) returns javaxt.utils.Date
Returns the start time.
getSubject( ) returns String
Returns a descriptive title for this event.
isAllDayEvent( ) returns boolean
Returns a boolean used to indicate whether this is an all day event. Note that the logic only works if the timezone has been set.
removeAttendee( javaxt.exchange.Mailbox attendee ) returns void
Used to remove an attendee from this event.
removeAttendees( ) returns void
Removes all attendees from this event.
save( javaxt.exchange.Connection conn ) returns String
Used to save/update an event. Returns the Exchange ID for the item.
setAllDayEvent( javaxt.utils.Date date ) returns void
setAttendees( java.util.HashMap attendees ) returns void
Used to set attendees associated with this event.
setAvailability( String freeBusyStatus ) returns void
Used to set the organizer's availability during this event.
freeBusyStatusValues include "Free", "Busy", "Tentative", "OOF" (out of office), and "NoData".
setBody( String description, String format ) returns void
Used to set the content of the meeting invite (e.g. purpose, agenda, address, notes, etc.)
description
formatText format ("Best", "HTML", or "Text").
setEndTime( java.util.Date endTime ) returns void
Used to set the end time of the event using a java.util.Date.
setEndTime( javaxt.utils.Date endTime ) returns void
Used to set the end time of the event using a javaxt.utils.Date.
setLocation( String location ) returns void
Used to set the location of this event.
setOrganizer( javaxt.exchange.Mailbox organizer ) returns void
setReminder( Integer reminder ) returns void
setStartTime( java.util.Date startTime ) returns void
Used to set the start time of the event using a java.util.Date.
setStartTime( javaxt.utils.Date startTime ) returns void
Used to set the start time of the event using a javaxt.utils.Date.
setSubject( String title ) returns void
Used to set a descriptive title for this event.
setTimeZone( String timezone ) returns void
Used to set the time zone for the event. This is important for calculating all day events.
setTimeZone( java.util.TimeZone timezone ) returns void
Used to set the time zone for the event. This is important for calculating all day events.
toString( ) returns String
Returns a string representation of this item.