Package com.atlassian.bamboo.comment
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
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.comment.Comment
getEntityId, orderingByMostRecentFirst
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
Constructor Summary
ConstructorDescriptionCommentImpl
(String content, String userName, Date commentDate, long entityId) -
Method Summary
Modifier and TypeMethodDescriptionThe actual comment that was addedlong
The id of object the comment was added tocom.atlassian.user.User
getUser()
The user that created the commentThe username of the user that created the commentvoid
setBambooUserManager
(BambooUserManager bambooUserManager) void
setContent
(String content) void
setEntityId
(long entityId) void
setUserName
(String userName) Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods inherited from interface com.atlassian.bamboo.comment.Comment
getCreationDate, getLastModificationDate
-
Constructor Details
-
CommentImpl
public CommentImpl() -
CommentImpl
-
-
Method Details
-
getContent
Description copied from interface:Comment
The actual comment that was added- Specified by:
getContent
in interfaceComment
-
setContent
- Specified by:
setContent
in interfaceComment
-
getUserName
Description copied from interface:Comment
The username of the user that created the comment- Specified by:
getUserName
in interfaceComment
- Returns:
-
setUserName
- Specified by:
setUserName
in interfaceComment
-
getUser
public com.atlassian.user.User getUser()Description copied from interface:Comment
The user that created the comment -
getEntityId
public long getEntityId()Description copied from interface:Comment
The id of object the comment was added to- Specified by:
getEntityId
in interfaceComment
-
setEntityId
public void setEntityId(long entityId) - Specified by:
setEntityId
in interfaceComment
-
setBambooUserManager
-