public abstract class AbstractIssueHtmlView extends AbstractIssueView
Modifier and Type | Field and Description |
---|---|
protected ApplicationProperties |
applicationProperties |
protected JiraAuthenticationContext |
authenticationContext |
protected CommentManager |
commentManager |
protected FieldScreenRendererFactory |
fieldScreenRendererFactory |
protected IssueViewUtil |
issueViewUtil |
ACTION_ORDER_DESC, descriptor
Constructor and Description |
---|
AbstractIssueHtmlView(JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
CommentManager commentManager,
FieldScreenRendererFactory fieldScreenRendererFactory,
IssueViewUtil issueViewUtil,
FieldVisibilityManager fieldVisibilityManager) |
Modifier and Type | Method and Description |
---|---|
String |
getBody(Issue issue,
IssueViewRequestParams issueViewFieldParams) |
String |
getContent(Issue issue,
IssueViewRequestParams issueViewRequestParams) |
String |
getCustomFieldHtml(FieldLayoutItem fieldLayoutItem,
CustomField field,
Issue issue) |
String |
getFooter(Issue issue) |
String |
getHeader(Issue issue) |
String |
getHeader(String title,
String linkToPrevious)
Get the header.
|
protected abstract String |
getLinkToPrevious(Issue issue) |
String |
getPrettyDuration(Long v) |
String |
getRenderedContent(String fieldName,
String value,
Issue issue) |
String |
getStyleSheetHtml() |
protected abstract boolean |
printCssLinks()
With a word view of an issue - you do not want to print the links to the CSS (which seem to hang word, as it can't
download remote resources)
|
init, writeHeaders
protected final JiraAuthenticationContext authenticationContext
protected final ApplicationProperties applicationProperties
protected final CommentManager commentManager
protected final FieldScreenRendererFactory fieldScreenRendererFactory
protected final IssueViewUtil issueViewUtil
public AbstractIssueHtmlView(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, CommentManager commentManager, FieldScreenRendererFactory fieldScreenRendererFactory, IssueViewUtil issueViewUtil, FieldVisibilityManager fieldVisibilityManager)
public String getContent(Issue issue, IssueViewRequestParams issueViewRequestParams)
getContent
in interface IssueView
getContent
in class AbstractIssueView
public String getBody(Issue issue, IssueViewRequestParams issueViewFieldParams)
getBody
in class AbstractIssueView
public String getHeader(String title, String linkToPrevious)
title
- The title of the page. A single issue may be different to multiple issueslinkToPrevious
- A string containing the complete link to get back to the previous content. If null, the previous link is not printedprotected abstract boolean printCssLinks()
public String getStyleSheetHtml()
public String getCustomFieldHtml(FieldLayoutItem fieldLayoutItem, CustomField field, Issue issue)
Copyright © 2002-2019 Atlassian. All Rights Reserved.