Nuxeo Enterprise Platform 5.3

org.nuxeo.ecm.platform.jbpm.dashboard
Class DocumentProcessItemImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.jbpm.dashboard.DocumentProcessItemImpl
All Implemented Interfaces:
Serializable, DocumentProcessItem

public class DocumentProcessItemImpl
extends Object
implements DocumentProcessItem

Document process item implementation.

Author:
Julien Anguenot
See Also:
Serialized Form

Field Summary
protected  String docTitle
           
protected  DocumentModel documentModel
           
protected  Date procesinstanceStartDate
           
protected  ProcessInstance processInstance
           
protected  String processInstanceName
           
 
Constructor Summary
DocumentProcessItemImpl(ProcessInstance processInstance, DocumentModel documentModel)
           
 
Method Summary
 String getDocTitle()
          Return the bound document title.
 DocumentModel getDocumentModel()
          Returns the document ref for the document bound to the process.
 ProcessInstance getProcessInstance()
          Returns the process identifier bound to a given document.
 String getProcessInstanceName()
          Returns the process instance name.
 Date getProcessInstanceStartDate()
          Returns the process start date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentModel

protected final DocumentModel documentModel

processInstance

protected final ProcessInstance processInstance

docTitle

protected String docTitle

procesinstanceStartDate

protected final Date procesinstanceStartDate

processInstanceName

protected final String processInstanceName
Constructor Detail

DocumentProcessItemImpl

public DocumentProcessItemImpl(ProcessInstance processInstance,
                               DocumentModel documentModel)
Method Detail

getDocumentModel

public DocumentModel getDocumentModel()
Description copied from interface: DocumentProcessItem
Returns the document ref for the document bound to the process.

Specified by:
getDocumentModel in interface DocumentProcessItem
Returns:
a document ref instance.

getProcessInstance

public ProcessInstance getProcessInstance()
Description copied from interface: DocumentProcessItem
Returns the process identifier bound to a given document.

Specified by:
getProcessInstance in interface DocumentProcessItem
Returns:
a process instance identifier.

getDocTitle

public String getDocTitle()
Description copied from interface: DocumentProcessItem
Return the bound document title.

Specified by:
getDocTitle in interface DocumentProcessItem
Returns:
the document title.

getProcessInstanceName

public String getProcessInstanceName()
Description copied from interface: DocumentProcessItem
Returns the process instance name.

Specified by:
getProcessInstanceName in interface DocumentProcessItem
Returns:
the process instance name.

getProcessInstanceStartDate

public Date getProcessInstanceStartDate()
Description copied from interface: DocumentProcessItem
Returns the process start date.

Specified by:
getProcessInstanceStartDate in interface DocumentProcessItem
Returns:
the process start date.

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.