com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class MapiCalendar

  • All Implemented Interfaces:
    IMapiMessageItem, com.aspose.ms.System.IDisposable


    public final class MapiCalendar
    extends MapiMessageItemBase

    Represents the mapi calendar object

    • Constructor Detail

      • MapiCalendar

        public MapiCalendar()

        Initializes a new instance of the MapiCalendar class

      • MapiCalendar

        public MapiCalendar(String location,
                    String summary,
                    String description,
                    Date startDate,
                    Date endDate)

        Initializes a new instance of the MapiCalendar class.

        Parameters:
        location - The appointment location.
        summary - The appointment summary.
        description - The appointment description.
        startDate - The start date.
        endDate - The end date.
      • MapiCalendar

        public MapiCalendar(String location,
                    String summary,
                    String description,
                    Date startDate,
                    Date endDate,
                    String organizer,
                    MapiRecipientCollection attendees)

        Initializes a new instance of the MapiCalendar class.

        Parameters:
        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.
    • Method Detail

      • getReminderDelta

        public 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

      • setReminderDelta

        public 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

      • getReminderSet

        public boolean getReminderSet()

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

      • setReminderSet

        public void setReminderSet(boolean value)

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

      • getReminderFileParameter

        public String getReminderFileParameter()

        Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.

      • setReminderFileParameter

        public void setReminderFileParameter(String value)

        Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.

      • 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)

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

      • getClientIntent

        public int getClientIntent()

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

      • setClientIntent

        public void setClientIntent(int value)

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

      • 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)

        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

      • setEndDateTimeZone

        public void setEndDateTimeZone(MapiCalendarTimeZone value)

        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

      • setAllDay

        public void setAllDay(boolean value)

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

      • getKeyWords

        public String getKeyWords()

        Gets or sets the categories of the calendar object

      • setKeyWords

        public void setKeyWords(String value)

        Gets or sets the categories of the calendar object

      • getStartDate

        public Date getStartDate()

        Gets or sets the start date and time of the event. If the date is not set, default value for DateTime is returned.

        Returns:
        a Date object.
      • setStartDate

        public void setStartDate(Date value)

        Gets or sets the start date and time of the event. If the date is not set, default value for DateTime is returned.

        Parameters:
        value - a Date object.
      • getEndDate

        public Date getEndDate()

        Gets or sets the end date and time of the event. If the date is not set, default value for DateTime is returned.

        Returns:
        a Date object.
      • setEndDate

        public void setEndDate(Date value)

        Gets or sets the end date and time of the event. If the date is not set, default value for DateTime is returned.

        Parameters:
        value - a Date object.
      • getSequence

        public int getSequence()

        Gets or sets the sequence number

      • setSequence

        public void setSequence(int value)

        Gets or sets the sequence number

      • getBusyStatus

        public int getBusyStatus()

        Gets or sets the busy status

      • setBusyStatus

        public void setBusyStatus(int value)

        Gets or sets the busy status

      • getLocation

        public String getLocation()

        Gets or sets the location of the event

      • setLocation

        public void setLocation(String value)

        Gets or sets the location of the event

      • 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.ArgumentException - 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.ArgumentException - filePath is null or empty
        com.aspose.ms.System.NotSupportedException - The specified saveFormat is not supported
      • save

        public void save(OutputStream stream)

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

        Parameters:
        stream - A stream to save to
        Throws:
        com.aspose.ms.System.ArgumentNullException - stream is null
        com.aspose.ms.System.NotSupportedException - stream does not support writing
      • save

        public void save(OutputStream stream,
                int saveFormat)

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

        Parameters:
        stream - A stream to save to
        saveFormat - A save format
        Throws:
        com.aspose.ms.System.ArgumentNullException - stream is null
        com.aspose.ms.System.NotSupportedException - The specified saveFormat is not supported
        com.aspose.ms.System.NotSupportedException - stream does not support writing
      • dispose

        public void dispose()

        Releases all resources.

        Specified by:
        dispose in interface com.aspose.ms.System.IDisposable
        Overrides:
        dispose in class MapiMessageItemBase