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 Summary
Modifier and TypeMethodDescriptioncreateBean(Issue issue, boolean isRendered, String rendererType, ApplicationUser loggedInUser)
-
Method Details
-
createBean
CommentsJsonBean createBean(Issue issue, boolean isRendered, String rendererType, ApplicationUser loggedInUser) - Parameters:
issue- the issue associated with the commentsisRendered- whether the comments should be renderedrendererType- the type of renderer to use for the commentsloggedInUser- the user context for filtering comments (check browse permissions)- Returns:
- instance of CommentsJsonBean
-