public class DashBoardItemImpl extends AbstractDashBoardItemImpl implements DashBoardItem
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, getDocumentLink, getI18nDirective, getI18nTaskName, getLocale, setLocale
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asJSON, getDocumentLink, getI18nDirective, getI18nTaskName, setLocale
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 © 2013 Nuxeo SA. All Rights Reserved.