Interface Comment

  • All Superinterfaces:
    Entity, Resource, Serializable

    public interface Comment
    extends Resource
    Represents a comment
    • 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