public class DefaultCommentBeanFactory extends Object implements CommentBeanFactory
Constructor and Description |
---|
DefaultCommentBeanFactory(ProjectRoleManager projectRoleManager,
DateTimeFormatterFactory dateTimeFormatterFactory,
RendererManager rendererManager,
JiraBaseUrls jiraBaseUrls,
FieldLayoutManager fieldLayoutManager) |
Modifier and Type | Method and Description |
---|---|
CommentJsonBean |
createBean(Comment comment)
Deprecated.
|
CommentJsonBean |
createBean(Comment comment,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter)
Generate a bean suitable for serialisation by Jackon into JSON.
|
CommentJsonBean |
createRenderedBean(Comment comment)
Deprecated.
|
CommentJsonBean |
createRenderedBean(Comment comment,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter)
Generate a bean suitable for serialisation by Jackon into JSON.
|
public DefaultCommentBeanFactory(ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, JiraBaseUrls jiraBaseUrls, FieldLayoutManager fieldLayoutManager)
@Deprecated public CommentJsonBean createBean(Comment comment)
CommentBeanFactory
createBean
in interface CommentBeanFactory
public CommentJsonBean createBean(Comment comment, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
CommentBeanFactory
createBean
in interface CommentBeanFactory
@Deprecated public CommentJsonBean createRenderedBean(Comment comment)
CommentBeanFactory
createRenderedBean
in interface CommentBeanFactory
public CommentJsonBean createRenderedBean(Comment comment, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
CommentBeanFactory
createRenderedBean
in interface CommentBeanFactory
Copyright © 2002-2019 Atlassian. All Rights Reserved.