Class Activity
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.workflowservice.Activity
-
- All Implemented Interfaces:
IServiceDataObject
,java.io.Serializable
public class Activity extends ServiceDataObject implements java.io.Serializable
Activity is a description of one logical step within a process.- Version:
- 2013-08-26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Activity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getDuration()
Gets the duration of the Activity (in seconds).long
getID()
Gets the ID of the Activity.java.lang.String
getInstructions()
Gets the instructions for performing the Activity.java.lang.Long
getMemberID()
Gets the user ID of the user to whom the Activity is assigned.ActivityPermissions
getPermissions()
Gets the permissions configured for the Activity.java.lang.Integer
getPriority()
Gets the priority of the Activity (high=100,medium=50,low=0).java.util.Date
getStartDate()
Gets the date and time the Activity was started.ActivitySubtype
getSubtype()
Gets the task subtype.java.lang.String
getTitle()
Gets the title of the Activity.ActivityType
getType()
Gets the task type.void
load(com.opentext.api.LLValue value)
Deserialize an ServiceDataObject from an LLValue that is received from Livelink.void
setDuration(java.lang.Integer value)
Sets the duration of the Activity (in seconds).void
setID(long value)
Sets the ID of the Activity.void
setInstructions(java.lang.String value)
Sets the instructions for performing the Activity.void
setMemberID(java.lang.Long value)
Sets the user ID of the user to whom the Activity is assigned.void
setPermissions(ActivityPermissions value)
Sets the permissions configured for the Activity.void
setPriority(java.lang.Integer value)
Sets the priority of the Activity (high=100,medium=50,low=0).void
setStartDate(java.util.Date value)
Sets the date and time the Activity was started.void
setSubtype(ActivitySubtype value)
Sets the task subtype.void
setTitle(java.lang.String value)
Sets the title of the Activity.void
setType(ActivityType value)
Sets the task type.com.opentext.api.LLValue
toLLValue()
Serialize an SDO object to an LLValue that can be sent to Livelink.java.lang.String
toString()
Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
-
-
-
Method Detail
-
setDuration
public void setDuration(java.lang.Integer value)
Sets the duration of the Activity (in seconds).
-
getDuration
public java.lang.Integer getDuration()
Gets the duration of the Activity (in seconds).
-
setID
public void setID(long value)
Sets the ID of the Activity.
-
getID
public long getID()
Gets the ID of the Activity.
-
setInstructions
public void setInstructions(java.lang.String value)
Sets the instructions for performing the Activity.
-
getInstructions
public java.lang.String getInstructions()
Gets the instructions for performing the Activity.
-
setMemberID
public void setMemberID(java.lang.Long value)
Sets the user ID of the user to whom the Activity is assigned.
-
getMemberID
public java.lang.Long getMemberID()
Gets the user ID of the user to whom the Activity is assigned.
-
setPermissions
public void setPermissions(ActivityPermissions value)
Sets the permissions configured for the Activity.
-
getPermissions
public ActivityPermissions getPermissions()
Gets the permissions configured for the Activity.
-
setPriority
public void setPriority(java.lang.Integer value)
Sets the priority of the Activity (high=100,medium=50,low=0).
-
getPriority
public java.lang.Integer getPriority()
Gets the priority of the Activity (high=100,medium=50,low=0).
-
setStartDate
public void setStartDate(java.util.Date value)
Sets the date and time the Activity was started.
-
getStartDate
public java.util.Date getStartDate()
Gets the date and time the Activity was started.
-
setSubtype
public void setSubtype(ActivitySubtype value)
Sets the task subtype.
-
getSubtype
public ActivitySubtype getSubtype()
Gets the task subtype.
-
setTitle
public void setTitle(java.lang.String value)
Sets the title of the Activity.
-
getTitle
public java.lang.String getTitle()
Gets the title of the Activity.
-
setType
public void setType(ActivityType value)
Sets the task type.
-
getType
public ActivityType getType()
Gets the task type.
-
load
public void load(com.opentext.api.LLValue value)
Description copied from interface:IServiceDataObject
Deserialize 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:
load
in interfaceIServiceDataObject
- Overrides:
load
in classServiceDataObject
- Parameters:
value
- the LLValue containing the data to be loaded
-
toLLValue
public com.opentext.api.LLValue toLLValue()
Description copied from interface:IServiceDataObject
Serialize 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:
toLLValue
in interfaceIServiceDataObject
- Overrides:
toLLValue
in classServiceDataObject
- Returns:
- Returns the LLValue object that represents this SDO
-
toString
public java.lang.String toString()
Description copied from class:ServiceDataObject
Returns 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:
toString
in classServiceDataObject
-
-