public class

IssueTableWebComponent

extends AbstractWebComponent
java.lang.Object
   ↳ com.atlassian.jira.web.component.AbstractWebComponent
     ↳ com.atlassian.jira.web.component.IssueTableWebComponent

Class Overview

This class displays a table of issues, and works together with issuetable.vm.

The layout of the table is configured by an IssueTableLayoutBean Please use tag in web views instead of this component.

Summary

[Expand]
Inherited Fields
From class com.atlassian.jira.web.component.AbstractWebComponent
Public Constructors
IssueTableWebComponent()
Public Methods
void asHtml(Writer writer, IssueTableLayoutBean layout, List<Issue> issues, IssuePager pager, Long selectedIssueId)
Writes a table of issues into the writer provided.
@Deprecated String getHtml(IssueTableLayoutBean layout, List<Issue> issues, IssuePager pager, Long selectedIssueId)
This method is deprecated. Since 6.3.8 use asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, IssuePager, Long). It is inefficient in using memory as it uses a string writer.
@Deprecated String getHtml(IssueTableLayoutBean layout, List<Issue> issues, IssuePager pager)
This method is deprecated. Since 6.3.8 use asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, IssuePager, Long). It is inefficient in using memory as it uses a string writer.
@Deprecated IssueTableWriter getHtmlIssueWriter(Writer writer, IssueTableLayoutBean layout, IssuePager pager, ColumnLayoutItem actionColumn, Long selectedIssueId)
This method is deprecated. since 6.3.8 please use asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, IssuePager, Long) and pass in the writer object.
@Deprecated IssueTableWriter getHtmlIssueWriter(Writer writer, IssueTableLayoutBean layout, IssuePager pager, ColumnLayoutItem actionColumn)
This method is deprecated. since 6.3.8 please use asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, IssuePager, Long) and pass in the writer object.
[Expand]
Inherited Methods
From class com.atlassian.jira.web.component.AbstractWebComponent
From class java.lang.Object

Public Constructors

public IssueTableWebComponent ()

Public Methods

public void asHtml (Writer writer, IssueTableLayoutBean layout, List<Issue> issues, IssuePager pager, Long selectedIssueId)

Writes a table of issues into the writer provided.

Parameters
writer Writer where the HTML markup is written to.
layout The layout describing how this table should look
issues The issues to display. These should be a list of Issue objects
pager An optional pager which will be used for displaying the next / previous paging at the top and bottom
selectedIssueId the issue to mark as selected in the table of issues; if null, marks the first issue as selected

@Deprecated public String getHtml (IssueTableLayoutBean layout, List<Issue> issues, IssuePager pager, Long selectedIssueId)

This method is deprecated.
Since 6.3.8 use asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, IssuePager, Long). It is inefficient in using memory as it uses a string writer.

Gets a table of issues.

Parameters
layout The layout describing how this table should look
issues The issues to display. These should be a list of Issue objects
pager An optional pager which will be used for displaying the next / previous paging at the top and bottom
selectedIssueId the issue to mark as selected in the table of issues; if null, marks the first issue as selected
Returns
  • An HTML table of issues

@Deprecated public String getHtml (IssueTableLayoutBean layout, List<Issue> issues, IssuePager pager)

This method is deprecated.
Since 6.3.8 use asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, IssuePager, Long). It is inefficient in using memory as it uses a string writer.

Gets a table of issues.

Parameters
layout The layout describing how this table should look
issues The issues to display. These should be a list of Issue objects
pager An optional pager which will be used for displaying the next / previous paging at the top and bottom
Returns
  • An HTML table of issues

@Deprecated public IssueTableWriter getHtmlIssueWriter (Writer writer, IssueTableLayoutBean layout, IssuePager pager, ColumnLayoutItem actionColumn, Long selectedIssueId)

This method is deprecated.
since 6.3.8 please use asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, IssuePager, Long) and pass in the writer object.

Constructs a new IssueTableWriter that can be used to write a table of issues.

Parameters
writer The writer to write the table to
layout The layout describing how this table should look
pager An optional pager which will be used for displaying the next / previous paging at the top and bottom
actionColumn The column to display on the right hand side of the table. If null, no column is shown.
selectedIssueId the issue to mark as selected in the table; if null, marks the first issue as selected
Returns
  • An IssueTableWriter which the caller should use to write each issue to.

@Deprecated public IssueTableWriter getHtmlIssueWriter (Writer writer, IssueTableLayoutBean layout, IssuePager pager, ColumnLayoutItem actionColumn)

This method is deprecated.
since 6.3.8 please use asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, IssuePager, Long) and pass in the writer object.