public abstract class VersionedCommentData extends CommentDataImpl implements java.io.Serializable
CommentDataImpl.CommentDataBuilder<M extends CommentDataImpl.CommentDataBuilder,T extends CommentDataImpl>
CommentData.Status
Modifier and Type | Field and Description |
---|---|
protected PermId<ReviewItemData> |
reviewItemId |
Constructor and Description |
---|
VersionedCommentData()
Deprecated.
only use for serialization.
|
VersionedCommentData(PermId<ReviewItemData> reviewItemId,
java.lang.String message,
boolean draft,
boolean defectApproved,
CommentData.Status readStatus,
UserData user,
boolean deleted,
java.lang.String permId,
java.util.Date createDate,
boolean defectRaised,
java.util.List<GeneralCommentData> replies,
java.util.Map<java.lang.String,CustomFieldData> metrics,
java.lang.String parentCommentPermId)
|
VersionedCommentData(PermId<ReviewItemData> reviewItemId,
java.lang.String message,
java.lang.String messageAsHtml,
boolean draft,
boolean defectApproved,
CommentData.Status readStatus,
UserData user,
boolean deleted,
java.lang.String permId,
java.util.Date createDate,
boolean defectRaised,
java.util.List<GeneralCommentData> replies,
java.util.Map<java.lang.String,CustomFieldData> metrics,
java.lang.String parentCommentPermId) |
Modifier and Type | Method and Description |
---|---|
PermId<ReviewItemData> |
getReviewItemId() |
void |
setReviewItemId(PermId<ReviewItemData> reviewItemId) |
getCreateDate, getMessage, getMessageAsHtml, getMetrics, getParentCommentId, getPermaId, getPermaIdAsString, getReadStatus, getReplies, getUser, isDefectApproved, isDefectRaised, isDeleted, isDraft, setCreateDate, setDefectApproved, setDefectRaised, setDeleted, setDraft, setMessage, setMessageAsHtml, setMetrics, setParentCommentId, setPermaId, setPermaIdAsString, setReadStatus, setReplies, setUser
protected PermId<ReviewItemData> reviewItemId
@Deprecated public VersionedCommentData(PermId<ReviewItemData> reviewItemId, java.lang.String message, boolean draft, boolean defectApproved, CommentData.Status readStatus, UserData user, boolean deleted, java.lang.String permId, java.util.Date createDate, boolean defectRaised, java.util.List<GeneralCommentData> replies, java.util.Map<java.lang.String,CustomFieldData> metrics, java.lang.String parentCommentPermId)
public VersionedCommentData(PermId<ReviewItemData> reviewItemId, java.lang.String message, java.lang.String messageAsHtml, boolean draft, boolean defectApproved, CommentData.Status readStatus, UserData user, boolean deleted, java.lang.String permId, java.util.Date createDate, boolean defectRaised, java.util.List<GeneralCommentData> replies, java.util.Map<java.lang.String,CustomFieldData> metrics, java.lang.String parentCommentPermId)
message
- the contents of the comment.messageAsHtml
- the wiki rendered version of the comment. Can be null.
see ReviewService.addComment(com.atlassian.crucible.spi.PermId, VersionedLineCommentData)
@Deprecated public VersionedCommentData()
public void setReviewItemId(PermId<ReviewItemData> reviewItemId)
public PermId<ReviewItemData> getReviewItemId()