public class Task extends Item
| Constructor and Description |
|---|
Task()
Initializes a new instance of the Task class.
|
Task(MimeContent mimeContent)
Initializes a new instance of the Task class.
|
Task(java.lang.String subject)
Initializes a new instance of the Task class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getActualWork()
Gets the actual amount of time that is spent on a task.
|
java.util.Date |
getAssignedTime()
Gets the time when a task is assigned to a contact.
|
java.lang.String |
getBillingInformation()
Sets the time when a task is assigned to a contact.
|
int |
getChangeCount()
Gets the version of the task.
|
java.util.Date |
getCommonEndDate()
Gets the common end date.
|
java.util.Date |
getCommonStartDate()
Gets the common start date.
|
java.util.List<java.lang.String> |
getCompanies()
Gets the collection of companies that are associated with a contact or task.
|
java.util.Date |
getCompleteDate()
Gets the date on which a task is completed.
|
java.util.List<java.lang.String> |
getContacts()
Gets a list of contacts that are associated with a task.
|
TaskDelegateState |
getDelegationState()
Gets the status of a delegated task.
|
java.lang.String |
getDelegator()
Gets the name of the delegator who assigned the task.
|
java.util.Date |
getDueDate()
Gets the date when a task item is due.
|
java.lang.String |
getMileage()
Gets the mileage.
|
java.lang.String |
getOwner()
Gets the owner of a task.
|
double |
getPercentComplete()
Gets the completion status of a task.
|
Priority |
getPriority()
Gets the task's priority status.
|
TaskRecurrence |
getRecurrence()
Gets recurrence information for recurring tasks.
|
boolean |
getReminderOverrideDefault()
Gets true if the reminder overrides the default reminder behavior for the task.
|
boolean |
getReminderPlaySound()
Gets true if the reminder should play a sound when it occurs for this task.
|
java.lang.String |
getReminderSoundFile()
Gets a String indicating the path and file name of the sound file to play when the reminder occurs for the task.
|
java.util.Date |
getReminderTime()
Gets a Date indicating the date and time at which the reminder should occur for the specified item.
|
java.util.Date |
getStartDate()
Gets the start date of a task item.
|
TaskStatus |
getStatus()
Gets the status of a task item.
|
java.lang.String |
getStatusDescription()
Gets an explanation of the task status.
|
int |
getTotalWork()
Gets a description of how much work is associated with an item.
|
boolean |
isAssignmentEditable()
Gets whether the task is editable or not.
|
boolean |
isComplete()
Gets whether the task has been completed or not.
|
boolean |
isPrivate()
Gets whether the task item is private.
|
boolean |
isRecurring()
Gets whether a task is part of a recurring item.
|
boolean |
isTeamTask()
Gets whether the task is owned by a team or not.
|
void |
setActualWork(int actualWork)
Sets the actual amount of time that is spent on a task.
|
void |
setBillingInformation(java.lang.String billingInformation)
Sets billing information for a task.
|
void |
setCommonEndDate(java.util.Date commonEndDate)
Sets the common end date.
|
void |
setCommonStartDate(java.util.Date commonStartDate)
Sets the common start date.
|
void |
setCompanies(java.util.List<java.lang.String> companies)
Sets the collection of companies that are associated with a contact or task.
|
void |
setComplete(boolean isComplete)
Sets whether the task has been completed or not.
|
void |
setCompleteDate(java.util.Date completeDate)
Sets the date on which a task is completed.
|
void |
setContacts(java.util.List<java.lang.String> contacts)
Sets a list of contacts that are associated with a task.
|
void |
setDueDate(java.util.Date dueDate)
Sets the date when a task item is due.
|
void |
setMileage(java.lang.String mileage)
Gets mileage for a task item.
|
void |
setOwner(java.lang.String owner)
Sets the owner of a task.
|
void |
setPercentComplete(double percentComplete)
Sets the completion status of a task.
|
void |
setPriority(Priority priority)
Sets the task's priority status.
|
void |
setPrivate(boolean isPrivate)
Sets whether the task item is private.
|
void |
setRecurrence(TaskRecurrence recurrence)
Sets recurrence information for recurring tasks.
|
void |
setRecurring(boolean isRecurring)
Sets whether a task is part of a recurring item.
|
void |
setReminderOverrideDefault(boolean reminderOverrideDefault)
Sets true if the reminder overrides the default reminder behavior for the task.
|
void |
setReminderPlaySound(boolean reminderPlaySound)
Sets true if the reminder should play a sound when it occurs for this task.
|
void |
setReminderSoundFile(java.lang.String reminderSoundFile)
Sets a String indicating the path and file name of the sound file to play when the reminder occurs for the task.
|
void |
setReminderTime(java.util.Date reminderTime)
Sets a Date indicating the date and time at which the reminder should occur for the specified item.
|
void |
setStartDate(java.util.Date startDate)
Sets the start date of a task item.
|
void |
setStatus(TaskStatus status)
Sets the status of a task item.
|
void |
setTeamTask(boolean isTeamTask)
Sets whether the task is owned by a team or not.
|
void |
setTotalWork(int totalWork)
Sets a description of how much work is associated with an item.
|
java.lang.String |
toString()
Converts the value of the current Task object to its equivalent string representation.
|
getArchiveTag, getAttachments, getBody, getBodyHtmlText, getBodyPlainText, getBodyRtf, getCategories, getComment, getConversationId, getCreatedTime, getCulture, getDisplayName, getEffectiveRights, getEntityExtractionResult, getEntryId, getExtendedProperties, getExtendedProperty, getFlag, getGroupingAction, getIconIndex, getImportance, getInstanceKey, getItemClass, getItemId, getLastModifiedTime, getLastModifierName, getMimeContent, getNextPredictedAction, getParentId, getPreview, getReminderDueBy, getReminderIsSet, getReminderMinutesBeforeStart, getRetentionDate, getRetentionTag, getRtfCompressed, getSearchKey, getSensitivity, getSize, getStoreEntryId, getSubject, getTextBody, getUniqueBody, getWebClientEditFormQueryString, getWebClientReadFormQueryString, hasAttachments, hasBlockedImages, isAssociated, isBlockStatus, isHidden, setArchiveTag, setBody, setBodyRtf, setCategories, setComment, setDisplayName, setEffectiveRights, setFlag, setHidden, setImportance, setItemClass, setMimeContent, setReminderDueBy, setReminderIsSet, setReminderMinutesBeforeStart, setRetentionDate, setRetentionTag, setRtfCompressed, setSensitivity, setSubjectpublic Task()
public Task(java.lang.String subject)
subject - the subjectpublic Task(MimeContent mimeContent)
mimeContent - the mime contentpublic java.lang.String toString()
public int getActualWork()
public void setActualWork(int actualWork)
actualWork - the new actual workpublic java.util.Date getAssignedTime()
public java.lang.String getBillingInformation()
public void setBillingInformation(java.lang.String billingInformation)
billingInformation - the new billing informationpublic int getChangeCount()
public java.util.List<java.lang.String> getCompanies()
public void setCompanies(java.util.List<java.lang.String> companies)
companies - the new companiespublic java.util.Date getCompleteDate()
public void setCompleteDate(java.util.Date completeDate)
completeDate - the new complete datepublic java.util.List<java.lang.String> getContacts()
public void setContacts(java.util.List<java.lang.String> contacts)
contacts - the new contactspublic TaskDelegateState getDelegationState()
public java.lang.String getDelegator()
public java.util.Date getDueDate()
public void setDueDate(java.util.Date dueDate)
dueDate - the new due datepublic boolean isAssignmentEditable()
public boolean isComplete()
public void setComplete(boolean isComplete)
isComplete - the new completepublic boolean isRecurring()
public void setRecurring(boolean isRecurring)
isRecurring - the new recurringpublic boolean isTeamTask()
public void setTeamTask(boolean isTeamTask)
isTeamTask - the new team taskpublic java.lang.String getMileage()
public void setMileage(java.lang.String mileage)
mileage - the new mileagepublic java.lang.String getOwner()
public void setOwner(java.lang.String owner)
owner - the new ownerpublic double getPercentComplete()
public void setPercentComplete(double percentComplete)
percentComplete - the new percent completepublic TaskRecurrence getRecurrence()
public void setRecurrence(TaskRecurrence recurrence)
recurrence - the new recurrencepublic java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate - the new start datepublic TaskStatus getStatus()
public void setStatus(TaskStatus status)
status - the new statuspublic java.lang.String getStatusDescription()
public int getTotalWork()
public void setTotalWork(int totalWork)
totalWork - the new total workpublic boolean isPrivate()
public void setPrivate(boolean isPrivate)
isPrivate - the new privatepublic java.util.Date getCommonStartDate()
public void setCommonStartDate(java.util.Date commonStartDate)
commonStartDate - the new common start datepublic java.util.Date getCommonEndDate()
public void setCommonEndDate(java.util.Date commonEndDate)
commonEndDate - the new common end datepublic boolean getReminderOverrideDefault()
public void setReminderOverrideDefault(boolean reminderOverrideDefault)
reminderOverrideDefault - the new reminder override defaultpublic boolean getReminderPlaySound()
public void setReminderPlaySound(boolean reminderPlaySound)
reminderPlaySound - the new reminder play soundpublic java.lang.String getReminderSoundFile()
public void setReminderSoundFile(java.lang.String reminderSoundFile)
reminderSoundFile - the new reminder sound filepublic java.util.Date getReminderTime()
public void setReminderTime(java.util.Date reminderTime)
reminderTime - the new reminder timepublic Priority getPriority()
public void setPriority(Priority priority)
priority - the new priority