Interface Comment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceReference
getBaseResource()
Returns the reference to the resource this comment refers to.String
getContent()
Returns the actual (HTML) content of the comment.List<User>
getMentionedUsers()
Returns list of users which have been mentioned in comment.ResourceReference
getParent()
Returns the reference to the comment this comment replies to.-
Methods inherited from interface Resource
getCreatedBy, getCreatedOn, getLastModifiedBy, getLastModifiedOn, getResourceType, isSystem
-
-
-
-
Method Detail
-
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
List<User> getMentionedUsers()
Returns list of users which have been mentioned in comment.- Returns:
- the list of users
-
-