Interface CommentSource

  • All Superinterfaces:
    VelocityDataSource

    public interface CommentSource
    extends VelocityDataSource
    Contains methods to fetch information regarding comments.

    These methods are exposed to Velocity reports on the commentSource object within the global context. Example: $commentSource.getCommentCount(1, 1)

    • Method Detail

      • getComments

        java.util.List<Comment> getComments​(java.lang.Integer documentId)
      • getCommentCount

        int getCommentCount​(java.lang.Integer scopeId,
                            java.lang.Integer refId)
      • getRevisionItemCommentCount

        int getRevisionItemCommentCount​(java.lang.Integer revisionItemId,
                                        boolean thisRevisionOnly)
      • getCommentsForItem

        java.util.List<Comment> getCommentsForItem​(java.lang.Integer itemId)