Package com.atlassian.jira.issue.views
Class AbstractIssueHtmlView
java.lang.Object
com.atlassian.jira.plugin.issueview.AbstractIssueView
com.atlassian.jira.issue.views.AbstractIssueHtmlView
- All Implemented Interfaces:
IssueView
- Direct Known Subclasses:
IssueHtmlView,IssueWordView
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ApplicationPropertiesprotected final JiraAuthenticationContextprotected final CommentManagerprotected final FieldScreenRendererFactoryprotected final IssueViewUtilFields inherited from class com.atlassian.jira.plugin.issueview.AbstractIssueView
descriptor -
Constructor Summary
ConstructorsConstructorDescriptionAbstractIssueHtmlView(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, CommentManager commentManager, FieldScreenRendererFactory fieldScreenRendererFactory, IssueViewUtil issueViewUtil, FieldVisibilityManager fieldVisibilityManager, CommentOrderManager commentOrderManager) -
Method Summary
Modifier and TypeMethodDescriptiongetBody(Issue issue, IssueViewRequestParams issueViewFieldParams) getContent(Issue issue, IssueViewRequestParams issueViewRequestParams) getCustomFieldHtml(FieldLayoutItem fieldLayoutItem, CustomField field, Issue issue) Get the header.protected abstract StringgetLinkToPrevious(Issue issue) getRenderedContent(String fieldName, String value, Issue issue) protected abstract booleanWith 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)Methods inherited from class com.atlassian.jira.plugin.issueview.AbstractIssueView
init, writeHeaders
-
Field Details
-
authenticationContext
-
applicationProperties
-
commentManager
-
fieldScreenRendererFactory
-
issueViewUtil
-
-
Constructor Details
-
AbstractIssueHtmlView
public AbstractIssueHtmlView(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, CommentManager commentManager, FieldScreenRendererFactory fieldScreenRendererFactory, IssueViewUtil issueViewUtil, FieldVisibilityManager fieldVisibilityManager, CommentOrderManager commentOrderManager)
-
-
Method Details
-
getContent
- Specified by:
getContentin interfaceIssueView- Specified by:
getContentin classAbstractIssueView
-
getBody
- Specified by:
getBodyin classAbstractIssueView
-
getHeader
-
getLinkToPrevious
-
getHeader
Get the header.- Parameters:
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 printed- Returns:
- The header of a single / multiple word / html view
-
printCssLinks
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)- Returns:
- true if you want links to CSS to be shown, false otherwise
-
getStyleSheetHtml
-
getPrettyDuration
-
getRenderedContent
-
getCustomFieldHtml
-