public class TaskData extends java.lang.Object implements ITaskData
Constructor and Description |
---|
TaskData() |
Modifier and Type | Method and Description |
---|---|
void |
addRecipient(IRecipient recipient) |
java.lang.String |
getBody()
Returns the textual body of the task
|
java.util.Date |
getDueDate()
Returns the due date of the task
|
java.lang.String |
getId()
Returns the external identifier
|
java.util.Date |
getLastModifiedTime()
Informs at what time the task data where last modified.
|
long |
getLastModifiedTimeInMillis()
Return the last modified time in Java styled milliseconds
|
int |
getPercentComplete()
Return the percentual completeness of the task
|
int |
getPriority()
Return the priority of the task (should be one of the priority constants defined in the ITaskManager interface)
|
IRecipient[] |
getRecipients()
Returns all the receivers of the task
|
java.util.Date |
getStartDate()
Returns the start date of the task
|
java.lang.String |
getSubject()
Returns the subject of the task
|
boolean |
hasAttachments()
Returns if there are any attachments
|
boolean |
hasRecipients()
Informs if the task contains any receivers
|
void |
setBody(java.lang.String string) |
void |
setDueDate(java.util.Date date) |
void |
setHasAttachments(boolean hasAttachments) |
void |
setId(java.lang.String string)
Sets the external identifier
|
void |
setLastModifiedTime(java.util.Date date) |
void |
setPercentComplete(int percentComplete) |
void |
setPriority(int priority) |
void |
setStartDate(java.util.Date startDate) |
void |
setSubject(java.lang.String string) |
public int getPriority()
ITaskData
getPriority
in interface ITaskData
public void setPriority(int priority)
public java.lang.String getId()
IExternalData
getId
in interface IExternalData
public void setId(java.lang.String string)
IExternalData
setId
in interface IExternalData
string
- external identifierpublic int getPercentComplete()
ITaskData
getPercentComplete
in interface ITaskData
public void setPercentComplete(int percentComplete)
public IRecipient[] getRecipients()
ITaskData
getRecipients
in interface ITaskData
public void addRecipient(IRecipient recipient)
public boolean hasRecipients()
ITaskData
hasRecipients
in interface ITaskData
public java.lang.String getBody()
ITaskData
public java.util.Date getDueDate()
ITaskData
getDueDate
in interface ITaskData
public java.lang.String getSubject()
ITaskData
getSubject
in interface ITaskData
public void setBody(java.lang.String string)
public java.util.Date getStartDate()
ITaskData
getStartDate
in interface ITaskData
public void setStartDate(java.util.Date startDate)
public void setDueDate(java.util.Date date)
public void setSubject(java.lang.String string)
public long getLastModifiedTimeInMillis()
ITaskData
getLastModifiedTimeInMillis
in interface ITaskData
public java.util.Date getLastModifiedTime()
ITaskData
getLastModifiedTime
in interface ITaskData
public boolean hasAttachments()
ITaskData
hasAttachments
in interface ITaskData
public void setHasAttachments(boolean hasAttachments)
public void setLastModifiedTime(java.util.Date date)