Nuxeo Enterprise Platform 5.4

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

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

public class DocumentProcessItemImpl
extends java.lang.Object
implements DocumentProcessItem

Document process item implementation.

Author:
Julien Anguenot
See Also:
Serialized Form

Constructor Summary
DocumentProcessItemImpl(ProcessInstance processInstance, DocumentModel documentModel)
           
 
Method Summary
 java.lang.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.
 java.lang.String getProcessInstanceName()
          Returns the process instance name.
 java.util.Date getProcessInstanceStartDate()
          Returns the process start date.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 java.lang.String getDocTitle()
Description copied from interface: DocumentProcessItem
Return the bound document title.

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

getProcessInstanceName

public java.lang.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 java.util.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.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.