Class ActivityInstance
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.workflowservice.ActivityInstance
-
- All Implemented Interfaces:
IServiceDataObject,java.io.Serializable
public class ActivityInstance extends ServiceDataObject implements java.io.Serializable
ActivityInstance is the representation of the current Activity in a ProcessInstance.- Version:
- 2013-08-26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityInstance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetCompletedDate()Gets the date the ActivityInstance completed.java.lang.StringgetDisposition()Gets the disposition of the ActivityInstance.java.util.DategetDueDate()Gets the date the ActivityInstance is due.intgetID()Gets the ID of the ActivityInstance.java.lang.LonggetMemberID()Gets the ID of the user performing the ActivityInstancejava.util.DategetMilestoneDate()Gets the date the last milestone was reached.longgetProcessID()Gets the ID of the ProcessInstance that the ActivityInstance is part of.java.util.DategetReadyDate()Gets the date the ActivityInstance became ready.ActivityStatusgetStatus()Gets the current status of the ActivityInstancelonggetSubProcessID()Gets the ID of the SubProcess that the ActivityInstance is part of.java.lang.StringgetTitle()Gets the title of the ActivityInstance.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetCompletedDate(java.util.Date value)Sets the date the ActivityInstance completed.voidsetDisposition(java.lang.String value)Sets the disposition of the ActivityInstance.voidsetDueDate(java.util.Date value)Sets the date the ActivityInstance is due.voidsetID(int value)Sets the ID of the ActivityInstance.voidsetMemberID(java.lang.Long value)Sets the ID of the user performing the ActivityInstancevoidsetMilestoneDate(java.util.Date value)Sets the date the last milestone was reached.voidsetProcessID(long value)Sets the ID of the ProcessInstance that the ActivityInstance is part of.voidsetReadyDate(java.util.Date value)Sets the date the ActivityInstance became ready.voidsetStatus(ActivityStatus value)Sets the current status of the ActivityInstancevoidsetSubProcessID(long value)Sets the ID of the SubProcess that the ActivityInstance is part of.voidsetTitle(java.lang.String value)Sets the title of the ActivityInstance.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
-
setCompletedDate
public void setCompletedDate(java.util.Date value)
Sets the date the ActivityInstance completed.
-
getCompletedDate
public java.util.Date getCompletedDate()
Gets the date the ActivityInstance completed.
-
setDisposition
public void setDisposition(java.lang.String value)
Sets the disposition of the ActivityInstance.
-
getDisposition
public java.lang.String getDisposition()
Gets the disposition of the ActivityInstance.
-
setDueDate
public void setDueDate(java.util.Date value)
Sets the date the ActivityInstance is due.
-
getDueDate
public java.util.Date getDueDate()
Gets the date the ActivityInstance is due.
-
setID
public void setID(int value)
Sets the ID of the ActivityInstance.
-
getID
public int getID()
Gets the ID of the ActivityInstance.
-
setMemberID
public void setMemberID(java.lang.Long value)
Sets the ID of the user performing the ActivityInstance
-
getMemberID
public java.lang.Long getMemberID()
Gets the ID of the user performing the ActivityInstance
-
setMilestoneDate
public void setMilestoneDate(java.util.Date value)
Sets the date the last milestone was reached.
-
getMilestoneDate
public java.util.Date getMilestoneDate()
Gets the date the last milestone was reached.
-
setProcessID
public void setProcessID(long value)
Sets the ID of the ProcessInstance that the ActivityInstance is part of.
-
getProcessID
public long getProcessID()
Gets the ID of the ProcessInstance that the ActivityInstance is part of.
-
setReadyDate
public void setReadyDate(java.util.Date value)
Sets the date the ActivityInstance became ready.
-
getReadyDate
public java.util.Date getReadyDate()
Gets the date the ActivityInstance became ready.
-
setStatus
public void setStatus(ActivityStatus value)
Sets the current status of the ActivityInstance
-
getStatus
public ActivityStatus getStatus()
Gets the current status of the ActivityInstance
-
setSubProcessID
public void setSubProcessID(long value)
Sets the ID of the SubProcess that the ActivityInstance is part of. A single process can have several subprocesses, depending on the activities in the workflow.
-
getSubProcessID
public long getSubProcessID()
Gets the ID of the SubProcess that the ActivityInstance is part of. A single process can have several subprocesses, depending on the activities in the workflow.
-
setTitle
public void setTitle(java.lang.String value)
Sets the title of the ActivityInstance.
-
getTitle
public java.lang.String getTitle()
Gets the title of the ActivityInstance.
-
load
public 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 interfaceIServiceDataObject- Overrides:
loadin classServiceDataObject- Parameters:
value- the LLValue containing the data to be loaded
-
toLLValue
public 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 interfaceIServiceDataObject- Overrides:
toLLValuein classServiceDataObject- Returns:
- Returns the LLValue object that represents this SDO
-
toString
public 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 classServiceDataObject
-
-