|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ServiceObject
microsoft.exchange.webservices.data.Item
microsoft.exchange.webservices.data.Task
public class Task
Represents a Task item. Properties available on tasks are defined in the TaskSchema class.
| Constructor Summary | |
|---|---|
|
Task(ExchangeService service)
* Initializes an unsaved local instance of Task.To bind to an existing task, use Task.Bind() instead. |
protected |
Task(ItemAttachment parentAttachment)
* Initializes a new instance of the class. |
| Method Summary | |
|---|---|
static Task |
bind(ExchangeService service,
ItemId id)
* Binds to an existing task and loads its first class properties. |
static Task |
bind(ExchangeService service,
ItemId id,
PropertySet propertySet)
* Binds to an existing task and loads the specified set of properties. |
void |
deleteCurrentOccurrence(DeleteMode deleteMode)
* Deletes the current occurrence of a recurring task. |
Integer |
getActualWork()
Gets the actual amount of time that is spent on the task. |
Date |
getAssignedTime()
Gets the date and time the task was assigned. |
String |
getBillingInformation()
Gets the billing information of the task. |
Integer |
getChangeCount()
Gets the number of times the task has changed since it was created. |
StringList |
getCompanies()
Gets a list of companies associated with the task. |
Date |
getCompleteDate()
Gets the date and time on which the task was completed. |
StringList |
getContacts()
Gets a list of contacts associated with the task. |
protected AffectedTaskOccurrence |
getDefaultAffectedTaskOccurrences()
Gets the default setting for how to treat affected task occurrences on Delete. |
TaskDelegationState |
getDelegationState()
Gets the current delegation state of the task. |
String |
getDelegator()
Gets the name of the delegator of this task. |
Date |
getDueDate()
Gets a list of contacts associated with the task. |
Boolean |
getIsComplete()
Gets a value indicating whether the task is complete. |
Boolean |
getIsRecurring()
Gets a value indicating whether the task is recurring. |
Boolean |
getIsTeamTask()
Gets a value indicating whether the task is a team task. |
protected boolean |
getIsTimeZoneHeaderRequired(boolean isUpdateOperation)
* Gets a value indicating whether a time zone SOAP header should be emitted in a CreateItem or UpdateItem request so this item can be property saved or updated. |
String |
getMileage()
Gets the mileage of the task. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the minimum required server version. |
TaskMode |
getMode()
Gets a value indicating the mode of the task. |
String |
getOwner()
Gets the name of the owner of the task. |
Double |
getPercentComplete()
Gets the completeion percentage of the task. |
Recurrence |
getRecurrence()
Gets the recurrence pattern for this task. |
protected ServiceObjectSchema |
getSchema()
Internal method to return the schema associated with this type of object. |
Date |
getStartDate()
Gets the date and time on which the task starts. |
TaskStatus |
getStatus()
Gets the status of the task. |
String |
getStatusDescription()
Gets a string representing the status of the task, localized according to the PreferredCulture property of the ExchangeService object the task is bound to. |
Integer |
getTotalWork()
Gets the total amount of work spent on the task. |
void |
setActualWork(Integer value)
Sets the checks if is read. |
void |
setBillingInformation(String value)
Sets the billing information. |
void |
setCompanies(StringList value)
Sets the companies. |
void |
setCompleteDate(Date value)
Sets the complete date. |
void |
setContacts(StringList value)
Sets the contacts. |
void |
setDueDate(Date value)
Sets the due date. |
void |
setMileage(String value)
Sets the mileage. |
void |
setPercentComplete(String value)
Sets the percent complete. |
void |
setRecurrence(Recurrence value)
Sets the recurrence. |
void |
setStartDate(Date value)
Sets the start date. |
void |
setStatus(TaskStatus value)
Sets the status. |
void |
setTotalWork(Integer value)
Sets the total work. |
Task |
updateTask(ConflictResolutionMode conflictResolutionMode)
* Applies the local changes that have been made to this task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Task(ExchangeService service)
throws Exception
service - the service
Exception - the exception
protected Task(ItemAttachment parentAttachment)
throws Exception
parentAttachment - the parent attachment
Exception - the exception| Method Detail |
|---|
public static Task bind(ExchangeService service,
ItemId id,
PropertySet propertySet)
throws Exception
service - the serviceid - the idpropertySet - the property set
Exception - the exception
public static Task bind(ExchangeService service,
ItemId id)
throws Exception
service - the serviceid - the id
Exception - the exceptionprotected ServiceObjectSchema getSchema()
getSchema in class Itemprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class Itemprotected boolean getIsTimeZoneHeaderRequired(boolean isUpdateOperation)
getIsTimeZoneHeaderRequired in class ServiceObjectisUpdateOperation - the is update operation
public void deleteCurrentOccurrence(DeleteMode deleteMode)
throws ServiceLocalException,
Exception
deleteMode - the delete mode
ServiceLocalException - the service local exception
Exception - the exception
public Task updateTask(ConflictResolutionMode conflictResolutionMode)
throws ServiceResponseException,
Exception
conflictResolutionMode - the conflict resolution mode
ServiceResponseException - the service response exception
Exception - the exception
public Integer getActualWork()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setActualWork(Integer value)
throws Exception
value - the new checks if is read
Exception - the exception
public Date getAssignedTime()
throws ServiceLocalException
ServiceLocalException - the service local exception
public String getBillingInformation()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setBillingInformation(String value)
throws Exception
value - the new billing information
Exception - the exception
public Integer getChangeCount()
throws ServiceLocalException
ServiceLocalException - the service local exception
public StringList getCompanies()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setCompanies(StringList value)
throws Exception
value - the new companies
Exception - the exception
public Date getCompleteDate()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setCompleteDate(Date value)
throws Exception
value - the new complete date
Exception - the exception
public StringList getContacts()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setContacts(StringList value)
throws Exception
value - the new contacts
Exception - the exception
public TaskDelegationState getDelegationState()
throws ServiceLocalException
ServiceLocalException - the service local exception
public String getDelegator()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Date getDueDate()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setDueDate(Date value)
throws Exception
value - the new due date
Exception - the exception
public TaskMode getMode()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Boolean getIsComplete()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Boolean getIsRecurring()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Boolean getIsTeamTask()
throws ServiceLocalException
ServiceLocalException - the service local exception
public String getMileage()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setMileage(String value)
throws Exception
value - the new mileage
Exception - the exception
public String getOwner()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Double getPercentComplete()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setPercentComplete(String value)
throws Exception
value - the new percent complete
Exception - the exception
public Recurrence getRecurrence()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setRecurrence(Recurrence value)
throws Exception
value - the new recurrence
Exception - the exception
public Date getStartDate()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setStartDate(Date value)
throws Exception
value - the new start date
Exception - the exception
public TaskStatus getStatus()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setStatus(TaskStatus value)
throws Exception
value - the new status
Exception - the exception
public String getStatusDescription()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Integer getTotalWork()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setTotalWork(Integer value)
throws Exception
value - the new total work
Exception - the exceptionprotected AffectedTaskOccurrence getDefaultAffectedTaskOccurrences()
getDefaultAffectedTaskOccurrences in class Item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||