com.atlassian.jira.issue.views
Class IssueXMLView

java.lang.Object
  extended by com.atlassian.jira.plugin.issueview.AbstractIssueView
      extended by com.atlassian.jira.issue.views.IssueXMLView
All Implemented Interfaces:
IssueView

public class IssueXMLView
extends AbstractIssueView

A view of an issue that produces a full XML view of an issue. It is also valid RSS.


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.issueview.AbstractIssueView
ACTION_ORDER_DESC, descriptor
 
Constructor Summary
IssueXMLView(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, FieldLayoutManager fieldLayoutManager, CommentManager commentManager, IssueViewUtil issueViewUtil, AggregateTimeTrackingCalculatorFactory aggregateTimeTrackingCalculatorFactory, BuildUtilsInfo buildUtilsInfo, DateTimeFormatterFactory dateTimeFormatterFactory)
           
 
Method Summary
 String getBody(Issue issue, IssueViewRequestParams issueViewRequestParams)
           
 String getContent(Issue issue, IssueViewRequestParams issueViewRequestParams)
           
 String getCustomFieldXML(CustomField field, Issue issue)
           
 String getPrettyDuration(Long v)
           
 String getRenderedContent(String fieldName, String value, Issue issue)
           
 List<FieldLayoutItem> getVisibleCustomFields(Issue issue, User user, IssueViewFieldParams issueViewFieldParams)
           
 
Methods inherited from class com.atlassian.jira.plugin.issueview.AbstractIssueView
init, writeHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueXMLView

public IssueXMLView(JiraAuthenticationContext authenticationContext,
                    ApplicationProperties applicationProperties,
                    FieldLayoutManager fieldLayoutManager,
                    CommentManager commentManager,
                    IssueViewUtil issueViewUtil,
                    AggregateTimeTrackingCalculatorFactory aggregateTimeTrackingCalculatorFactory,
                    BuildUtilsInfo buildUtilsInfo,
                    DateTimeFormatterFactory dateTimeFormatterFactory)
Method Detail

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 issueViewRequestParams)
Specified by:
getBody in class AbstractIssueView

getRenderedContent

public String getRenderedContent(String fieldName,
                                 String value,
                                 Issue issue)

getPrettyDuration

public String getPrettyDuration(Long v)

getVisibleCustomFields

public List<FieldLayoutItem> getVisibleCustomFields(Issue issue,
                                                    User user,
                                                    IssueViewFieldParams issueViewFieldParams)

getCustomFieldXML

public String getCustomFieldXML(CustomField field,
                                Issue issue)


Copyright © 2002-2011 Atlassian. All Rights Reserved.