com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class MapiJournal

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


    public final class MapiJournal
    extends MapiMessageItemBase

    Represents the Outlook Journal object.

    • Constructor Detail

      • MapiJournal

        public MapiJournal()

        Initializes a new instance of the MapiJournal class.

      • MapiJournal

        public MapiJournal(String subject,
                   String body,
                   String description,
                   String briefDescription)

        Initializes a new instance of the MapiJournal class.

        Parameters:
        subject - The subject.
        body - The message body.
        description - The description.
        briefDescription - The brief description.
    • Method Detail

      • getBriefDescription

        public final String getBriefDescription()

        Gets or sets the brief description of activity that is being recorded.

        Value: The string that represents activity.
      • setBriefDescription

        public final void setBriefDescription(String value)

        Gets or sets the brief description of activity that is being recorded.

        Value: The string that represents activity.
      • getDescription

        public final String getDescription()

        Gets or sets the description of activity that is being recorded.

        Value: The string that represents activity.
      • setDescription

        public final void setDescription(String value)

        Gets or sets the description of activity that is being recorded.

        Value: The string that represents activity.
      • getStartTime

        public final Date getStartTime()

        Gets or sets the time at which the activity began.

        Throws:
        com.aspose.ms.System.ArgumentException - trows when start time is less than end time. Value: The value that represents time at which the activity began.
      • setStartTime

        public final void setStartTime(Date value)

        Gets or sets the time at which the activity began.

        Throws:
        com.aspose.ms.System.ArgumentException - trows when start time is less than end time. Value: The value that represents time at which the activity began.
      • getEndTime

        public final Date getEndTime()

        Gets or sets the time at which the activity ended.

        Throws:
        com.aspose.ms.System.ArgumentException - trows when start time is less than end time. Value: The value that represents time at which the activity ended.
      • setEndTime

        public final void setEndTime(Date value)

        Gets or sets the time at which the activity ended.

        Throws:
        com.aspose.ms.System.ArgumentException - trows when start time is less than end time. Value: The value that represents time at which the activity ended.
      • getDuration

        public final double getDuration()

        Gets the duration of the activity.

        Value: The value that represents duration of the activity.
      • getDocumentStatus

        public final int getDocumentStatus()

        Gets or sets the status of document.

        Value: The document status.
      • setDocumentStatus

        public final void setDocumentStatus(int value)

        Gets or sets the status of document.

        Value: The document status.
      • getFlags

        public final int getFlags()

        Gets or sets a flags that contains metadata about the Journal object.

        Value: The journal flags.
      • setFlags

        public final void setFlags(int value)

        Gets or sets a flags that contains metadata about the Journal object.

        Value: The journal flags.
      • save

        public final void save(String fileName)

        Saves the specified file name.

        Parameters:
        fileName - Name of the file.
      • save

        public final void save(OutputStream stream)

        Saves the specified stream.

        Parameters:
        stream - The stream.