Class TaskInfo
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.collaboration.TaskListItem
-
- com.opentext.livelink.service.collaboration.TaskInfo
-
- All Implemented Interfaces:
IServiceDataObject,java.io.Serializable
public class TaskInfo extends TaskListItem implements java.io.Serializable
TaskInfo is a light weight object that provides details about a task.- Version:
- 2013-08-26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAcceptorOnly()Gets multi-assignment task feature (legacy only).longgetAssignedTo()Gets the ID of the member the task is assigned to.java.lang.StringgetComments()Gets the current status of the task.java.util.DategetCompletionDate()Gets the completion date for the task.java.util.DategetDateAssigned()Gets the date the task was assigned.java.util.DategetDueDate()Gets the date the task is due to be completed.java.lang.StringgetInstructions()Gets the instructions on how to complete the task.longgetMilestone()Gets the ID of the milestone associated with the task.TaskPrioritygetPriority()Gets the priority of the task.java.util.DategetStartDate()Gets the date the task started.TaskStatusgetStatus()Gets the current status of the task.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetAcceptorOnly(boolean value)Sets multi-assignment task feature (legacy only).voidsetAssignedTo(long value)Sets the ID of the member the task is assigned to.voidsetComments(java.lang.String value)Sets the current status of the task.voidsetCompletionDate(java.util.Date value)Sets the completion date for the task.voidsetDateAssigned(java.util.Date value)Sets the date the task was assigned.voidsetDueDate(java.util.Date value)Sets the date the task is due to be completed.voidsetInstructions(java.lang.String value)Sets the instructions on how to complete the task.voidsetMilestone(long value)Sets the ID of the milestone associated with the task.voidsetPriority(TaskPriority value)Sets the priority of the task.voidsetStartDate(java.util.Date value)Sets the date the task started.voidsetStatus(TaskStatus value)Sets the current status of the task.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.collaboration.TaskListItem
getID, getName, getParentID, setID, setName, setParentID
-
-
-
-
Method Detail
-
setAcceptorOnly
public void setAcceptorOnly(boolean value)
Sets multi-assignment task feature (legacy only).
-
getAcceptorOnly
public boolean getAcceptorOnly()
Gets multi-assignment task feature (legacy only).
-
setAssignedTo
public void setAssignedTo(long value)
Sets the ID of the member the task is assigned to.
-
getAssignedTo
public long getAssignedTo()
Gets the ID of the member the task is assigned to.
-
setComments
public void setComments(java.lang.String value)
Sets the current status of the task.
-
getComments
public java.lang.String getComments()
Gets the current status of the task.
-
setCompletionDate
public void setCompletionDate(java.util.Date value)
Sets the completion date for the task.
-
getCompletionDate
public java.util.Date getCompletionDate()
Gets the completion date for the task.
-
setDateAssigned
public void setDateAssigned(java.util.Date value)
Sets the date the task was assigned.
-
getDateAssigned
public java.util.Date getDateAssigned()
Gets the date the task was assigned.
-
setDueDate
public void setDueDate(java.util.Date value)
Sets the date the task is due to be completed.
-
getDueDate
public java.util.Date getDueDate()
Gets the date the task is due to be completed.
-
setInstructions
public void setInstructions(java.lang.String value)
Sets the instructions on how to complete the task.
-
getInstructions
public java.lang.String getInstructions()
Gets the instructions on how to complete the task.
-
setMilestone
public void setMilestone(long value)
Sets the ID of the milestone associated with the task.
-
getMilestone
public long getMilestone()
Gets the ID of the milestone associated with the task.
-
setPriority
public void setPriority(TaskPriority value)
Sets the priority of the task.
-
getPriority
public TaskPriority getPriority()
Gets the priority of the task.
-
setStartDate
public void setStartDate(java.util.Date value)
Sets the date the task started.
-
getStartDate
public java.util.Date getStartDate()
Gets the date the task started.
-
setStatus
public void setStatus(TaskStatus value)
Sets the current status of the task.
-
getStatus
public TaskStatus getStatus()
Gets the current status of the task.
-
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 classTaskListItem- 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 classTaskListItem- 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 classTaskListItem
-
-