|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExchangeTask
The IExchangeTask
class represents a task in Exchange.
Tasks include regular tasks, recurring tasks, regenerative tasks,
and assigned tasks.
Field Summary | |
---|---|
static Key |
ACTUAL_WORK
Key that represents the actual work for a task. |
static Key |
ASSOCIATED_TASK_LINK
Represents the property that holds the link between a task and task requests / task notices. |
static Key |
BILLING_INFO
Key that represents the billing info for a task. |
static ItemClass |
CLASS
The ItemClass that represents an Exchange task. |
static Key |
COMPANIES
Key that represents the companies for a task. |
static Key |
DELEGATOR
Key that represents the total work for a task. |
static Key |
DUE_CALENDAR
Key that represents the due calendar for a task. |
static Key |
IS_COMPLETE
Key that represents the 'is complete' for a task. |
static Key |
IS_TEAM_TASK
Key that represents the 'is team task' for a task. |
static int |
KEYID_ACTUAL_WORK
The int ID for the ACTUAL_WORK key. |
static int |
KEYID_ASSOCIATED_TASK_LINK
The int ID for the ASSOCIATED_TASK_LINK key. |
static int |
KEYID_BILLING_INFO
The int ID for the BILLING_INFO key. |
static int |
KEYID_COMPANIES
The int ID for the COMPANIES key. |
static int |
KEYID_DELEGATOR
The int ID for the DELEGATOR key. |
static int |
KEYID_DUE_CALENDAR
The int ID for the DUE_CALENDAR key. |
static int |
KEYID_IS_COMPLETE
The int ID for the IS_COMPLETE key. |
static int |
KEYID_IS_TEAM_TASK
The int ID for the IS_TEAM_TASK key. |
static int |
KEYID_OWNER
The int ID for the OWNER key. |
static int |
KEYID_PERCENT_COMPLETE
The int ID for the ITask.PERCENT_COMPLETE key. |
static int |
KEYID_RECURRENCE_PATTERN
The int ID for the RECURRENCE_PATTERN key. |
static int |
KEYID_REMINDER_DATE
The int ID for the REMINDER_DATE key. |
static int |
KEYID_START_CALENDAR
The int ID for the START_CALENDAR key. |
static int |
KEYID_TOTAL_WORK
The int ID for the TOTAL_WORK key. |
static Key |
OWNER
Key that represents the total work for a task. |
static Key |
RECURRENCE_PATTERN
Key that represents the recurrence pattern for a task. |
static Key |
REMINDER_DATE
Key that represents the reminder date for a task. |
static Key |
START_CALENDAR
Key that represents the start calendar for a task. |
static Key |
TOTAL_WORK
Key that represents the total work for a task. |
Fields inherited from interface com.compoze.collab.groupware.ITask |
---|
DATE_COMPLETED, DUE_DATE, IS_RECURRING, KEYID_DATE_COMPLETED, KEYID_DUE_DATE, KEYID_IS_RECURRING, KEYID_START_DATE, KEYID_STATUS, PERCENT_COMPLETE, START_DATE, STATUS |
Fields inherited from interface com.compoze.collab.groupware.IGroupwareItem |
---|
CATEGORIES, DATE_CREATED, DATE_LAST_MODIFIED, IMPORTANCE, KEYID_CATEGORIES, KEYID_DATE_CREATED, KEYID_DATE_LAST_MODIFIED, KEYID_IMPORTANCE, KEYID_SIZE, KEYID_SUBJECT, SIZE, SUBJECT |
Fields inherited from interface com.compoze.collab.messaging.IMessagingItem |
---|
BODY, BODY_HTML, KEYID_BODY, KEYID_BODY_HTML |
Fields inherited from interface com.compoze.collab.IItem |
---|
ID, ITEM_CLASS, KEYID_ID, KEYID_ITEM_CLASS, KEYID_PARENT_ID, MINIMUM_ITEM_KEYS, PARENT_ID |
Fields inherited from interface com.compoze.collab.exchange.IExchangeItem |
---|
CONTACT_NAMES, CREATOR_ENTRYID, FLAG, FLAG_REMIND_BY, FLAG_TEXT, HAS_REMINDER, HIDE_ATTACHMENTS, ICON_INDEX, IS_HIDDEN, KEYID_CONTACT_NAMES, KEYID_CREATOR_ENTRYID, KEYID_FLAG, KEYID_FLAG_REMIND_BY, KEYID_FLAG_TEXT, KEYID_HAS_REMINDER, KEYID_HIDE_ATTACHMENTS, KEYID_ICON_INDEX, KEYID_IS_HIDDEN, KEYID_MILEAGE, KEYID_NORMALIZED_SUBJECT, KEYID_PRIORITY, KEYID_SENSITIVITY, KEYID_SUBJECT_PREFIX, MILEAGE, NORMALIZED_SUBJECT, PRIORITY, SENSITIVITY, SUBJECT_PREFIX |
Fields inherited from interface com.compoze.collab.IAttachmentSupport |
---|
ATTACHMENTS, HAS_ATTACHMENT, KEYID_ATTACHMENTS, KEYID_HAS_ATTACHMENT |
Method Summary | |
---|---|
void |
decline(boolean bSend,
boolean bSaveInSent)
Declines the task, if it is has already been accepted. |
int |
getActualWork()
Gets the actual work. |
java.lang.String |
getBillingInfo()
Gets the billing info. |
java.lang.String[] |
getCompanies()
Gets the companies. |
java.lang.String |
getDelegator()
Gets the delegator. |
java.util.Calendar |
getDueCalendar()
Gets the due calendar. |
boolean |
getHasReminder()
Gets the 'has reminder' flag. |
java.lang.String |
getOwner()
Gets the owner. |
double |
getPercentComplete()
Gets the percent complete. |
TaskRecurrencePattern |
getRecurrencePattern()
Gets the recurrence pattern. |
java.util.Date |
getReminderDate()
Gets the reminder date. |
java.util.Calendar |
getStartCalendar()
Gets the start calendar. |
int |
getTotalWork()
Gets the total work. |
boolean |
isComplete()
Gets whether the task is complete. |
boolean |
isCurrentUserRecipient()
Returns if the current user is a recipient of the task. |
boolean |
isTeamTask()
Gets if the task is a team assigned task. |
void |
markComplete(boolean bComplete,
boolean bSend,
boolean bSaveInSent)
Marks the task as complete and commits the changes to the Exchange store. |
void |
setActualWork(int iActualWork)
Sets the actual work. |
void |
setBillingInfo(java.lang.String sBillingInfo)
Sets the billing info. |
void |
setCompanies(java.lang.String[] sCompanies)
Sets the companies. |
void |
setDelegator(java.lang.String sDelegator)
Sets the delegator. |
void |
setHasReminder(boolean bHasReminder)
Sets the 'has reminder' flag. |
void |
setOwner(java.lang.String sOwner)
Sets the owner. |
void |
setPercentComplete(double dPercentComplete)
Sets the percent complete. |
void |
setRecurrencePattern(TaskRecurrencePattern pattern)
Sets the recurrence pattern. |
void |
setReminderDate(java.util.Date reminderDate)
Sets the reminder date. |
void |
setStatus(TaskStatus status)
Sets the status of the task. |
void |
setTotalWork(int iTotalWork)
Sets the total work. |
void |
skip()
Skips an instance of a task, if it is a recurring task. |
Methods inherited from interface com.compoze.collab.groupware.ITask |
---|
getDateCompleted, getDueDate, getStartDate, getStatus, isRecurring, setDateCompleted, setDueDate, setDueDate, setStartDate, setStartDate |
Methods inherited from interface com.compoze.collab.groupware.IGroupwareItem |
---|
getBodyHtml, getBodyHtml, getCategories, getDateCreated, getDateLastModified, getImportance, getNormalizedSubject, getSize, getSubject, getSubject, getSubjectPrefix, setBodyHtml, setCategories, setImportance, setSubject |
Methods inherited from interface com.compoze.collab.messaging.IMessagingItem |
---|
getBody, setBody |
Methods inherited from interface com.compoze.collab.IItem |
---|
commit, containsKey, containsKey, copyProperties, copyTo, delete, fetchProperties, getAttribute, getEnum, getID, getInputStream, getItemClass, getOutputStream, getParent, getParent, getParentID, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getReader, getRootContainer, getSession, getWriter, isMissing, moveTo, removeAttribute, removeProperty, setAttribute, setProperties, setProperty, setProperty, setProperty |
Methods inherited from interface com.compoze.collab.exchange.IExchangeItem |
---|
getContactNames, getFlagStatus, getFlagText, getHideAttachments, getMileage, getPriority, getSensitivity, getSubjectPrefix, isHidden, setContactNames, setFlagStatus, setFlagText, setHideAttachments, setMileage, setPriority, setSensitivity, setSubjectPrefix |
Methods inherited from interface com.compoze.collab.IAttachmentSupport |
---|
addAttachment, getAttachment, getAttachmentCount, getAttachments, hasAttachment |
Field Detail |
---|
static final int KEYID_ACTUAL_WORK
int
ID for the ACTUAL_WORK
key.
static final int KEYID_BILLING_INFO
int
ID for the BILLING_INFO
key.
static final int KEYID_COMPANIES
int
ID for the COMPANIES
key.
static final int KEYID_DUE_CALENDAR
int
ID for the DUE_CALENDAR
key.
static final int KEYID_IS_COMPLETE
int
ID for the IS_COMPLETE
key.
static final int KEYID_IS_TEAM_TASK
int
ID for the IS_TEAM_TASK
key.
static final int KEYID_OWNER
int
ID for the OWNER
key.
static final int KEYID_PERCENT_COMPLETE
int
ID for the ITask.PERCENT_COMPLETE
key.
static final int KEYID_RECURRENCE_PATTERN
int
ID for the RECURRENCE_PATTERN
key.
static final int KEYID_REMINDER_DATE
int
ID for the REMINDER_DATE
key.
static final int KEYID_START_CALENDAR
int
ID for the START_CALENDAR
key.
static final int KEYID_TOTAL_WORK
int
ID for the TOTAL_WORK
key.
static final int KEYID_DELEGATOR
int
ID for the DELEGATOR
key.
static final int KEYID_ASSOCIATED_TASK_LINK
int
ID for the ASSOCIATED_TASK_LINK
key.
static final Key ACTUAL_WORK
static final Key BILLING_INFO
static final Key COMPANIES
static final Key DUE_CALENDAR
static final Key IS_COMPLETE
static final Key IS_TEAM_TASK
static final Key RECURRENCE_PATTERN
static final Key REMINDER_DATE
static final Key START_CALENDAR
static final Key TOTAL_WORK
static final Key DELEGATOR
static final Key OWNER
static final Key ASSOCIATED_TASK_LINK
static final ItemClass CLASS
Method Detail |
---|
void setActualWork(int iActualWork) throws CollaborationException
iActualWork
- the actual work
CollaborationException
- if there was an error setting the actual workint getActualWork() throws CollaborationException
CollaborationException
- if there was an error getting the actual work
PropertyMissingException
- if the property was requested but not availableACTUAL_WORK
void setBillingInfo(java.lang.String sBillingInfo) throws CollaborationException
sBillingInfo
- the billing info
CollaborationException
- if there was an error setting the billing infojava.lang.String getBillingInfo() throws CollaborationException
CollaborationException
- if there was an error getting the billing infosetBillingInfo(String)
void setCompanies(java.lang.String[] sCompanies) throws CollaborationException
sCompanies
- the companies
CollaborationException
- if there was an error setting the companiesjava.lang.String[] getCompanies() throws CollaborationException
CollaborationException
- if there was an error getting the companiessetCompanies(String[])
void setDelegator(java.lang.String sDelegator) throws CollaborationException
sDelegator
- the delegator for this task.
CollaborationException
- if there was an error setting the delegatorjava.lang.String getDelegator() throws CollaborationException
CollaborationException
- if there was an error getting the delegatorsetDelegator(String)
void setOwner(java.lang.String sOwner) throws CollaborationException
sOwner
- the owner for this task.
CollaborationException
- if there was an error setting the ownerjava.lang.String getOwner() throws CollaborationException
CollaborationException
- if there was an error getting the ownersetOwner(String)
java.util.Calendar getDueCalendar() throws CollaborationException
CollaborationException
- if there was an error getting the due calendarvoid setHasReminder(boolean bHasReminder) throws CollaborationException
bHasReminder
- the 'has reminder' flag
CollaborationException
- if there was an error setting the 'has reminder' flagboolean getHasReminder() throws CollaborationException
CollaborationException
- if there was an error getting the 'has reminder' flag
PropertyMissingException
- if the property was requested but not availablesetHasReminder(boolean)
void setPercentComplete(double dPercentComplete) throws CollaborationException
IS_COMPLETE
key.
== 1.0
:
ITask.STATUS
to COMPLETED
.
IExchangeTask.IS_COMPLETE
to true
.
== 0.0
:
ITask.STATUS
to NOT_STARTED
.
IExchangeTask.IS_COMPLETE
to false
.
IExchangeTask.DATE_COMPLETE
to null
.
< 1.0 && > 0.0
and isComplete()
is true
:
ITask.STATUS
to IN_PROGRESS
.
IExchangeTask.IS_COMPLETE
to false
.
IExchangeTask.DATE_COMPLETE
to null
.
setPercentComplete
in interface ITask
dPercentComplete
- the percent complete. This value must be >= 0.0,
and <= 1.0.
CollaborationException
- if there was an error setting the percent completeIS_COMPLETE
double getPercentComplete() throws CollaborationException
getPercentComplete
in interface ITask
CollaborationException
- if there was an error getting the percent complete
PropertyMissingException
- if the property was requested but not availablesetPercentComplete(double)
void setRecurrencePattern(TaskRecurrencePattern pattern) throws CollaborationException
ITask.IS_RECURRING
to reflect the specified pattern.
pattern
- the recurrence pattern. If set to null
, then
the pattern is removed from the task.
CollaborationException
- if there was an error setting the recurrence patternTaskRecurrencePattern getRecurrencePattern() throws CollaborationException
CollaborationException
- if there was an error getting the recurrence patternsetRecurrencePattern(TaskRecurrencePattern)
void setReminderDate(java.util.Date reminderDate) throws CollaborationException
reminderDate
- the reminder date. (null
implies no
reminder date and removes the reminder from the task).
CollaborationException
- if there was an error setting the reminder datejava.util.Date getReminderDate() throws CollaborationException
CollaborationException
- if there was an error getting the reminder datesetReminderDate(Date)
java.util.Calendar getStartCalendar() throws CollaborationException
CollaborationException
- if there was an error getting the start calendarvoid setTotalWork(int iTotalWork) throws CollaborationException
iTotalWork
- the total work
CollaborationException
- if there was an error setting the total workint getTotalWork() throws CollaborationException
CollaborationException
- if there was an error getting the total work
PropertyMissingException
- if the property was requested but not availablesetTotalWork(int)
boolean isComplete() throws CollaborationException
CollaborationException
- if there was an error getting the complete status
PropertyMissingException
- if the property was requested but not availableboolean isCurrentUserRecipient() throws CollaborationException
true
if the current user is a recipient of the task
CollaborationException
- if there was an error getting the current recipientboolean isTeamTask() throws CollaborationException
true
if the task is a team assigned task
CollaborationException
- if there was an error getting if the task is assigned
PropertyMissingException
- if the property was requested but not availablevoid decline(boolean bSend, boolean bSaveInSent) throws CollaborationException
bSend
- sends a decline message back to the task
originator.bSaveInSent
- if sending, save to sent items
OperationUnsupportedException
- always
CollaborationException
void skip() throws CollaborationException
CollaborationException
- if there was an error skipping a task instancevoid markComplete(boolean bComplete, boolean bSend, boolean bSaveInSent) throws CollaborationException
IS_RECURRING
, then creates the next task in the series, if
one exists.
markComplete
in interface ITask
bComplete
- true
if the task is completed,
false otherwisebSend
- true
to send the status if neededbSaveInSent
- if sending, true
to save a copy
- Throws:
CollaborationException
- if there was an error updating the task- See Also:
RECURRENCE_PATTERN
,
IS_COMPLETE
,
ITask.DUE_DATE
,
ITask.IS_RECURRING
void setStatus(TaskStatus status) throws CollaborationException
IS_COMPLETE
key.
TaskStatusEnum.COMPLETED
:
IExchangeTask.PERCENT_COMPLETE
to 1.0
.
IExchangeTask.IS_COMPLETE
to true
.
TaskStatusEnum.NOT_STARTED
:
IExchangeTask.PERCENT_COMPLETE
to 0.0
.
IExchangeTask.IS_COMPLETE
to false
.
IExchangeTask.DATE_COMPLETE
to null
.
isComplete()
is true
:
IExchangeTask.PERCENT_COMPLETE
to 0.0
.
IExchangeTask.IS_COMPLETE
to false
.
IExchangeTask.DATE_COMPLETE
to null
.
setStatus
in interface ITask
status
- the status
CollaborationException
- if there was an error setting the status
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |