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
public abstract class AbstractIssueHtmlView
- extends AbstractIssueView
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
authenticationContext
protected final JiraAuthenticationContext authenticationContext
applicationProperties
protected final ApplicationProperties applicationProperties
commentManager
protected final CommentManager commentManager
fileIconBean
protected final FileIconBean fileIconBean
fieldScreenRendererFactory
protected final FieldScreenRendererFactory fieldScreenRendererFactory
issueViewUtil
protected final IssueViewUtil issueViewUtil
AbstractIssueHtmlView
public AbstractIssueHtmlView(JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
CommentManager commentManager,
FileIconBean fileIconBean,
FieldScreenRendererFactory fieldScreenRendererFactory,
IssueViewUtil issueViewUtil)
getContent
public String getContent(Issue issue,
IssueViewRequestParams issueViewRequestParams)
- Specified by:
getContent
in interface IssueView
- Specified by:
getContent
in class AbstractIssueView
getBody
public String getBody(Issue issue,
IssueViewRequestParams issueViewFieldParams)
- Specified by:
getBody
in class AbstractIssueView
getHeader
public String getHeader(Issue issue)
getLinkToPrevious
protected abstract String getLinkToPrevious(Issue issue)
getHeader
public String getHeader(String title,
String linkToPrevious)
- 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
public String getStyleSheetHtml()
getFooter
public String getFooter(Issue issue)
getPrettyDuration
public String getPrettyDuration(Long v)
getRenderedContent
public String getRenderedContent(String fieldName,
String value,
Issue issue)
getCustomFieldHtml
public String getCustomFieldHtml(FieldLayoutItem fieldLayoutItem,
CustomField field,
Issue issue)
Copyright © 2002-2012 Atlassian. All Rights Reserved.