public abstract class AbstractDashBoardItemImpl extends Object implements DashBoardItem
| Constructor and Description |
|---|
AbstractDashBoardItemImpl() |
| Modifier and Type | Method and Description |
|---|---|
net.sf.json.JSONObject |
asJSON()
Returns JSON representation of the item
|
String |
getDocumentLink(boolean includeWorkflowTab)
Return the link url to the target Document
|
String |
getI18nDirective()
Get the Translated Task Directive
(Locale must be set)
|
String |
getI18nTaskName()
Get the Translated TaskName
(Locale must be set)
|
Locale |
getLocale() |
void |
setLocale(Locale locale)
Defines the
Locale that will be used to generate translations |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComment, getDescription, getDirective, getDocRef, getDocument, getDueDate, getId, getName, getStartDate, getTask, isExpiredpublic String getI18nTaskName()
DashBoardItemgetI18nTaskName in interface DashBoardItempublic String getI18nDirective()
DashBoardItemgetI18nDirective in interface DashBoardItempublic net.sf.json.JSONObject asJSON()
throws ClientException
DashBoardItemasJSON in interface DashBoardItemClientExceptionpublic String getDocumentLink(boolean includeWorkflowTab) throws ClientException
DashBoardItemgetDocumentLink in interface DashBoardItemClientExceptionpublic Locale getLocale()
public void setLocale(Locale locale)
DashBoardItemLocale that will be used to generate translationssetLocale in interface DashBoardItemCopyright © 2013 Nuxeo SA. All Rights Reserved.