MapiJournal

Inheritance: java.lang.Object, com.aspose.email.MapiPropertyContainer, com.aspose.email.MapiMessageItemBase

public final class MapiJournal extends MapiMessageItemBase

Represents the Outlook Journal object.

Constructors

Constructor Description
MapiJournal() Initializes a new instance of the MapiJournal class.
MapiJournal(String subject, String body, String description, String briefDescription) Initializes a new instance of the MapiJournal class.

Methods

Method Description
getBriefDescription() Gets or sets the brief description of activity that is being recorded.
setBriefDescription(String value) Gets or sets the brief description of activity that is being recorded.
getDescription() Gets or sets the description of activity that is being recorded.
setDescription(String value) Gets or sets the description of activity that is being recorded.
getStartTime() Gets or sets the time at which the activity began.
setStartTime(Date value) Gets or sets the time at which the activity began.
getEndTime() Gets or sets the time at which the activity ended.
setEndTime(Date value) Gets or sets the time at which the activity ended.
getDuration() Gets the duration of the activity.
getDocumentStatus() Gets or sets the status of document.
setDocumentStatus(int value) Gets or sets the status of document.
getFlags() Gets or sets a flags that contains metadata about the Journal object.
setFlags(int value) Gets or sets a flags that contains metadata about the Journal object.
save(String fileName) Saves the specified file name.
save(OutputStream stream) Saves the specified stream.

MapiJournal()

public MapiJournal()

Initializes a new instance of the MapiJournal class.

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

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

Initializes a new instance of the MapiJournal class.

Parameters:

Parameter Type Description
subject java.lang.String The subject.
body java.lang.String The message body.
description java.lang.String The description.
briefDescription java.lang.String The brief description.

getBriefDescription()

public final String getBriefDescription()

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

Value: The string that represents activity.

Returns: java.lang.String

setBriefDescription(String value)

public final void setBriefDescription(String value)

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

Value: The string that represents activity.

Parameters:

Parameter Type Description
value java.lang.String

getDescription()

public final String getDescription()

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

Value: The string that represents activity.

Returns: java.lang.String

setDescription(String value)

public final void setDescription(String value)

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

Value: The string that represents activity.

Parameters:

Parameter Type Description
value java.lang.String

getStartTime()

public final Date getStartTime()

Gets or sets the time at which the activity began.

Returns: java.util.Date

setStartTime(Date value)

public final void setStartTime(Date value)

Gets or sets the time at which the activity began.

Parameters:

Parameter Type Description
value java.util.Date

getEndTime()

public final Date getEndTime()

Gets or sets the time at which the activity ended.

Returns: java.util.Date

setEndTime(Date value)

public final void setEndTime(Date value)

Gets or sets the time at which the activity ended.

Parameters:

Parameter Type Description
value java.util.Date

getDuration()

public final double getDuration()

Gets the duration of the activity.

Value: The value that represents duration of the activity.

Returns: double

getDocumentStatus()

public final int getDocumentStatus()

Gets or sets the status of document.

Value: The document status.

Returns: int

setDocumentStatus(int value)

public final void setDocumentStatus(int value)

Gets or sets the status of document.

Value: The document status.

Parameters:

Parameter Type Description
value int

getFlags()

public final int getFlags()

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

Value: The journal flags.

Returns: int

setFlags(int value)

public final void setFlags(int value)

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

Value: The journal flags.

Parameters:

Parameter Type Description
value int

save(String fileName)

public final void save(String fileName)

Saves the specified file name.

Parameters:

Parameter Type Description
fileName java.lang.String Name of the file.

save(OutputStream stream)

public final void save(OutputStream stream)

Saves the specified stream.

Parameters:

Parameter Type Description
stream java.io.OutputStream The stream.