com.aspose.email
Class MapiCalendar

java.lang.Object
  extended by com.aspose.email.MapiCalendar
All Implemented Interfaces:
IMapiMessageItem

public final class MapiCalendar
extends Object
implements IMapiMessageItem

Represents the mapi calendar object


Constructor Summary
MapiCalendar()
           Initializes a new instance of the MapiCalendar class
 
Method Summary
 boolean getAppointmentCounterProposal()
           Gets or sets a value indicating whether a Meeting Response object is a counter proposal.
 MapiCalendarAttendees getAttendees()
           Gets or sets the attendees
 String getBody()
           Gets message body
 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()
           
 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
 String getMessageClass()
           Gets message class
 MapiCalendarEventRecurrence getRecurrence()
           Gets or sets the recurrence properties
 int getRemainderDelta()
           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
 boolean getRemainderSet()
           Gets or sets a value indicating whether a reminder is set on the object
 int getSequence()
           Gets or sets the sequence number
 Date getStartDate()
           
 MapiCalendarTimeZone getStartDateTimeZone()
           Gets or sets time zone information that indicates the time zone of the StartDate property
 String getSubject()
           Gets message subject
 String getUid()
           Gets the unique identifier
 boolean isAllDay()
           Gets or sets a value indicating whether the event is an all-day event
 void isAllDay(boolean value)
           
 void save(OutputStream stream)
           
 void save(OutputStream stream, int saveFormat)
           
 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 setAppointmentCounterProposal(boolean value)
           
 void setAttendees(MapiCalendarAttendees value)
           
 void setBusyStatus(int value)
           
 void setClientIntent(int value)
           
 void setEndDate(Date value)
           
 void setEndDateTimeZone(MapiCalendarTimeZone value)
           
 void setKeyWords(String value)
           
 void setLocation(String value)
           
 void setRecurrence(MapiCalendarEventRecurrence value)
           
 void setRemainderDelta(int value)
           
 void setRemainderSet(boolean value)
           
 void setSequence(int value)
           
 void setStartDate(Date value)
           
 void setStartDateTimeZone(MapiCalendarTimeZone value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapiCalendar

public MapiCalendar()

Initializes a new instance of the MapiCalendar class

Method Detail

getMessageClass

public String getMessageClass()

Gets message class

Specified by:
getMessageClass in interface IMapiMessageItem

getBody

public String getBody()

Gets message body

Specified by:
getBody in interface IMapiMessageItem

getSubject

public String getSubject()

Gets message subject

Specified by:
getSubject in interface IMapiMessageItem

getRemainderDelta

public int getRemainderDelta()

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


setRemainderDelta

public void setRemainderDelta(int value)

getRemainderSet

public boolean getRemainderSet()

Gets or sets a value indicating whether a reminder is set on the object


setRemainderSet

public void setRemainderSet(boolean value)

getAppointmentCounterProposal

public boolean getAppointmentCounterProposal()

Gets or sets a value indicating whether a Meeting Response object is a counter proposal.


setAppointmentCounterProposal

public void setAppointmentCounterProposal(boolean value)

getClientIntent

public int getClientIntent()

Gets or sets the actions the user has taken on this Meeting object.


setClientIntent

public void setClientIntent(int value)

getStartDateTimeZone

public MapiCalendarTimeZone getStartDateTimeZone()

Gets or sets time zone information that indicates the time zone of the StartDate property


setStartDateTimeZone

public void setStartDateTimeZone(MapiCalendarTimeZone value)

getEndDateTimeZone

public MapiCalendarTimeZone getEndDateTimeZone()

Gets or sets time zone information that indicates the time zone of the EndDate property


setEndDateTimeZone

public void setEndDateTimeZone(MapiCalendarTimeZone value)

getAttendees

public MapiCalendarAttendees getAttendees()

Gets or sets the attendees


setAttendees

public void setAttendees(MapiCalendarAttendees value)

getRecurrence

public MapiCalendarEventRecurrence getRecurrence()

Gets or sets the recurrence properties


setRecurrence

public void setRecurrence(MapiCalendarEventRecurrence value)

isAllDay

public boolean isAllDay()

Gets or sets a value indicating whether the event is an all-day event


isAllDay

public void isAllDay(boolean value)

getKeyWords

public String getKeyWords()

Gets or sets the categories of the calendar object


setKeyWords

public void setKeyWords(String value)

getStartDate

public Date getStartDate()

setStartDate

public void setStartDate(Date value)

getEndDate

public Date getEndDate()

setEndDate

public void setEndDate(Date value)

getSequence

public int getSequence()

Gets or sets the sequence number


setSequence

public void setSequence(int value)

getBusyStatus

public int getBusyStatus()

Gets or sets the busy status


setBusyStatus

public void setBusyStatus(int value)

getLocation

public String getLocation()

Gets or sets the location of the event


setLocation

public void setLocation(String value)

getUid

public String getUid()

Gets the unique identifier


save

public void save(String filePath)

Saves calendar object to the file with iCalendar format using te default save options

Parameters:
filePath - A file path
Throws:
com.aspose.ms.System.IllegalArgumentException - filePath is null or empty

save

public void save(String filePath,
                 int saveFormat)

Saves calendar object to the file with specified format using te default save options

Parameters:
filePath - A file path
saveFormat - A save format
Throws:
com.aspose.ms.System.IllegalArgumentException - filePath is null or empty
UnsupportedOperationException - The specified saveFormat is not supported

save

public void save(OutputStream stream)

save

public void save(OutputStream stream,
                 int saveFormat)


Copyright (c) 2002-2012 Aspose Pty Ltd. All Rights Reserved.