Class ProcessInstance
- java.lang.Object
- 
- com.opentext.livelink.service.core.ServiceDataObject
- 
- com.opentext.livelink.service.workflowservice.ProcessInstance
 
 
- 
- All Implemented Interfaces:
- IServiceDataObject,- java.io.Serializable
 
 public class ProcessInstance extends ServiceDataObject implements java.io.Serializable ProcessInstance is the representation of a single instance of a ProcessDefinition.- Version:
- 2013-08-26
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ProcessInstance()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityInstance[]getActivities()Gets the list of ActivityInstances contained within this ProcessInstance.ActivityInstancegetActivities(int index)Gets the value at the specified index in the Activities array.java.util.DategetCompletedDate()Gets the date the ProcessInstance was completed.java.util.DategetDueDate()Gets the date the ProcessInstance is due.java.util.DategetInitiatedDate()Gets the date the ProcessInstance was initiated.longgetInitiatorID()Gets the ID of the user that initiated the ProcessInstance.longgetManagerID()Gets the ID of user that manages the ProcessInstance.longgetProcessID()Gets the ID of the ProcessInstance.ProcessStatusgetStatus()Gets the current status of the ProcessInstance (suspended=1,executing=2,done=-1,stopped=-2,archived=-3).longgetSubProcessID()Gets the ID of the SubProcess of this ProcessInstance.java.lang.StringgetTitle()Gets the title of the ProcessInstance.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetActivities(int index, ActivityInstance value)Sets the value at the specified index in the fActivities array.voidsetActivities(ActivityInstance[] value)Sets the list of ActivityInstances contained within this ProcessInstance.voidsetCompletedDate(java.util.Date value)Sets the date the ProcessInstance was completed.voidsetDueDate(java.util.Date value)Sets the date the ProcessInstance is due.voidsetInitiatedDate(java.util.Date value)Sets the date the ProcessInstance was initiated.voidsetInitiatorID(long value)Sets the ID of the user that initiated the ProcessInstance.voidsetManagerID(long value)Sets the ID of user that manages the ProcessInstance.voidsetProcessID(long value)Sets the ID of the ProcessInstance.voidsetStatus(ProcessStatus value)Sets the current status of the ProcessInstance (suspended=1,executing=2,done=-1,stopped=-2,archived=-3).voidsetSubProcessID(long value)Sets the ID of the SubProcess of this ProcessInstance.voidsetTitle(java.lang.String value)Sets the title of the ProcessInstance.com.opentext.api.LLValuetoLLValue()Serialize an SDO object to an LLValue that can be sent to Livelink.java.lang.StringtoString()Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
 
- 
- 
- 
Method Detail- 
setActivitiespublic void setActivities(ActivityInstance[] value) Sets the list of ActivityInstances contained within this ProcessInstance.
 - 
getActivitiespublic ActivityInstance[] getActivities() Gets the list of ActivityInstances contained within this ProcessInstance.
 - 
setActivitiespublic void setActivities(int index, ActivityInstance value)Sets the value at the specified index in the fActivities array.
 - 
getActivitiespublic ActivityInstance getActivities(int index) Gets the value at the specified index in the Activities array.
 - 
setCompletedDatepublic void setCompletedDate(java.util.Date value) Sets the date the ProcessInstance was completed.
 - 
getCompletedDatepublic java.util.Date getCompletedDate() Gets the date the ProcessInstance was completed.
 - 
setDueDatepublic void setDueDate(java.util.Date value) Sets the date the ProcessInstance is due.
 - 
getDueDatepublic java.util.Date getDueDate() Gets the date the ProcessInstance is due.
 - 
setInitiatedDatepublic void setInitiatedDate(java.util.Date value) Sets the date the ProcessInstance was initiated.
 - 
getInitiatedDatepublic java.util.Date getInitiatedDate() Gets the date the ProcessInstance was initiated.
 - 
setInitiatorIDpublic void setInitiatorID(long value) Sets the ID of the user that initiated the ProcessInstance.
 - 
getInitiatorIDpublic long getInitiatorID() Gets the ID of the user that initiated the ProcessInstance.
 - 
setManagerIDpublic void setManagerID(long value) Sets the ID of user that manages the ProcessInstance.
 - 
getManagerIDpublic long getManagerID() Gets the ID of user that manages the ProcessInstance.
 - 
setProcessIDpublic void setProcessID(long value) Sets the ID of the ProcessInstance.
 - 
getProcessIDpublic long getProcessID() Gets the ID of the ProcessInstance.
 - 
setStatuspublic void setStatus(ProcessStatus value) Sets the current status of the ProcessInstance (suspended=1,executing=2,done=-1,stopped=-2,archived=-3).
 - 
getStatuspublic ProcessStatus getStatus() Gets the current status of the ProcessInstance (suspended=1,executing=2,done=-1,stopped=-2,archived=-3).
 - 
setSubProcessIDpublic void setSubProcessID(long value) Sets the ID of the SubProcess of this ProcessInstance.
 - 
getSubProcessIDpublic long getSubProcessID() Gets the ID of the SubProcess of this ProcessInstance.
 - 
setTitlepublic void setTitle(java.lang.String value) Sets the title of the ProcessInstance.
 - 
getTitlepublic java.lang.String getTitle() Gets the title of the ProcessInstance.
 - 
loadpublic void load(com.opentext.api.LLValue value) Description copied from interface:IServiceDataObjectDeserialize an ServiceDataObject from an LLValue that is received from Livelink. The LLValue is an Assoc that contains all of the features of this SDO. These features may refer to other SDOs and contain arrays of primitive values or SDOs. Each referenced SDO, will have its load() method called as well. Note: this is an internal method not meant to be called by clients.- Specified by:
- loadin interface- IServiceDataObject
- Overrides:
- loadin class- ServiceDataObject
- Parameters:
- value- the LLValue containing the data to be loaded
 
 - 
toLLValuepublic com.opentext.api.LLValue toLLValue() Description copied from interface:IServiceDataObjectSerialize an SDO object to an LLValue that can be sent to Livelink. Each feature of the SDO is stored in a key of the LLValue Assoc. Any references to other SDOs cause their toLLValue() method to be called. Note: this is an internal method not meant to be called by clients.- Specified by:
- toLLValuein interface- IServiceDataObject
- Overrides:
- toLLValuein class- ServiceDataObject
- Returns:
- Returns the LLValue object that represents this SDO
 
 - 
toStringpublic java.lang.String toString() Description copied from class:ServiceDataObjectReturns a string representation of the object consisting of the object name and any features and their values within square brackets. Intended for simple debugging or logging of an SDO.- Overrides:
- toStringin class- ServiceDataObject
 
 
- 
 
-