Class AbstractDashBoardItemImpl
java.lang.Object
org.nuxeo.ecm.platform.task.dashboard.AbstractDashBoardItemImpl
- All Implemented Interfaces:
Serializable,DashBoardItem
- Direct Known Subclasses:
DashBoardItemImpl
- Since:
- 5.5
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMap()Returns JSON representation of the item as mapprotected StringgetDocumentLink(boolean includeWorkflowTab) Return the link url to the target DocumentGet the Translated Task Directive (Locale must be set)protected StringgetI18nLabel(String label, Locale locale) Get the Translated TaskName (Locale must be set)protected booleanprotected booleanneedi18n()voidDefines theLocalethat will be used to generate translationsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.platform.task.dashboard.DashBoardItem
getComment, getDescription, getDirective, getDocRef, getDocument, getDueDate, getId, getName, getStartDate, getTask, isExpired
-
Field Details
-
locale
-
-
Constructor Details
-
AbstractDashBoardItemImpl
public AbstractDashBoardItemImpl()
-
-
Method Details
-
getI18nLabel
-
getI18nTaskName
Description copied from interface:DashBoardItemGet the Translated TaskName (Locale must be set)- Specified by:
getI18nTaskNamein interfaceDashBoardItem
-
getI18nDirective
Description copied from interface:DashBoardItemGet the Translated Task Directive (Locale must be set)- Specified by:
getI18nDirectivein interfaceDashBoardItem
-
isCreatedFromCreateTaskOperation
protected boolean isCreatedFromCreateTaskOperation() -
needi18n
protected boolean needi18n() -
asMap
Description copied from interface:DashBoardItemReturns JSON representation of the item as map- Specified by:
asMapin interfaceDashBoardItem
-
getDocumentLink
Description copied from interface:DashBoardItemReturn the link url to the target Document- Specified by:
getDocumentLinkin interfaceDashBoardItem
-
getDefaultViewFor
-
getLocale
-
setLocale
Description copied from interface:DashBoardItemDefines theLocalethat will be used to generate translations- Specified by:
setLocalein interfaceDashBoardItem
-