|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a task in the groupware schema.
Field Summary | |
static ItemClass |
CLASS
The item class of ITask . |
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_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_START_DATE
The int ID for the START_DATE key. |
static int |
KEYID_STATUS
The int ID for the STATUS key. |
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 | |
java.util.Date |
getDueDate()
Gets the due date. |
java.util.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 |
setDueDate(java.util.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 |
setStartDate(java.util.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 |
public static final int KEYID_DUE_DATE
int
ID for the DUE_DATE
key.public static final int KEYID_IS_RECURRING
int
ID for the IS_RECURRING
key.public static final int KEYID_START_DATE
int
ID for the START_DATE
key.public static final int KEYID_STATUS
int
ID for the STATUS
key.public static final Key DUE_DATE
public static final Key IS_RECURRING
public static final Key START_DATE
public static final Key STATUS
public static final ItemClass CLASS
ITask
.Method Detail |
public void setDueDate(java.util.Date dueDate) throws CollaborationException
dueDate
- the due date (null
implies no due date).CollaborationException
- if there was an error setting the due datepublic void setDueDate(int iMonth, int iDay, int iYear) throws CollaborationException
iMonth
- the month of the yeariDay
- the day of the monthiYear
- the yearCollaborationException
- if there was an error setting the date parameterspublic java.util.Date getDueDate() throws CollaborationException
CollaborationException
- if there was an error getting the due datesetDueDate(Date)
public void setStartDate(java.util.Date startDate) throws CollaborationException
startDate
- the start date (null
implies no start date).CollaborationException
- if there was an error setting the start datepublic void setStartDate(int iMonth, int iDay, int iYear) throws CollaborationException
iMonth
- the month of the yeariDay
- the day of the monthiYear
- the yearCollaborationException
- if there was an error setting the date parameterspublic java.util.Date getStartDate() throws CollaborationException
CollaborationException
- if there was an error getting the start datesetStartDate(Date)
public void setStatus(TaskStatus status) throws CollaborationException
status
- the statusCollaborationException
- if there was an error setting the statuspublic TaskStatus getStatus() throws CollaborationException
CollaborationException
- if there was an error getting the statussetStatus(TaskStatus)
public 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
public boolean isRecurring() throws CollaborationException
true
if a task is recurring, false
otherwise.CollaborationException
- if there was a problem retrieving
the property for recurrence.
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |