public final class MapiCalendar extends MapiMessageItemBase
Represents the mapi calendar object
attachments, namedPropertyMappingStorage, recipients
Constructor and Description |
---|
MapiCalendar()
Initializes a new instance of the
MapiCalendar class |
MapiCalendar(String location,
String summary,
String description,
Date startDate,
Date endDate)
Initializes a new instance of the
MapiCalendar class. |
MapiCalendar(String location,
String summary,
String description,
Date startDate,
Date endDate,
String organizer,
MapiRecipientCollection attendees)
Initializes a new instance of the
MapiCalendar class. |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Releases all resources.
|
boolean |
getAppointmentCounterProposal()
Gets or sets a value indicating whether a Meeting Response object is a counter proposal.
|
MapiCalendarAttendees |
getAttendees()
Gets or sets the attendees
|
int |
getBusyStatus()
Gets or sets the busy status
|
int |
getClientIntent()
Gets or sets the actions the user has taken on this Meeting object.
|
Date |
getEndDate()
Gets or sets the end date and time of the event.
|
MapiCalendarTimeZone |
getEndDateTimeZone()
Gets or sets time zone information that indicates the time zone of the EndDate property
|
String |
getKeyWords()
Gets or sets the categories of the calendar object
|
String |
getLocation()
Gets or sets the location of the event
|
MapiCalendarEventRecurrence |
getRecurrence()
Gets or sets the recurrence properties
|
int |
getReminderDelta()
Gets or sets the interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object
|
String |
getReminderFileParameter()
Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.
|
boolean |
getReminderSet()
Gets or sets a value indicating whether a reminder is set on the object
|
int |
getSequence()
Gets or sets the sequence number
|
Date |
getStartDate()
Gets or sets the start date and time of the event.
|
MapiCalendarTimeZone |
getStartDateTimeZone()
Gets or sets time zone information that indicates the time zone of the StartDate property
|
String |
getUid()
Gets the unique identifier
|
boolean |
isAllDay()
Gets or sets a value indicating whether the event is an all-day event
|
void |
save(OutputStream stream)
Saves calendar object to the file with iCalendar format using te default save options
|
void |
save(OutputStream stream,
int saveFormat)
Saves calendar object to the stream with specified format using te default save options
|
void |
save(String filePath)
Saves calendar object to the file with iCalendar format using te default save options
|
void |
save(String filePath,
int saveFormat)
Saves calendar object to the file with specified format using te default save options
|
void |
setAllDay(boolean value)
Gets or sets a value indicating whether the event is an all-day event
|
void |
setAppointmentCounterProposal(boolean value)
Gets or sets a value indicating whether a Meeting Response object is a counter proposal.
|
void |
setAttendees(MapiCalendarAttendees value)
Gets or sets the attendees
|
void |
setBusyStatus(int value)
Gets or sets the busy status
|
void |
setClientIntent(int value)
Gets or sets the actions the user has taken on this Meeting object.
|
void |
setEndDate(Date value)
Gets or sets the end date and time of the event.
|
void |
setEndDateTimeZone(MapiCalendarTimeZone value)
Gets or sets time zone information that indicates the time zone of the EndDate property
|
void |
setKeyWords(String value)
Gets or sets the categories of the calendar object
|
void |
setLocation(String value)
Gets or sets the location of the event
|
void |
setRecurrence(MapiCalendarEventRecurrence value)
Gets or sets the recurrence properties
|
void |
setReminderDelta(int value)
Gets or sets the interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object
|
void |
setReminderFileParameter(String value)
Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.
|
void |
setReminderSet(boolean value)
Gets or sets a value indicating whether a reminder is set on the object
|
void |
setSequence(int value)
Gets or sets the sequence number
|
void |
setStartDate(Date value)
Gets or sets the start date and time of the event.
|
void |
setStartDateTimeZone(MapiCalendarTimeZone value)
Gets or sets time zone information that indicates the time zone of the StartDate property
|
void |
setUid(String value)
Gets the unique identifier
|
checkIsDisposed, getAttachments, getBilling, getBody, getBodyHtml, getBodyRtf, getBodyType, getCategories, getCompanies, getItemId, getMessageClass, getMileage, getNamedProperties, getNamedPropertyMapping, getProperty, getPropertyStream, getRecipients, getSensitivity, getSubject, getSubjectPrefix, getSubStorages, initNamedPropertyMappingStorage, removeProperty, setBilling, setBody, setBodyContent, setBodyRtf, setCategories, setCompanies, setMessageClass, setMessageFlags, setMileage, setNamedPropertyMapping, setProperty, setRecipients, setSensitivity, setsIMapiMessageItemMembers, setSubject
createMapiNode, getCodePage, getProperties, getPropertyBoolean, getPropertyBytes, getPropertyDateTime, getPropertyInt32, getPropertyLong, getPropertyShort, getPropertyString, getPropertyString, isStoreUnicodeOk, setProperty, tryGetPropertyData, tryGetPropertyDateTime, tryGetPropertyInt32, tryGetPropertyLong, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString
public MapiCalendar()
Initializes a new instance of the MapiCalendar
class
public MapiCalendar(String location, String summary, String description, Date startDate, Date endDate)
Initializes a new instance of the MapiCalendar
class.
location
- The appointment location.summary
- The appointment summary.description
- The appointment description.startDate
- The start date.endDate
- The end date.public MapiCalendar(String location, String summary, String description, Date startDate, Date endDate, String organizer, MapiRecipientCollection attendees)
Initializes a new instance of the MapiCalendar
class.
location
- The meeting location.summary
- The meeting summary.description
- The meeting description.startDate
- The start date.endDate
- The end date.organizer
- The meeting organizer address.attendees
- The meeting attendees.public final int getReminderDelta()
Gets or sets the interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object
public final void setReminderDelta(int value)
Gets or sets the interval, in minutes, between the time at which the reminder first becomes overdue and the start time of the Calendar object
public final boolean getReminderSet()
Gets or sets a value indicating whether a reminder is set on the object
public final void setReminderSet(boolean value)
Gets or sets a value indicating whether a reminder is set on the object
public final String getReminderFileParameter()
Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.
public final void setReminderFileParameter(String value)
Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.
public final boolean getAppointmentCounterProposal()
Gets or sets a value indicating whether a Meeting Response object is a counter proposal.
public final void setAppointmentCounterProposal(boolean value)
Gets or sets a value indicating whether a Meeting Response object is a counter proposal.
public final int getClientIntent()
Gets or sets the actions the user has taken on this Meeting object.
public final void setClientIntent(int value)
Gets or sets the actions the user has taken on this Meeting object.
public final MapiCalendarTimeZone getStartDateTimeZone()
Gets or sets time zone information that indicates the time zone of the StartDate property
public final void setStartDateTimeZone(MapiCalendarTimeZone value)
Gets or sets time zone information that indicates the time zone of the StartDate property
public final MapiCalendarTimeZone getEndDateTimeZone()
Gets or sets time zone information that indicates the time zone of the EndDate property
public final void setEndDateTimeZone(MapiCalendarTimeZone value)
Gets or sets time zone information that indicates the time zone of the EndDate property
public final MapiCalendarAttendees getAttendees()
Gets or sets the attendees
public final void setAttendees(MapiCalendarAttendees value)
Gets or sets the attendees
public final MapiCalendarEventRecurrence getRecurrence()
Gets or sets the recurrence properties
public final void setRecurrence(MapiCalendarEventRecurrence value)
Gets or sets the recurrence properties
public final boolean isAllDay()
Gets or sets a value indicating whether the event is an all-day event
public final void setAllDay(boolean value)
Gets or sets a value indicating whether the event is an all-day event
public final String getKeyWords()
Gets or sets the categories of the calendar object
public final void setKeyWords(String value)
Gets or sets the categories of the calendar object
public final Date getStartDate()
Gets or sets the start date and time of the event.
If the date is not set, default value for Date
is returned.
public final void setStartDate(Date value)
Gets or sets the start date and time of the event.
If the date is not set, default value for Date
is returned.
public final Date getEndDate()
Gets or sets the end date and time of the event.
If the date is not set, default value for Date
is returned.
public final void setEndDate(Date value)
Gets or sets the end date and time of the event.
If the date is not set, default value for Date
is returned.
public final int getSequence()
Gets or sets the sequence number
public final void setSequence(int value)
Gets or sets the sequence number
public final int getBusyStatus()
Gets or sets the busy status
public final void setBusyStatus(int value)
Gets or sets the busy status
public final String getLocation()
Gets or sets the location of the event
public final void setLocation(String value)
Gets or sets the location of the event
public final String getUid()
Gets the unique identifier
public final void setUid(String value)
Gets the unique identifier
public final void save(String filePath)
Saves calendar object to the file with iCalendar format using te default save options
filePath
- A file pathcom.aspose.ms.System.ArgumentException
- filePath
is null
or empty
public final void save(String filePath, int saveFormat)
Saves calendar object to the file with specified format using te default save options
filePath
- A file pathsaveFormat
- A save formatcom.aspose.ms.System.ArgumentException
- filePath
is null
or empty
com.aspose.ms.System.NotSupportedException
- The specified saveFormat
is not supportedpublic final void save(OutputStream stream)
Saves calendar object to the file with iCalendar format using te default save options
stream
- A stream to save tocom.aspose.ms.System.ArgumentNullException
- stream
is null
com.aspose.ms.System.NotSupportedException
- stream does not support writingpublic final void save(OutputStream stream, int saveFormat)
Saves calendar object to the stream with specified format using te default save options
stream
- A stream to save tosaveFormat
- A save formatcom.aspose.ms.System.ArgumentNullException
- stream
is null
com.aspose.ms.System.NotSupportedException
- The specified saveFormat
is not supportedcom.aspose.ms.System.NotSupportedException
- stream does not support writingpublic void dispose()
Releases all resources.
dispose
in interface com.aspose.ms.System.IDisposable
dispose
in class MapiMessageItemBase