Interface CommentsBeanFactory

All Known Implementing Classes:
DefaultCommentsBeanFactory

public interface CommentsBeanFactory
This provides a simple, dependency-free, straight forward API to generating the JSON corresponding to a Comments list.
Since:
v10.3.13
  • Method Details

    • createBean

      CommentsJsonBean createBean(Issue issue, boolean isRendered, String rendererType, ApplicationUser loggedInUser)
      Parameters:
      issue - the issue associated with the comments
      isRendered - whether the comments should be rendered
      rendererType - the type of renderer to use for the comments
      loggedInUser - the user context for filtering comments (check browse permissions)
      Returns:
      instance of CommentsJsonBean