|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--portlets.compoze.groupware.AbstractItem | +--portlets.compoze.groupware.tasks.Task
This class represents a task.
Constructor Summary | |
Task()
Constructor. |
|
Task(java.lang.String sID)
Constructor. |
Method Summary | |
java.lang.String |
getDescriptionHtml()
Gets the description of the task in HTML format. |
java.util.Date |
getDueDate()
Gets the due date. |
java.lang.String |
getDueDateString(java.util.Locale locale,
java.util.TimeZone timeZone)
Gets the due date localized string. |
java.util.Date |
getStartDate()
Gets the start date. |
java.lang.String |
getStartDateString(java.util.Locale locale,
java.util.TimeZone timeZone)
Gets the start date localized string. |
TaskStatus |
getTaskStatus()
Gets the task status. |
boolean |
isComplete()
Checks if the task is complete. |
boolean |
isOverdue(java.util.Locale locale,
java.util.TimeZone timeZone)
Checks if the task is overdue. |
boolean |
isRepeating()
Checks if the task is repeating. |
void |
setComplete(boolean bFlag)
Sets the complete flag. |
void |
setDueDate(java.util.Date dueDate)
Sets the due date. |
void |
setRepeating(boolean bFlag)
Sets the task repeating flag. |
void |
setStartDate(java.util.Date startDate)
Sets the start date. |
void |
setTaskStatus(TaskStatus status)
Sets the task status. |
Methods inherited from class portlets.compoze.groupware.AbstractItem |
getAttachmentCount, getAttachmentInfoArray, getBodyHtml, getBodyText, getBodyTextAsHtml, getDateCreated, getID, getImportance, getIndex, getItemType, getSize, getSizeInKilobytes, getSubject, getSubject, hasAttachment, prettyTruncate, setAttachmentCount, setAttachmentInfoArray, setBodyHtml, setBodyText, setDateCreated, setHasAttachment, setID, setImportance, setIndex, setItemType, setSize, setSubject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Task()
public Task(java.lang.String sID)
sID
- the task IDMethod Detail |
public boolean isOverdue(java.util.Locale locale, java.util.TimeZone timeZone)
locale
- the locale (may not be null
)timeZone
- the time zone (may not be null
)true
if the task is overdue; false
otherwisepublic TaskStatus getTaskStatus()
public void setTaskStatus(TaskStatus status)
status
- the task status (may not be null
)public java.util.Date getStartDate()
null
if not setpublic java.lang.String getStartDateString(java.util.Locale locale, java.util.TimeZone timeZone)
locale
- the locale (may not be null
)timeZone
- the time zone (may not be null
)public void setStartDate(java.util.Date startDate)
startDate
- the start date or null
to not setpublic void setDueDate(java.util.Date dueDate)
dueDate
- the due date or null
to not setpublic java.lang.String getDueDateString(java.util.Locale locale, java.util.TimeZone timeZone)
locale
- the locale (may not be null
)timeZone
- the time zone (may not be null
)public java.util.Date getDueDate()
null
if not setpublic boolean isRepeating()
true
if the task is repeating; false
otherwisepublic void setRepeating(boolean bFlag)
bFlag
- true
if the task is repeating; false
otherwisepublic boolean isComplete()
true
if the task is complete; false
otherwisepublic void setComplete(boolean bFlag)
bFlag
- true
if the task is complete; false
otherwisepublic java.lang.String getDescriptionHtml()
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |