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 java.lang.String getContent(Issue issue,
IssueViewRequestParams issueViewRequestParams)
- Specified by:
getContent
in interface IssueView
- Specified by:
getContent
in class AbstractIssueView
getBody
public java.lang.String getBody(Issue issue,
IssueViewRequestParams issueViewFieldParams)
- Specified by:
getBody
in class AbstractIssueView
getHeader
public java.lang.String getHeader(Issue issue)
getLinkToPrevious
protected abstract java.lang.String getLinkToPrevious(Issue issue)
getHeader
public java.lang.String getHeader(java.lang.String title,
java.lang.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 java.lang.String getStyleSheetHtml()
getFooter
public java.lang.String getFooter(Issue issue)
getPrettyDuration
public java.lang.String getPrettyDuration(java.lang.Long v)
getRenderedContent
public java.lang.String getRenderedContent(java.lang.String fieldName,
java.lang.String value,
Issue issue)
throws FieldLayoutStorageException
- Throws:
FieldLayoutStorageException
getCustomFieldHtml
public java.lang.String getCustomFieldHtml(FieldLayoutItem fieldLayoutItem,
CustomField field,
Issue issue)
Copyright © 2002-2011 Atlassian. All Rights Reserved.