@Entity public class CommentImpl extends BambooEntityObject implements Comment
getEntityId, orderingByMostRecentFirst
ORDERING
Constructor and Description |
---|
CommentImpl() |
CommentImpl(String content,
String userName,
Date commentDate,
long entityId) |
Modifier and Type | Method and Description |
---|---|
String |
getContent()
The actual comment that was added
|
long |
getEntityId()
The id of object the comment was added to
|
com.atlassian.user.User |
getUser()
The user that created the comment
|
String |
getUserName()
The username of the user that created the comment
|
void |
setBambooUserManager(BambooUserManager bambooUserManager) |
void |
setContent(String content) |
void |
setEntityId(long entityId) |
void |
setUserName(String userName) |
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getCreationDate, getLastModificationDate
setId
getId
public String getContent()
Comment
getContent
in interface Comment
public void setContent(String content)
setContent
in interface Comment
public String getUserName()
Comment
getUserName
in interface Comment
public void setUserName(String userName)
setUserName
in interface Comment
public com.atlassian.user.User getUser()
Comment
public long getEntityId()
Comment
getEntityId
in interface Comment
public void setEntityId(long entityId)
setEntityId
in interface Comment
public void setBambooUserManager(BambooUserManager bambooUserManager)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.