public class NewsInfo extends ServiceDataObject implements Serializable
Constructor and Description |
---|
NewsInfo() |
Modifier and Type | Method and Description |
---|---|
NewsAttachment[] |
getAttachments()
Gets the attachments related to the news item.
|
NewsAttachment |
getAttachments(int index)
Gets the value at the specified index in the Attachments array.
|
Long |
getCreatedBy()
Gets the ID of the member who created the news item.
|
Date |
getEffectiveDate()
Gets the effective (start) date of the news item.
|
Date |
getExpirationDate()
Gets the expiration date of the news item.
|
String |
getHeadline()
Gets the headline of the news item.
|
long |
getID()
Gets the ID of the news item.
|
String |
getName()
Gets the name of the news item.
|
long |
getParentID()
Gets the parent ID of the news item.
|
String |
getStory()
Gets the story of the news item.
|
void |
load(com.opentext.api.LLValue value)
Deserialize an ServiceDataObject from an LLValue that is received from Livelink.
|
void |
setAttachments(int index,
NewsAttachment value)
Sets the value at the specified index in the fAttachments array.
|
void |
setAttachments(NewsAttachment[] value)
Sets the attachments related to the news item.
|
void |
setCreatedBy(Long value)
Sets the ID of the member who created the news item.
|
void |
setEffectiveDate(Date value)
Sets the effective (start) date of the news item.
|
void |
setExpirationDate(Date value)
Sets the expiration date of the news item.
|
void |
setHeadline(String value)
Sets the headline of the news item.
|
void |
setID(long value)
Sets the ID of the news item.
|
void |
setName(String value)
Sets the name of the news item.
|
void |
setParentID(long value)
Sets the parent ID of the news item.
|
void |
setStory(String value)
Sets the story of the news item.
|
com.opentext.api.LLValue |
toLLValue()
Serialize an SDO object to an LLValue that can be sent to Livelink.
|
String |
toString()
Returns a string representation of the object consisting of the object name
and any features and their values within square brackets.
|
public void setAttachments(NewsAttachment[] value)
public NewsAttachment[] getAttachments()
public void setAttachments(int index, NewsAttachment value)
public NewsAttachment getAttachments(int index)
public void setCreatedBy(Long value)
public Long getCreatedBy()
public void setEffectiveDate(Date value)
public Date getEffectiveDate()
public void setExpirationDate(Date value)
public Date getExpirationDate()
public void setHeadline(String value)
public String getHeadline()
public void setID(long value)
public long getID()
public void setName(String value)
public String getName()
public void setParentID(long value)
public long getParentID()
public void setStory(String value)
public String getStory()
public void load(com.opentext.api.LLValue value)
IServiceDataObject
load
in interface IServiceDataObject
load
in class ServiceDataObject
value
- the LLValue containing the data to be loadedpublic com.opentext.api.LLValue toLLValue()
IServiceDataObject
toLLValue
in interface IServiceDataObject
toLLValue
in class ServiceDataObject
public String toString()
ServiceDataObject
toString
in class ServiceDataObject
© Copyright 2017 OpenText Corp. All Rights Reserved.