com.atlassian.bamboo.comment
Class CommentImpl

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

public class CommentImpl
extends BambooEntityObject
implements Comment


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
CommentImpl()
           
CommentImpl(ResultsSummary resultsSummary, java.lang.String content, java.lang.String userName, java.util.Date commentDate)
          Deprecated. 
CommentImpl(java.lang.String content, java.lang.String userName, java.util.Date commentDate, long entityId)
           
 
Method Summary
 java.lang.String getContent()
          The actual comment that was added
 long getEntityId()
          The id of object the comment was added to
 ResultsSummary getResultsSummary()
           
 com.atlassian.user.User getUser()
          The user that created the comment
 java.lang.String getUserName()
          The username of the user that created the comment
 void setBambooUserManager(BambooUserManager bambooUserManager)
           
 void setContent(java.lang.String content)
           
 void setEntityId(long entityId)
           
 void setResultsSummary(ResultsSummary resultsSummary)
           
 void setUserName(java.lang.String userName)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
equals, getId, hashCode, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.comment.Comment
getCreationDate, getLastModificationDate
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

CommentImpl

public CommentImpl()

CommentImpl

@Deprecated
public CommentImpl(ResultsSummary resultsSummary,
                              java.lang.String content,
                              java.lang.String userName,
                              java.util.Date commentDate)
Deprecated. 


CommentImpl

public CommentImpl(java.lang.String content,
                   java.lang.String userName,
                   java.util.Date commentDate,
                   long entityId)
Method Detail

getContent

public java.lang.String getContent()
Description copied from interface: Comment
The actual comment that was added

Specified by:
getContent in interface Comment
Returns:

setContent

public void setContent(java.lang.String content)
Specified by:
setContent in interface Comment

getUserName

public java.lang.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(java.lang.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:

getResultsSummary

public ResultsSummary getResultsSummary()
Specified by:
getResultsSummary in interface Comment
Returns:

setResultsSummary

public void setResultsSummary(ResultsSummary resultsSummary)
Specified by:
setResultsSummary in interface Comment

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)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.