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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCommentCount(java.lang.Integer scopeId, java.lang.Integer refId)
java.util.List<Comment>
getComments(java.lang.Integer documentId)
java.util.List<Comment>
getCommentsForItem(java.lang.Integer itemId)
int
getRevisionItemCommentCount(java.lang.Integer revisionItemId, boolean thisRevisionOnly)
-
-
-
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)
-
-