Class CommentData
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.workflowservice.ApplicationData
-
- com.opentext.livelink.service.workflowservice.CommentData
-
- All Implemented Interfaces:
IServiceDataObject,java.io.Serializable
public class CommentData extends ApplicationData implements java.io.Serializable
CommentData defines the comments associated with a Process.- Version:
- 2013-08-26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CommentData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetComment()Gets the comment for the current ActivityInstance.ActivityComment[]getComments()Gets the list of ActivityComment objects representing comments from previous ActivityInstances.ActivityCommentgetComments(int index)Gets the value at the specified index in the Comments array.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetComment(java.lang.String value)Sets the comment for the current ActivityInstance.voidsetComments(int index, ActivityComment value)Sets the value at the specified index in the fComments array.voidsetComments(ActivityComment[] value)Sets the list of ActivityComment objects representing comments from previous ActivityInstances.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.-
Methods inherited from class com.opentext.livelink.service.workflowservice.ApplicationData
getDescription, getInstructions, setDescription, setInstructions
-
-
-
-
Method Detail
-
setComment
public void setComment(java.lang.String value)
Sets the comment for the current ActivityInstance.
-
getComment
public java.lang.String getComment()
Gets the comment for the current ActivityInstance.
-
setComments
public void setComments(ActivityComment[] value)
Sets the list of ActivityComment objects representing comments from previous ActivityInstances.
-
getComments
public ActivityComment[] getComments()
Gets the list of ActivityComment objects representing comments from previous ActivityInstances.
-
setComments
public void setComments(int index, ActivityComment value)Sets the value at the specified index in the fComments array.
-
getComments
public ActivityComment getComments(int index)
Gets the value at the specified index in the Comments array.
-
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 classApplicationData- 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 classApplicationData- 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 classApplicationData
-
-