Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

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
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 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 ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.