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 String getBriefDescription()

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

        Value: The string that represents activity.
        Returns:
        a String object.
      • setBriefDescription

        public void setBriefDescription(String value)

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

        Value: The string that represents activity.
        Parameters:
        value - a String object.
      • getDescription

        public String getDescription()

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

        Value: The string that represents activity.
        Returns:
        a String object.
      • setDescription

        public void setDescription(String value)

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

        Value: The string that represents activity.
        Parameters:
        value - a String object.
      • getStartTime

        public Date getStartTime()

        Gets or sets the time at which the activity began.

        Returns:
        a Date object.
        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 void setStartTime(Date value)

        Gets or sets the time at which the activity began.

        Parameters:
        value - a Date object.
        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 Date getEndTime()

        Gets or sets the time at which the activity ended.

        Returns:
        a Date object.
        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 void setEndTime(Date value)

        Gets or sets the time at which the activity ended.

        Parameters:
        value - a Date object.
        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 double getDuration()

        Gets the duration of the activity.

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

        public int getDocumentStatus()

        Gets or sets the status of document.

        Value: The document status.
        Returns:
        a int.
      • setDocumentStatus

        public void setDocumentStatus(int value)

        Gets or sets the status of document.

        Value: The document status.
        Parameters:
        value - a int.
      • getFlags

        public int getFlags()

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

        Value: The journal flags.
        Returns:
        a int.
      • setFlags

        public void setFlags(int value)

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

        Value: The journal flags.
        Parameters:
        value - a int.
      • save

        public void save(String fileName)

        Saves the specified file name.

        Parameters:
        fileName - Name of the file.
      • save

        public void save(OutputStream stream)

        Saves the specified stream.

        Parameters:
        stream - The stream.