Class CommentImpl

java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.comment.CommentImpl
All Implemented Interfaces:
Comment, BambooIdProvider, BambooObject, CreationDateProvider, Cloneable

@Entity public class CommentImpl extends BambooEntityObject implements Comment
  • Constructor Details

    • CommentImpl

      public CommentImpl()
    • CommentImpl

      public CommentImpl(String content, String userName, Date commentDate, long entityId)
  • Method Details

    • getContent

      public String getContent()
      Description copied from interface: Comment
      The actual comment that was added
      Specified by:
      getContent in interface Comment
    • setContent

      public void setContent(String content)
      Specified by:
      setContent in interface Comment
    • getUserName

      public String getUserName()
      Description copied from interface: Comment
      The username of the user that created the comment
      Specified by:
      getUserName in interface Comment
      Returns:
    • setUserName

      public void setUserName(String userName)
      Specified by:
      setUserName in interface Comment
    • getUser

      public com.atlassian.user.User getUser()
      Description copied from interface: Comment
      The user that created the comment
      Specified by:
      getUser in interface Comment
      Returns:
    • getEntityId

      public long getEntityId()
      Description copied from interface: Comment
      The id of object the comment was added to
      Specified by:
      getEntityId in interface Comment
    • setEntityId

      public void setEntityId(long entityId)
      Specified by:
      setEntityId in interface Comment
    • setBambooUserManager

      public void setBambooUserManager(BambooUserManager bambooUserManager)