|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExchangeTask
Represents a task stored in an Exchange folder.
A new task can be created with the method ExchangeFolder.createTask(). To save the new task to the folder, call the method save().
This class provides getter and setter methods to access or modify the task's properties.
ExchangeFolder.createTask()
,
ExchangeItem.save()
Method Summary | |
---|---|
void |
clearRecurrencePattern()
Clears the recurrence pattern of this item making it non-recurring. |
void |
delete(boolean moveToDeletedItems,
boolean deleteOnlyThisOccurrence)
Deletes this item. |
int |
getActualWork()
|
java.util.Date |
getAssignedTime()
|
java.lang.String |
getBillingInformation()
|
int |
getChangeCount()
|
java.util.List<java.lang.String> |
getCompanies()
|
java.util.Date |
getCompleteDate()
|
java.util.List<java.lang.String> |
getContacts()
|
TaskDelegateState |
getDelegationState()
|
java.lang.String |
getDelegator()
|
java.util.Date |
getDueDate()
|
java.lang.String |
getMileage()
|
java.lang.String |
getOwner()
|
double |
getPercentComplete()
|
TaskRecurrencePattern |
getRecurrencePattern()
Returns the recurrence pattern of this item. |
java.util.Date |
getStartDate()
|
TaskStatus |
getStatus()
|
java.lang.String |
getStatusDescription()
|
int |
getTaskType()
Returns the following task type values: 0 = The default for all task items. |
int |
getTotalWork()
|
boolean |
isComplete()
|
boolean |
isRecurring()
|
boolean |
isTeamTask()
|
void |
setActualWork(int actualWork)
|
void |
setBillingInformation(java.lang.String billingInformation)
|
void |
setCompanies(java.util.List<java.lang.String> companies)
|
void |
setCompleteDate(java.util.Date completeDate)
|
void |
setContacts(java.util.List<java.lang.String> contacts)
|
void |
setDelegator(java.lang.String delegator)
|
void |
setDueDate(java.util.Date dueDate)
|
void |
setIsRecurring(boolean isRecurring)
|
void |
setMileage(java.lang.String mileage)
|
void |
setPercentComplete(double percentComplete)
|
void |
setStartDate(java.util.Date startDate)
|
void |
setStatus(TaskStatus status)
|
void |
setStatusDescription(java.lang.String statusDescription)
|
void |
setTotalWork(int totalWork)
|
Method Detail |
---|
int getActualWork() throws ExchangeServiceException
ExchangeServiceException
void setActualWork(int actualWork) throws ExchangeServiceException
ExchangeServiceException
java.util.Date getAssignedTime() throws ExchangeServiceException
ExchangeServiceException
java.lang.String getBillingInformation() throws ExchangeServiceException
ExchangeServiceException
void setBillingInformation(java.lang.String billingInformation) throws ExchangeServiceException
ExchangeServiceException
int getChangeCount() throws ExchangeServiceException
ExchangeServiceException
java.util.List<java.lang.String> getCompanies() throws ExchangeServiceException
ExchangeServiceException
void setCompanies(java.util.List<java.lang.String> companies) throws ExchangeServiceException
ExchangeServiceException
java.util.Date getCompleteDate() throws ExchangeServiceException
ExchangeServiceException
void setCompleteDate(java.util.Date completeDate) throws ExchangeServiceException
ExchangeServiceException
java.util.List<java.lang.String> getContacts() throws ExchangeServiceException
ExchangeServiceException
void setContacts(java.util.List<java.lang.String> contacts) throws ExchangeServiceException
ExchangeServiceException
TaskDelegateState getDelegationState() throws ExchangeServiceException
ExchangeServiceException
java.lang.String getDelegator() throws ExchangeServiceException
ExchangeServiceException
void setDelegator(java.lang.String delegator) throws ExchangeServiceException
ExchangeServiceException
java.util.Date getDueDate() throws ExchangeServiceException
ExchangeServiceException
void setDueDate(java.util.Date dueDate) throws ExchangeServiceException
ExchangeServiceException
int getTaskType() throws ExchangeServiceException
0 = The default for all task items.
1 = A task request.
2 = A task acceptance from a recipient of a task request.
3 = A task declination from a recipient of a task request.
4 = An update to a previous task request.
5 = Not used.
ExchangeServiceException
boolean isComplete() throws ExchangeServiceException
ExchangeServiceException
boolean isRecurring() throws ExchangeServiceException
ExchangeServiceException
void setIsRecurring(boolean isRecurring) throws ExchangeServiceException
ExchangeServiceException
boolean isTeamTask() throws ExchangeServiceException
ExchangeServiceException
java.lang.String getMileage() throws ExchangeServiceException
ExchangeServiceException
void setMileage(java.lang.String mileage) throws ExchangeServiceException
ExchangeServiceException
java.lang.String getOwner() throws ExchangeServiceException
ExchangeServiceException
double getPercentComplete() throws ExchangeServiceException
ExchangeServiceException
void setPercentComplete(double percentComplete) throws ExchangeServiceException
ExchangeServiceException
void clearRecurrencePattern() throws ExchangeServiceException
ExchangeServiceException
- if any errors occur during the communication with Exchange.TaskRecurrencePattern getRecurrencePattern() throws ExchangeServiceException
ExchangeServiceException
- if any errors occur during the communication with Exchange.java.util.Date getStartDate() throws ExchangeServiceException
ExchangeServiceException
void setStartDate(java.util.Date startDate) throws ExchangeServiceException
ExchangeServiceException
TaskStatus getStatus() throws ExchangeServiceException
ExchangeServiceException
void setStatus(TaskStatus status) throws ExchangeServiceException
ExchangeServiceException
java.lang.String getStatusDescription() throws ExchangeServiceException
ExchangeServiceException
void setStatusDescription(java.lang.String statusDescription) throws ExchangeServiceException
ExchangeServiceException
int getTotalWork() throws ExchangeServiceException
ExchangeServiceException
void setTotalWork(int totalWork) throws ExchangeServiceException
ExchangeServiceException
void delete(boolean moveToDeletedItems, boolean deleteOnlyThisOccurrence) throws ExchangeServiceException
moveToDeletedItems
- specifies whether the item is simply moved to the Deleted Items folder or definitely deleted.deleteOnlyThisOccurrence
- specifies whether only this occurrence of a recurring task should be deleted, otherwise all occurrences will be deleted.
ExchangeServiceException
- if any errors occur during the communication with Exchange.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |