Interface SThreadedComment

All Known Implementing Classes:
ThreadedCommentImpl

public interface SThreadedComment
Represents a threaded comment on a cell. A threaded comment may be a root comment (parentId is null) or a reply to another comment. Maps to threadedComment elements in xl/threadedComments/threadedComment*.xml.
Since:
7.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the author of this comment.
    int
    Returns the column index of the cell this comment is attached to.
    Returns the date and time when this comment was created.
    Returns the unique identifier (GUID) of this comment.
    Returns the parent comment's ID, or null if this is a root comment.
    Returns the list of direct replies to this comment.
    int
    Returns the row index of the cell this comment is attached to.
    Returns the text content of this comment.
    boolean
    Returns whether this comment thread is resolved.
    void
    setResolved(boolean resolved)
    Sets the resolved state of this comment thread.
    void
    Sets the text content of this comment.
  • Method Details

    • getId

      String getId()
      Returns the unique identifier (GUID) of this comment.
      Returns:
      the comment GUID
    • getText

      String getText()
      Returns the text content of this comment.
      Returns:
      the comment text
    • setText

      void setText(String text)
      Sets the text content of this comment.
      Parameters:
      text - the new text
    • getAuthor

      Returns the author of this comment.
      Returns:
      the author
    • getCreatedDate

      Date getCreatedDate()
      Returns the date and time when this comment was created.
      Returns:
      the created date
    • getParentId

      String getParentId()
      Returns the parent comment's ID, or null if this is a root comment.
      Returns:
      the parent ID, or null
    • getReplies

      List<SThreadedComment> getReplies()
      Returns the list of direct replies to this comment.
      Returns:
      an unmodifiable list of replies
    • isResolved

      boolean isResolved()
      Returns whether this comment thread is resolved.
      Returns:
      true if resolved
    • setResolved

      void setResolved(boolean resolved)
      Sets the resolved state of this comment thread.
      Parameters:
      resolved - true to mark as resolved
    • getRow

      int getRow()
      Returns the row index of the cell this comment is attached to.
      Returns:
      the row index (0-based)
    • getCol

      int getCol()
      Returns the column index of the cell this comment is attached to.
      Returns:
      the column index (0-based)