com.atlassian.crucible.spi.data
Class VersionedCommentData
java.lang.Object
com.atlassian.crucible.spi.data.CommentDataImpl
com.atlassian.crucible.spi.data.VersionedCommentData
- All Implemented Interfaces:
- CommentData, java.io.Serializable
- Direct Known Subclasses:
- VersionedLineCommentData
public abstract class VersionedCommentData
- extends CommentDataImpl
- implements java.io.Serializable
An abstract base class for beans containing the attributes of comments
- See Also:
- Serialized Form
Constructor Summary |
VersionedCommentData()
|
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)
|
Methods inherited from class com.atlassian.crucible.spi.data.CommentDataImpl |
getCreateDate, getMessage, getMetrics, getParentCommentId, getPermaIdAsString, getReadStatus, getReplies, getUser, isDefectApproved, isDefectRaised, isDeleted, isDraft, setCreateDate, setDefectApproved, setDefectRaised, setDeleted, setDraft, setMessage, setMetrics, setParentCommentId, setPermaIdAsString, setReadStatus, setReplies, setUser |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reviewItemId
protected PermId<ReviewItemData> reviewItemId
VersionedCommentData
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)
VersionedCommentData
public VersionedCommentData()
getPermaId
public PermId<VersionedLineCommentData> getPermaId()
- Get the comment's perma-id.
setPermaId
public void setPermaId(PermId<VersionedLineCommentData> permaId)
- Set the comment's perma-id.
This field should not be set by client code. Perma-ids are allocated when
a comment is created.
setReviewItemId
public void setReviewItemId(PermId<ReviewItemData> reviewItemId)
getReviewItemId
public PermId<ReviewItemData> getReviewItemId()