public class DashBoardItemImpl extends AbstractDashBoardItemImpl implements DashBoardItem
| Modifier and Type | Field and Description |
|---|---|
protected String |
comment |
protected String |
description |
protected String |
directive |
protected DocumentModel |
document |
protected Date |
dueDate |
protected boolean |
expired |
protected String |
id |
protected String |
name |
protected Date |
startDate |
protected Task |
task |
locale, log| Constructor and Description |
|---|
DashBoardItemImpl(Task task,
DocumentModel document,
Locale locale) |
DashBoardItemImpl(Task task,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Date |
getDueDate()
Returns the date at which the task needs to be closed.
|
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?
|
asJSON, getDefaultViewFor, getDocumentLink, getI18nDirective, getI18nLabel, getI18nTaskName, getLocale, isCreatedFromCreateTaskOperation, needi18n, setLocaleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasJSON, getDocumentLink, getI18nDirective, getI18nTaskName, setLocaleprotected final String description
protected final boolean expired
protected final DocumentModel document
public DashBoardItemImpl(Task task, Locale locale)
public DashBoardItemImpl(Task task, DocumentModel document, Locale locale)
public String getComment()
DashBoardItemgetComment in interface DashBoardItempublic String getDescription()
DashBoardItemgetDescription in interface DashBoardItempublic DocumentRef getDocRef()
DashBoardItemgetDocRef in interface DashBoardItempublic Date getDueDate()
DashBoardItemgetDueDate in interface DashBoardItempublic String getId()
DashBoardItemgetId in interface DashBoardItempublic Date getStartDate()
DashBoardItemgetStartDate in interface DashBoardItempublic String getName()
DashBoardItemgetName in interface DashBoardItempublic String getDirective()
DashBoardItemgetDirective in interface DashBoardItempublic DocumentModel getDocument()
DashBoardItemgetDocument in interface DashBoardItempublic boolean isExpired()
DashBoardItemisExpired in interface DashBoardItempublic Task getTask()
DashBoardItemgetTask in interface DashBoardItemCopyright © 2018 Nuxeo. All rights reserved.