Class DashBoardItemImpl
java.lang.Object
org.nuxeo.ecm.platform.task.dashboard.AbstractDashBoardItemImpl
org.nuxeo.ecm.platform.task.dashboard.DashBoardItemImpl
- All Implemented Interfaces:
Serializable,DashBoardItem
Dashboard item implementation.
- Since:
- 5.5
- Author:
- Julien Anguenot
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected final Stringprotected final Stringprotected final DocumentModelprotected final Dateprotected final booleanprotected final Stringprotected final Stringprotected final Dateprotected final TaskFields inherited from class org.nuxeo.ecm.platform.task.dashboard.AbstractDashBoardItemImpl
locale -
Constructor Summary
ConstructorsConstructorDescriptionDashBoardItemImpl(Task task, Locale locale) DashBoardItemImpl(Task task, DocumentModel document, Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionReturns the associated item comment.Returns the description of the item.Returns the item associated directive.Returns the document reference on which the item is bound.Returns the icon path for the doc ref.Returns the date at which the task needs to be closed.getId()Returns the identifier of the workflow task instance.getName()Returns the name of the DashBoardItem.Returns the date when the task has been started.getTask()Returns the underneath task instancebooleanDoes the user reach the deadline?Methods inherited from class org.nuxeo.ecm.platform.task.dashboard.AbstractDashBoardItemImpl
asMap, getDefaultViewFor, getDocumentLink, getI18nDirective, getI18nLabel, getI18nTaskName, getLocale, isCreatedFromCreateTaskOperation, needi18n, setLocaleMethods 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
asMap, getDocumentLink, getI18nDirective, getI18nTaskName, setLocale
-
Field Details
-
id
-
name
-
description
-
startDate
-
dueDate
-
expired
protected final boolean expired -
directive
-
document
-
task
-
comment
-
-
Constructor Details
-
DashBoardItemImpl
-
DashBoardItemImpl
-
-
Method Details
-
getComment
Description copied from interface:DashBoardItemReturns the associated item comment.- Specified by:
getCommentin interfaceDashBoardItem- Returns:
- the associated item comment
-
getDescription
Description copied from interface:DashBoardItemReturns the description of the item.- Specified by:
getDescriptionin interfaceDashBoardItem- Returns:
- the description of the item
-
getDocRef
Description copied from interface:DashBoardItemReturns the document reference on which the item is bound.- Specified by:
getDocRefin interfaceDashBoardItem- Returns:
- a document reference instance
-
getDueDate
Description copied from interface:DashBoardItemReturns the date at which the task needs to be closed.- Specified by:
getDueDatein interfaceDashBoardItem- Returns:
- the date at which the task needs to be closed
-
getId
Description copied from interface:DashBoardItemReturns the identifier of the workflow task instance.- Specified by:
getIdin interfaceDashBoardItem- Returns:
- the identifier of the dash board item.
-
getStartDate
Description copied from interface:DashBoardItemReturns the date when the task has been started.- Specified by:
getStartDatein interfaceDashBoardItem- Returns:
- the date when the task has been started
-
getName
Description copied from interface:DashBoardItemReturns the name of the DashBoardItem.- Specified by:
getNamein interfaceDashBoardItem- Returns:
- the name of the DashBoardItem
-
getDirective
Description copied from interface:DashBoardItemReturns the item associated directive.- Specified by:
getDirectivein interfaceDashBoardItem- Returns:
- the item associated directive
-
getDocument
Description copied from interface:DashBoardItemReturns the icon path for the doc ref.- Specified by:
getDocumentin interfaceDashBoardItem- Returns:
- the icon path for the doc ref
-
isExpired
public boolean isExpired()Description copied from interface:DashBoardItemDoes the user reach the deadline?- Specified by:
isExpiredin interfaceDashBoardItem- Returns:
- the expired flag.
-
getTask
Description copied from interface:DashBoardItemReturns the underneath task instance- Specified by:
getTaskin interfaceDashBoardItem
-