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 String getRelatedTo()
Gets or sets a related UID
public void setRelatedTo(String value)
Gets or sets a related UID
public String getSubject()
Gets or sets a task subject.
public void setSubject(String value)
Gets or sets a task subject.
public Date getStartDate()
Gets or sets a start date of task.
public void setStartDate(Date value)
Gets or sets a start date of task.
public Date getDueDate()
Gets or sets the date by which the user expects work on the task to be complete.
public void setDueDate(Date value)
Gets or sets the date by which the user expects work on the task to be complete.
public int getPriority()
Gets or sets a task priority.
public void setPriority(int value)
Gets or sets a task priority.
public float getPercentComplete()
Gets or sets a pecent of task completion.
public void setPercentComplete(float value)
Gets or sets a pecent of task completion.
public String getBody()
Gets or sets a task body.
public void setBody(String value)
Gets or sets a task body.
public String getUniqueId()
Gets or sets unique identifier
public void setUniqueId(String value)
Gets or sets unique identifier
public int getSequenceId()
Gets or sets the sequence id.
Value: The sequence id.public void setSequenceId(int value)
Gets or sets the sequence id.
Value: The sequence id.public MailAddressCollection getAttendees()
Gets or sets the attendees.
public void setAttendees(MailAddressCollection value)
Gets or sets the attendees.
public MailAddress getOrganizer()
Gets or sets the organizer.
public void setOrganizer(MailAddress value)
Gets or sets the organizer.
public int getMethod()
Gets or sets iTIP methods associated with an task.
public void setMethod(int value)
Gets or sets iTIP methods associated with an task.
public AttachmentCollection getAttachments()
Gets or sets a collection of file attached to the task.
public void setAttachments(AttachmentCollection value)
Gets or sets a collection of file attached to the task.
public 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.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.