ExchangeTask

Inheritance: java.lang.Object, com.aspose.email.Task

public final class ExchangeTask extends Task

Represents the exchange task information.

Constructors

Constructor Description
ExchangeTask() Initializes a new instance of the ExchangeTask class.

Methods

Method Description
getStatus() Gets or sets a task status.
setStatus(int value) Gets or sets a task status.
getTotalWork() Gets or sets a total amount of work that the user expects to work on a task.
setTotalWork(int value) Gets or sets a total amount of work that the user expects to work on a task.
getActualWork() Gets or sets an actual amount of time that is spent on a task (minutes).
setActualWork(int value) Gets or sets an actual amount of time that is spent on a task (minutes).
getMileage() Gets or sets a mileage for a task.
setMileage(String value) Gets or sets a mileage for a task.
getBillingInformation() Gets or sets a billing information for the task.
setBillingInformation(String value) Gets or sets a billing information for the task.
getCompanies() Gets or sets a collection of companies that are associated with a task.
setCompanies(System.Collections.Specialized.StringCollection value) Gets or sets a collection of companies that are associated with a task.
getRecurrencePattern() Gets or sets a recurrence information for a recurring task.
setRecurrencePattern(RecurrencePattern value) Gets or sets a recurrence information for a recurring task.
getReminderDate() Gets or sets a task reminder date.
setReminderDate(Date value) Gets or sets a task reminder date.
isBodyHtml() Gets or sets a value indicating whether the task body is html-formatted.
setBodyHtml(boolean value) Gets or sets a value indicating whether the task body is html-formatted.
getCompletionDate() Gets or sets the date when the user completed work on the task.
setCompletionDate(Date value) Gets or sets the date when the user completed work on the task.
getUniqueUri() Gets or sets an unique uri of the task.
setUniqueUri(String value) Gets or sets an unique uri of the task.
save(OutputStream stream, int saveFormat) Saves current object to the given stream using specified format.
save(String filePath, int saveFormat) Saves current object into file using specified format.

ExchangeTask()

public ExchangeTask()

Initializes a new instance of the ExchangeTask class.

getStatus()

public final int getStatus()

Gets or sets a task status.

Returns: int

setStatus(int value)

public final void setStatus(int value)

Gets or sets a task status.

Parameters:

Parameter Type Description
value int

getTotalWork()

public final int getTotalWork()

Gets or sets a total amount of work that the user expects to work on a task.

Returns: int

setTotalWork(int value)

public final void setTotalWork(int value)

Gets or sets a total amount of work that the user expects to work on a task.

Parameters:

Parameter Type Description
value int

getActualWork()

public final int getActualWork()

Gets or sets an actual amount of time that is spent on a task (minutes).

Returns: int

setActualWork(int value)

public final void setActualWork(int value)

Gets or sets an actual amount of time that is spent on a task (minutes).

Parameters:

Parameter Type Description
value int

getMileage()

public final String getMileage()

Gets or sets a mileage for a task.

Returns: java.lang.String

setMileage(String value)

public final void setMileage(String value)

Gets or sets a mileage for a task.

Parameters:

Parameter Type Description
value java.lang.String

getBillingInformation()

public final String getBillingInformation()

Gets or sets a billing information for the task.

Returns: java.lang.String

setBillingInformation(String value)

public final void setBillingInformation(String value)

Gets or sets a billing information for the task.

Parameters:

Parameter Type Description
value java.lang.String

getCompanies()

public final System.Collections.Specialized.StringCollection getCompanies()

Gets or sets a collection of companies that are associated with a task.

Returns: com.aspose.ms.System.Collections.Specialized.StringCollection

setCompanies(System.Collections.Specialized.StringCollection value)

public final void setCompanies(System.Collections.Specialized.StringCollection value)

Gets or sets a collection of companies that are associated with a task.

Parameters:

Parameter Type Description
value com.aspose.ms.System.Collections.Specialized.StringCollection

getRecurrencePattern()

public final RecurrencePattern getRecurrencePattern()

Gets or sets a recurrence information for a recurring task.

Returns: RecurrencePattern

setRecurrencePattern(RecurrencePattern value)

public final void setRecurrencePattern(RecurrencePattern value)

Gets or sets a recurrence information for a recurring task.

Parameters:

Parameter Type Description
value RecurrencePattern

getReminderDate()

public final Date getReminderDate()

Gets or sets a task reminder date.

Returns: java.util.Date

setReminderDate(Date value)

public final void setReminderDate(Date value)

Gets or sets a task reminder date.

Parameters:

Parameter Type Description
value java.util.Date

isBodyHtml()

public final boolean isBodyHtml()

Gets or sets a value indicating whether the task body is html-formatted.

Returns: boolean

setBodyHtml(boolean value)

public final void setBodyHtml(boolean value)

Gets or sets a value indicating whether the task body is html-formatted.

Parameters:

Parameter Type Description
value boolean

getCompletionDate()

public final Date getCompletionDate()

Gets or sets the date when the user completed work on the task.

Returns: java.util.Date

setCompletionDate(Date value)

public final void setCompletionDate(Date value)

Gets or sets the date when the user completed work on the task.

Parameters:

Parameter Type Description
value java.util.Date

getUniqueUri()

public final String getUniqueUri()

Gets or sets an unique uri of the task.

Returns: java.lang.String

setUniqueUri(String value)

public final void setUniqueUri(String value)

Gets or sets an unique uri of the task.

Parameters:

Parameter Type Description
value java.lang.String

save(OutputStream stream, int saveFormat)

public void save(OutputStream stream, int saveFormat)

Saves current object to the given stream using specified format.

Parameters:

Parameter Type Description
stream java.io.OutputStream A stream to save to.
saveFormat int A save format.

save(String filePath, int saveFormat)

public void save(String filePath, int saveFormat)

Saves current object into file using specified format.

Parameters:

Parameter Type Description
filePath java.lang.String A file name.
saveFormat int A save format.