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, setLocale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asJSON, getDocumentLink, getI18nDirective, getI18nTaskName, setLocale
protected 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()
DashBoardItem
getComment
in interface DashBoardItem
public String getDescription()
DashBoardItem
getDescription
in interface DashBoardItem
public DocumentRef getDocRef()
DashBoardItem
getDocRef
in interface DashBoardItem
public Date getDueDate()
DashBoardItem
getDueDate
in interface DashBoardItem
public String getId()
DashBoardItem
getId
in interface DashBoardItem
public Date getStartDate()
DashBoardItem
getStartDate
in interface DashBoardItem
public String getName()
DashBoardItem
getName
in interface DashBoardItem
public String getDirective()
DashBoardItem
getDirective
in interface DashBoardItem
public DocumentModel getDocument()
DashBoardItem
getDocument
in interface DashBoardItem
public boolean isExpired()
DashBoardItem
isExpired
in interface DashBoardItem
public Task getTask()
DashBoardItem
getTask
in interface DashBoardItem
Copyright © 2015 Nuxeo SA. All rights reserved.