Class ContentComment

  • All Implemented Interfaces:
    java.io.Serializable

    @StableMinor(version="17.0",
                 sinceVersion="4.2")
    public class ContentComment
    extends java.lang.Object
    implements java.io.Serializable
    A comment done for a content in a specific locale.
    Since:
    4.2.0
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ContentComment()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCommentText()
      Returns this comment's text.
      ContentLocale getContentLocale()
      Returns the ContentLocale this comment belongs to.
      java.lang.String getCreatedBy()
      Returns the identifier of the principal that created this object.
      java.util.Date getCreatedDateTime()
      Returns the date-time this comment was created.
      void setCommentText​(java.lang.String commentText)
      Sets this comment's text.
      void setCreatedBy​(java.lang.String createdBy)
      Sets the principal that created this object.
      void setCreatedDateTime​(java.util.Date createdDateTime)
      Returns the date-time this comment was created.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContentComment

        public ContentComment()
    • Method Detail

      • getCreatedBy

        public java.lang.String getCreatedBy()
        Returns the identifier of the principal that created this object.
        Returns:
        the principal identifier.
        Since:
        4.2.0
      • setCreatedBy

        public void setCreatedBy​(java.lang.String createdBy)
        Sets the principal that created this object.
        Parameters:
        createdBy - the principal identifier.
        Since:
        4.2.0
      • getCreatedDateTime

        public java.util.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​(java.util.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 java.lang.String getCommentText()
        Returns this comment's text.
        Returns:
        this comment's text.
        Since:
        4.2.0
      • setCommentText

        public void setCommentText​(java.lang.String commentText)
        Sets this comment's text.
        Parameters:
        commentText - the text to set.
        Since:
        4.2.0
      • getContentLocale

        public ContentLocale getContentLocale()
        Returns the ContentLocale this comment belongs to.
        Returns:
        the contentLocale.
        Since:
        4.2.0