public interface DashBoardItem extends Serializable
Aimed at being used in Dashboard fragments.
Modifier and Type | Method and Description |
---|---|
net.sf.json.JSONObject |
asJSON()
Returns JSON representation of the item
|
String |
getComment()
Returns the associated item comment.
|
String |
getDescription()
Returns the description of the item.
|
String |
getDirective()
Returns the item associated directive.
|
DocumentRef |
getDocRef()
Returns the document reference on which the item is bound.
|
DocumentModel |
getDocument()
Returns the icon path for the doc ref.
|
String |
getDocumentLink(boolean includeWorkflowTab)
Return the link url to the target Document
|
Date |
getDueDate()
Returns the date at which the task needs to be closed.
|
String |
getI18nDirective()
Get the Translated Task Directive (Locale must be set)
|
String |
getI18nTaskName()
Get the Translated TaskName (Locale must be set)
|
String |
getId()
Returns the identifier of the workflow task instance.
|
String |
getName()
Returns the name of the DashBoardItem.
|
Date |
getStartDate()
Returns the date when the task has been started.
|
Task |
getTask()
Returns the underneath task instance
|
boolean |
isExpired()
Does the user reach the deadline?
|
void |
setLocale(Locale locale)
Defines the
Locale that will be used to generate translations |
String getId()
String getName()
DocumentRef getDocRef()
String getDescription()
String getComment()
Date getStartDate()
Date getDueDate()
String getDirective()
DocumentModel getDocument()
boolean isExpired()
void setLocale(Locale locale)
Locale
that will be used to generate translationslocale
- String getI18nTaskName()
String getI18nDirective()
net.sf.json.JSONObject asJSON()
String getDocumentLink(boolean includeWorkflowTab)
includeWorkflowTab
- Copyright © 2018 Nuxeo. All rights reserved.