public class

CommentJsonBean

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.json.beans.CommentJsonBean

Summary

Fields
public static final CommentJsonBean DOC_EXAMPLE
public static final CommentJsonBean DOC_UPDATE_EXAMPLE
Public Constructors
CommentJsonBean()
Public Methods
@Deprecated static CommentJsonBean expandedShortBean(Comment comment, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext, String expand)
static CommentJsonBean expandedShortBean(Comment comment, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext, String expand, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
@Deprecated static Collection<CommentJsonBean> expandedShortBeans(Collection<Comment> comments, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext, String expand)
static Collection<CommentJsonBean> expandedShortBeans(Collection<Comment> comments, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext, String expand, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
UserJsonBean getAuthor()
String getBody()
Date getCreated()
String getId()
List<EntityPropertyBean> getProperties()
String getRenderedBody()
String getSelf()
UserJsonBean getUpdateAuthor()
Date getUpdated()
VisibilityJsonBean getVisibility()
boolean isBodySet()
boolean isVisibilitySet()
static CommentJsonBean renderedShortBean(Comment comment, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
@Deprecated static CommentJsonBean renderedShortBean(Comment comment, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext)
static Collection<CommentJsonBean> renderedShortBeans(Collection<Comment> comments, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
@Deprecated static Collection<CommentJsonBean> renderedShortBeans(Collection<Comment> comments, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext)
void setAuthor(UserJsonBean author)
void setBody(String body)
void setCreated(Date created)
void setId(String id)
void setProperties(List<Map<StringObject>> properties)
void setRenderedBody(String renderedBody)
void setSelf(String self)
void setUpdateAuthor(UserJsonBean updateAuthor)
void setUpdated(Date updated)
void setVisibility(VisibilityJsonBean visibility)
static CommentJsonBean shortBean(Comment comment, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
@Deprecated static CommentJsonBean shortBean(Comment comment, JiraBaseUrls urls, ProjectRoleManager projectRoleManager)
static Collection<CommentJsonBean> shortBeans(Collection<Comment> comments, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
@Deprecated static Collection<CommentJsonBean> shortBeans(Collection<Comment> comments, JiraBaseUrls urls, ProjectRoleManager projectRoleManager)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final CommentJsonBean DOC_EXAMPLE

public static final CommentJsonBean DOC_UPDATE_EXAMPLE

Public Constructors

public CommentJsonBean ()

Public Methods

public static CommentJsonBean expandedShortBean (Comment comment, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext, String expand, ApplicationUser loggedInUser, EmailFormatter emailFormatter)

Returns
  • null if the input is null

public static Collection<CommentJsonBean> expandedShortBeans (Collection<Comment> comments, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext, String expand, ApplicationUser loggedInUser, EmailFormatter emailFormatter)

public UserJsonBean getAuthor ()

public String getBody ()

public Date getCreated ()

public String getId ()

public List<EntityPropertyBean> getProperties ()

public String getRenderedBody ()

public String getSelf ()

public UserJsonBean getUpdateAuthor ()

public Date getUpdated ()

public VisibilityJsonBean getVisibility ()

public boolean isBodySet ()

public boolean isVisibilitySet ()

public static CommentJsonBean renderedShortBean (Comment comment, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext, ApplicationUser loggedInUser, EmailFormatter emailFormatter)

Returns
  • null if the input is null

public static Collection<CommentJsonBean> renderedShortBeans (Collection<Comment> comments, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, DateTimeFormatterFactory dateTimeFormatterFactory, RendererManager rendererManager, String rendererType, IssueRenderContext renderContext, ApplicationUser loggedInUser, EmailFormatter emailFormatter)

public void setAuthor (UserJsonBean author)

public void setBody (String body)

public void setCreated (Date created)

public void setId (String id)

public void setProperties (List<Map<StringObject>> properties)

public void setRenderedBody (String renderedBody)

public void setSelf (String self)

public void setUpdateAuthor (UserJsonBean updateAuthor)

public void setUpdated (Date updated)

public void setVisibility (VisibilityJsonBean visibility)

public static CommentJsonBean shortBean (Comment comment, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, ApplicationUser loggedInUser, EmailFormatter emailFormatter)

Returns
  • null if the input is null

public static Collection<CommentJsonBean> shortBeans (Collection<Comment> comments, JiraBaseUrls urls, ProjectRoleManager projectRoleManager, ApplicationUser loggedInUser, EmailFormatter emailFormatter)