|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITask
Represents a task in the groupware schema.
| Field Summary | |
|---|---|
static ItemClass |
CLASS
The item class of ITask. |
static Key |
DATE_COMPLETED
Key that represents the date completed. |
static Key |
DUE_DATE
Key that represents the due date for a task. |
static Key |
IS_RECURRING
Key that represents the recurring flag of a task. |
static int |
KEYID_DATE_COMPLETED
The int ID for the DATE_COMPLETED key. |
static int |
KEYID_DUE_DATE
The int ID for the DUE_DATE key. |
static int |
KEYID_IS_RECURRING
The int ID for the IS_RECURRING key. |
static int |
KEYID_PERCENT_COMPLETE
|
static int |
KEYID_START_DATE
The int ID for the START_DATE key. |
static int |
KEYID_STATUS
The int ID for the STATUS key. |
static Key |
PERCENT_COMPLETE
Key represents the percent complete of a task |
static Key |
START_DATE
Key that represents the start date of a task. |
static Key |
STATUS
Key that represents the task 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 |
| Method Summary | |
|---|---|
Date |
getDateCompleted()
Gets the date completed. |
Date |
getDueDate()
Gets the due date. |
double |
getPercentComplete()
Gets percentage completed |
Date |
getStartDate()
Gets the date the task starts. |
TaskStatus |
getStatus()
Gets the status of the task. |
boolean |
isRecurring()
Gets whether a task is recurring. |
void |
markComplete(boolean bComplete,
boolean bSend,
boolean bSaveInSent)
Marks the task as complete. |
void |
setDateCompleted(Date dateCompleted)
Sets the date completed. |
void |
setDueDate(Date dueDate)
Sets the date that the task is due. |
void |
setDueDate(int iMonth,
int iDay,
int iYear)
Sets the date parameters that the task is due. |
void |
setPercentComplete(double dPercentComplete)
Sets percentage completed |
void |
setStartDate(Date startDate)
Sets the date that the task starts. |
void |
setStartDate(int iMonth,
int iDay,
int iYear)
Sets the date parameters that the task starts. |
void |
setStatus(TaskStatus status)
Sets the status of the task. |
| 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 |
| Field Detail |
|---|
static final int KEYID_DUE_DATE
int ID for the DUE_DATE key.
static final int KEYID_IS_RECURRING
int ID for the IS_RECURRING key.
static final int KEYID_START_DATE
int ID for the START_DATE key.
static final int KEYID_STATUS
int ID for the STATUS key.
static final int KEYID_DATE_COMPLETED
int ID for the DATE_COMPLETED key.
static final int KEYID_PERCENT_COMPLETE
static final Key DUE_DATE
static final Key IS_RECURRING
static final Key START_DATE
static final Key STATUS
static final Key DATE_COMPLETED
static final Key PERCENT_COMPLETE
static final ItemClass CLASS
ITask.
| Method Detail |
|---|
void setDueDate(Date dueDate)
throws CollaborationException
dueDate - the due date (null implies no due date).
CollaborationException - if there was an error setting the due date
void setDueDate(int iMonth,
int iDay,
int iYear)
throws CollaborationException
iMonth - the month of the yeariDay - the day of the monthiYear - the year
CollaborationException - if there was an error setting the date parameters
Date getDueDate()
throws CollaborationException
CollaborationException - if there was an error getting the due datesetDueDate(Date)
void setStartDate(Date startDate)
throws CollaborationException
startDate - the start date (null implies no start date).
CollaborationException - if there was an error setting the start date
void setStartDate(int iMonth,
int iDay,
int iYear)
throws CollaborationException
iMonth - the month of the yeariDay - the day of the monthiYear - the year
CollaborationException - if there was an error setting the date parameters
Date getStartDate()
throws CollaborationException
CollaborationException - if there was an error getting the start datesetStartDate(Date)
void setStatus(TaskStatus status)
throws CollaborationException
status - the status
CollaborationException - if there was an error setting the status
TaskStatus getStatus()
throws CollaborationException
CollaborationException - if there was an error getting the statussetStatus(TaskStatus)
void markComplete(boolean bComplete,
boolean bSend,
boolean bSaveInSent)
throws CollaborationException
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
boolean isRecurring()
throws CollaborationException
true if a task is recurring, false
otherwise.
CollaborationException - if there was a problem retrieving
the property for recurrence.
void setDateCompleted(Date dateCompleted)
throws CollaborationException
dateCompleted - the date completed (null implies no
completed date).
CollaborationException - if there was an error setting the date completed
Date getDateCompleted()
throws CollaborationException
CollaborationException - if there was an error getting the date completedsetDateCompleted(Date)
double getPercentComplete()
throws CollaborationException
CollaborationException
void setPercentComplete(double dPercentComplete)
throws CollaborationException
dPercentComplete - percentage completed
CollaborationException - if there was an error setting percent completed
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||