com.aspose.email

com.aspose.email

Class 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
MapiCalendar(String location, String summary, String description, Date startDate, Date endDate)
MapiCalendar(String location, String summary, String description, Date startDate, Date endDate, String organizer, MapiRecipientCollection attendees)
 
Method Summary
boolean
getAppointmentCounterProposal()
Gets or sets a value indicating whether a Meeting Response object is a counter proposal.
getAttendees()
Gets or sets the attendees
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.
getEndDateTimeZone()
Gets or sets time zone information that indicates the time zone of the EndDate property
getKeyWords()
Gets or sets the categories of the calendar object
getLocation()
Gets or sets the location of the event
getMessageClass()
Gets message class
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
getStartDateTimeZone()
Gets or sets time zone information that indicates the time zone of the StartDate property
getSubject()
Gets message subject
getUid()
Gets the unique identifier
boolean
isAllDay()
Gets or sets a value indicating whether the event is an all-day event
void
isAllDay(booleanvalue)
void
save(OutputStream stream)
void
save(OutputStream stream, intsaveFormat)
void
save(String filePath)
Saves calendar object to the file with iCalendar format using te default save options
void
save(String filePath, intsaveFormat)
Saves calendar object to the file with specified format using te default save options
void
void
void
setBusyStatus(intvalue)
void
setClientIntent(intvalue)
void
setEndDate(Date value)
void
void
void
void
void
void
setRemainderSet(booleanvalue)
void
setSequence(intvalue)
void
void
 
Methods inherited from class java.lang.Object
 

    • Method Detail

      • 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

      • getEndDateTimeZone

        public MapiCalendarTimeZone getEndDateTimeZone()

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

      • 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.email.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.email.ms.System.IllegalArgumentException - filePath is null or empty
        UnsupportedOperationException - The specified saveFormat is not supported
      • save

        public void save(OutputStream stream,
                         int saveFormat)