public class Task extends Object implements com.aspose.ms.System.IDisposable
Represents the exchange task information.
Modifier and Type | Field and Description |
---|---|
protected AttachmentCollection |
attachmentsfield
A collection of file attached to the task.
|
protected MailAddressCollection |
attendeesfield
Task attendees
|
protected String |
bodyfield
A task body.
|
protected com.aspose.ms.System.DateTime |
dueDatefield
A date when the task is due.
|
protected int |
methodfield
The iTIP methods associated with an task.
|
protected MailAddress |
organizerfield
Task organizer
|
protected float |
percentCompletefield
A pecent of task completion.
|
protected int |
priorityfield
A task priority.
|
protected String |
relatedTofield
A related UID.
|
protected int |
sequeneIdfield
The sequence id.
|
protected com.aspose.ms.System.DateTime |
startDatefield
A start date of task.
|
protected String |
subjectfield
A task subject.
|
protected String |
uidfield
Unique identifier
|
Constructor and Description |
---|
Task() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
|
AttachmentCollection |
getAttachments()
Gets or sets a collection of file attached to the task.
|
MailAddressCollection |
getAttendees()
Gets or sets the attendees.
|
String |
getBody()
Gets or sets a task body.
|
Date |
getDueDate()
Gets or sets the date by which the user expects work on the task to be complete.
|
int |
getMethod()
Gets or sets iTIP methods associated with an task.
|
MailAddress |
getOrganizer()
Gets or sets the organizer.
|
float |
getPercentComplete()
Gets or sets a pecent of task completion.
|
int |
getPriority()
Gets or sets a task priority.
|
String |
getRelatedTo()
Gets or sets a related UID
|
int |
getSequenceId()
Gets or sets the sequence id.
|
Date |
getStartDate()
Gets or sets a start date of task.
|
String |
getSubject()
Gets or sets a task subject.
|
String |
getUniqueId()
Gets or sets unique identifier
|
AlternateView |
request()
Requests the object.
|
void |
save(OutputStream stream)
Saves current object to the given stream using MSG format.
|
void |
save(OutputStream stream,
int saveFormat)
Saves current object to the given stream using specified format.
|
void |
save(String filePath)
Saves current object into file using MSG format.
|
void |
save(String filePath,
int saveFormat)
Saves current object into file using specified format.
|
void |
setAttachments(AttachmentCollection value)
Gets or sets a collection of file attached to the task.
|
void |
setAttendees(MailAddressCollection value)
Gets or sets the attendees.
|
void |
setBody(String value)
Gets or sets a task body.
|
void |
setDueDate(Date value)
Gets or sets the date by which the user expects work on the task to be complete.
|
void |
setMethod(int value)
Gets or sets iTIP methods associated with an task.
|
void |
setOrganizer(MailAddress value)
Gets or sets the organizer.
|
void |
setPercentComplete(float value)
Gets or sets a pecent of task completion.
|
void |
setPriority(int value)
Gets or sets a task priority.
|
void |
setRelatedTo(String value)
Gets or sets a related UID
|
void |
setSequenceId(int value)
Gets or sets the sequence id.
|
void |
setStartDate(Date value)
Gets or sets a start date of task.
|
void |
setSubject(String value)
Gets or sets a task subject.
|
void |
setUniqueId(String value)
Gets or sets unique identifier
|
protected String relatedTofield
A related UID.
protected String subjectfield
A task subject.
protected com.aspose.ms.System.DateTime startDatefield
A start date of task.
protected com.aspose.ms.System.DateTime dueDatefield
A date when the task is due.
protected int priorityfield
A task priority.
protected float percentCompletefield
A pecent of task completion.
protected String bodyfield
A task body.
protected String uidfield
Unique identifier
protected int sequeneIdfield
The sequence id.
protected MailAddressCollection attendeesfield
Task attendees
protected MailAddress organizerfield
Task organizer
protected int methodfield
The iTIP methods associated with an task.
protected AttachmentCollection attachmentsfield
A collection of file attached to the task.
public final String getRelatedTo()
Gets or sets a related UID
public final void setRelatedTo(String value)
Gets or sets a related UID
public final String getSubject()
Gets or sets a task subject.
public final void setSubject(String value)
Gets or sets a task subject.
public final Date getStartDate()
Gets or sets a start date of task.
public final void setStartDate(Date value)
Gets or sets a start date of task.
public final Date getDueDate()
Gets or sets the date by which the user expects work on the task to be complete.
public final void setDueDate(Date value)
Gets or sets the date by which the user expects work on the task to be complete.
public final int getPriority()
Gets or sets a task priority.
public final void setPriority(int value)
Gets or sets a task priority.
public final float getPercentComplete()
Gets or sets a pecent of task completion.
public final void setPercentComplete(float value)
Gets or sets a pecent of task completion.
public final String getBody()
Gets or sets a task body.
public final void setBody(String value)
Gets or sets a task body.
public final String getUniqueId()
Gets or sets unique identifier
public final void setUniqueId(String value)
Gets or sets unique identifier
public final int getSequenceId()
Gets or sets the sequence id.
Value: The sequence id.public final void setSequenceId(int value)
Gets or sets the sequence id.
Value: The sequence id.public final MailAddressCollection getAttendees()
Gets or sets the attendees.
public final void setAttendees(MailAddressCollection value)
Gets or sets the attendees.
public final MailAddress getOrganizer()
Gets or sets the organizer.
public final void setOrganizer(MailAddress value)
Gets or sets the organizer.
public final int getMethod()
Gets or sets iTIP methods associated with an task.
public final void setMethod(int value)
Gets or sets iTIP methods associated with an task.
public final AttachmentCollection getAttachments()
Gets or sets a collection of file attached to the task.
public final void setAttachments(AttachmentCollection value)
Gets or sets a collection of file attached to the task.
public final AlternateView request()
Requests the object.
AlternateView
that represents the format to view an email message.public void dispose()
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose
in interface com.aspose.ms.System.IDisposable
public void save(OutputStream stream)
Saves current object to the given stream using MSG format.
stream
- A stream to save to.public void save(OutputStream stream, int saveFormat)
Saves current object to the given stream using specified format.
stream
- A stream to save to.saveFormat
- A save format.public void save(String filePath)
Saves current object into file using MSG format.
filePath
- A file name.public void save(String filePath, int saveFormat)
Saves current object into file using specified format.
filePath
- A file name.saveFormat
- A save format.