|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.AbstractItem
portlets.compoze.groupware.tasks.Task
portlets.compoze.groupware.tasks.ExchangeTask
This class represents an Exchange task.
Field Summary | |
static java.lang.String |
DELIMITER_COMPANIES
|
static java.lang.String |
DELIMITER_CONTACT_NAMES
|
Constructor Summary | |
ExchangeTask(java.lang.String sID)
Constructor. |
Method Summary | |
int |
getActualWork()
Gets the actual work (in minutes). |
java.lang.String |
getBillingInfo()
Gets the billing info. |
java.lang.String[] |
getCompanies()
Gets the companies. |
java.lang.String |
getCompaniesString()
Gets the companies as a string. |
java.lang.String |
getCompaniesString(java.lang.String delim)
Gets the companies as a string. |
java.util.Date |
getCompletedDate()
Gets the completed date. |
java.lang.String |
getCompletedDateString(java.util.Locale locale,
java.util.TimeZone timeZone)
Gets the completed date localized string. |
java.lang.String[] |
getContactNames()
Gets the contact names. |
java.lang.String |
getContactNamesString()
Gets the contact names as a string. |
java.lang.String |
getContactNamesString(java.lang.String delim)
Gets the contact names as a string. |
java.lang.String |
getDescriptionHtml()
Gets the description of the task in HTML format. |
java.lang.String |
getDueDateString(java.util.Locale locale,
java.util.TimeZone timeZone)
Gets the due date localized string. |
java.lang.String |
getMileage()
Gets the mileage. |
int |
getPercentComplete()
Gets the percent complete. |
Sensitivity |
getPrivate()
Gets the sensitivity of the task. |
java.lang.String |
getStartDateString(java.util.Locale locale,
java.util.TimeZone timeZone)
Gets the start date localized string. |
int |
getTotalWork()
Gets the total work (in minutes). |
boolean |
isOverdue(java.util.Locale locale,
java.util.TimeZone timeZone)
Checks if the task is overdue. |
void |
setActualWork(int iActualWork)
Sets the actual work (in minutes). |
void |
setBillingInfo(java.lang.String sBillingInfo)
Sets the billing info. |
void |
setCompanies(java.lang.String sCompanies)
Sets the companies with the specified string of companies. |
void |
setCompanies(java.lang.String[] companies)
Sets the companies. |
void |
setCompanies(java.lang.String sCompanies,
java.lang.String sDelim)
Sets the companies with the specified string of companies. |
void |
setCompletedDate(java.util.Date completedDate)
Sets the completed date. |
void |
setContactNames(java.lang.String sContactNames)
Sets the contact names with the specified string of contact names. |
void |
setContactNames(java.lang.String[] contactNames)
Sets the contact names. |
void |
setContactNames(java.lang.String sContactNames,
java.lang.String sDelim)
Sets the contact names with the specified string of contact names. |
void |
setMileage(java.lang.String sMileage)
Sets the mileage. |
void |
setPercentComplete(int iPercentComplete)
Sets the percent complete. |
void |
setPrivate(Sensitivity sensitivity)
Sets the sensitivity of the task. |
void |
setTotalWork(int iTotalWork)
Sets the total work (in minutes). |
Methods inherited from class portlets.compoze.groupware.tasks.Task |
getDueDate, getStartDate, getTaskStatus, isComplete, isRepeating, setComplete, setDueDate, setRepeating, setStartDate, setTaskStatus |
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 |
Field Detail |
public static final java.lang.String DELIMITER_CONTACT_NAMES
public static final java.lang.String DELIMITER_COMPANIES
Constructor Detail |
public ExchangeTask(java.lang.String sID)
sID
- the task IDMethod Detail |
public boolean isOverdue(java.util.Locale locale, java.util.TimeZone timeZone)
isOverdue
in class Task
locale
- the locale (may not be null
)timeZone
- the time zone (may not be null
)
true
if the task is overdue; false
otherwisepublic java.lang.String getStartDateString(java.util.Locale locale, java.util.TimeZone timeZone)
getStartDateString
in class Task
locale
- the locale (may not be null
)timeZone
- the time zone (may not be null
)
public java.lang.String getDueDateString(java.util.Locale locale, java.util.TimeZone timeZone)
getDueDateString
in class Task
locale
- the locale (may not be null
)timeZone
- the time zone (may not be null
)
public void setCompletedDate(java.util.Date completedDate)
completedDate
- the completed date or null
if not setpublic java.util.Date getCompletedDate()
null
if not setpublic java.lang.String getCompletedDateString(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.lang.String getMileage()
null
if not setpublic void setMileage(java.lang.String sMileage)
sMileage
- the mileage or null
to not setpublic java.lang.String getBillingInfo()
null
if not setpublic void setBillingInfo(java.lang.String sBillingInfo)
sBillingInfo
- the billing info or null
to not setpublic java.lang.String[] getContactNames()
public java.lang.String getContactNamesString()
DELIMITER_CONTACT_NAMES
public java.lang.String getContactNamesString(java.lang.String delim)
delim
- the delimiter (may not be null
)
DELIMITER_CONTACT_NAMES
public void setContactNames(java.lang.String[] contactNames)
contactNames
- an array of contact names or null
to not clearpublic java.lang.String getCompaniesString()
DELIMITER_COMPANIES
public java.lang.String getCompaniesString(java.lang.String delim)
delim
- the delimiter (may not be null
)
DELIMITER_COMPANIES
public java.lang.String[] getCompanies()
public void setCompanies(java.lang.String[] companies)
companies
- an array of companies or null
to not clearpublic void setCompanies(java.lang.String sCompanies)
sCompanies
- a delimited list of companiesDELIMITER_COMPANIES
public void setCompanies(java.lang.String sCompanies, java.lang.String sDelim)
sCompanies
- a delimited list of companiessDelim
- the delimiterDELIMITER_COMPANIES
public void setContactNames(java.lang.String sContactNames)
sContactNames
- a delimited list of contact namesDELIMITER_COMPANIES
public void setContactNames(java.lang.String sContactNames, java.lang.String sDelim)
sContactNames
- a delimited list of contact namessDelim
- the delimiterDELIMITER_CONTACT_NAMES
public int getPercentComplete()
public void setPercentComplete(int iPercentComplete)
iPercentComplete
- the percent completepublic int getTotalWork()
public void setTotalWork(int iTotalWork)
iTotalWork
- the total work (in minutes)public int getActualWork()
public void setActualWork(int iActualWork)
iActualWork
- the total work (in minutes)public Sensitivity getPrivate()
public void setPrivate(Sensitivity sensitivity)
sensitivity
- the sensitivitypublic java.lang.String getDescriptionHtml()
getDescriptionHtml
in class Task
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |