Package lumis.content.core
Class ContentComment
- java.lang.Object
-
- lumis.content.core.ContentComment
-
- All Implemented Interfaces:
Serializable
@StableMinor(version="14.1", sinceVersion="4.2") public class ContentComment extends Object implements Serializable
A comment done for a content in a specific locale.- Since:
- 4.2.0
- Version:
- $Revision: 24684 $ $Date: 2021-08-23 18:58:35 -0300 (Mon, 23 Aug 2021) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentComment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCommentText()
Returns this comment's text.ContentLocale
getContentLocale()
Returns theContentLocale
this comment belongs to.String
getCreatedBy()
Returns the identifier of the principal that created this object.Date
getCreatedDateTime()
Returns the date-time this comment was created.void
setCommentText(String commentText)
Sets this comment's text.void
setCreatedBy(String createdBy)
Sets the principal that created this object.void
setCreatedDateTime(Date createdDateTime)
Returns the date-time this comment was created.
-
-
-
Method Detail
-
getCreatedBy
public String getCreatedBy()
Returns the identifier of the principal that created this object.- Returns:
- the principal identifier.
- Since:
- 4.2.0
-
setCreatedBy
public void setCreatedBy(String createdBy)
Sets the principal that created this object.- Parameters:
createdBy
- the principal identifier.- Since:
- 4.2.0
-
getCreatedDateTime
public Date getCreatedDateTime()
Returns the date-time this comment was created.- Returns:
- the date-time this comment was created.
- Since:
- 4.2.0
-
setCreatedDateTime
public void setCreatedDateTime(Date createdDateTime)
Returns the date-time this comment was created.- Parameters:
createdDateTime
- the date-time this comment was created.- Since:
- 4.2.0
-
getCommentText
public String getCommentText()
Returns this comment's text.- Returns:
- this comment's text.
- Since:
- 4.2.0
-
setCommentText
public void setCommentText(String commentText)
Sets this comment's text.- Parameters:
commentText
- the text to set.- Since:
- 4.2.0
-
getContentLocale
public ContentLocale getContentLocale()
Returns theContentLocale
this comment belongs to.- Returns:
- the contentLocale.
- Since:
- 4.2.0
-
-