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, wait
getComment, getDescription, getDirective, getDocRef, getDocument, getDueDate, getId, getName, getStartDate, getTask, isExpired
public String getI18nTaskName()
DashBoardItem
getI18nTaskName
in interface DashBoardItem
public String getI18nDirective()
DashBoardItem
getI18nDirective
in interface DashBoardItem
public net.sf.json.JSONObject asJSON() throws ClientException
DashBoardItem
asJSON
in interface DashBoardItem
ClientException
public String getDocumentLink(boolean includeWorkflowTab) throws ClientException
DashBoardItem
getDocumentLink
in interface DashBoardItem
ClientException
public Locale getLocale()
public void setLocale(Locale locale)
DashBoardItem
Locale
that will be used to generate translationssetLocale
in interface DashBoardItem
Copyright © 2013 Nuxeo SA. All Rights Reserved.