Interface Comment
- All Superinterfaces:
Entity
,Resource
,Serializable
Represents a comment
-
Method Summary
Modifier and TypeMethodDescriptionReturns the reference to the resource this comment refers to.Returns the actual (HTML) content of the comment.Returns list of users which have been mentioned in comment.Returns the reference to the comment this comment replies to.Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
Method Details
-
getContent
String getContent()Returns the actual (HTML) content of the comment.- Returns:
- The actual (HTML) content of the comment
-
getParent
ResourceReference getParent()Returns the reference to the comment this comment replies to. If not present then this is top-level comment.- Returns:
- the reference to the comment this comment replies to
-
getBaseResource
ResourceReference getBaseResource()Returns the reference to the resource this comment refers to.- Returns:
- the reference to the resource this comment refers to
-
getMentionedUsers
Returns list of users which have been mentioned in comment.- Returns:
- the list of users
-