public class IssueTableWebComponent extends AbstractWebComponent
The layout of the table is configured by an IssueTableLayoutBean
Please use
applicationProperties
Constructor and Description |
---|
IssueTableWebComponent() |
Modifier and Type | Method and Description |
---|---|
void |
asHtml(Writer writer,
IssueTableLayoutBean layout,
List<Issue> issues,
Pager pager,
Long selectedIssueId)
Writes a table of issues into the writer provided.
|
String |
getHtml(IssueTableLayoutBean layout,
List<Issue> issues,
Pager pager)
Deprecated.
Since 6.3.8 use
asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, Pager, Long) . It is inefficient in using memory as it uses a string writer. |
String |
getHtml(IssueTableLayoutBean layout,
List<Issue> issues,
Pager pager,
Long selectedIssueId)
Deprecated.
Since 6.3.8 use
asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, Pager, Long) . It is inefficient in using memory as it uses a string writer. |
IssueTableWriter |
getHtmlIssueWriter(Writer writer,
IssueTableLayoutBean layout,
Pager pager,
ColumnLayoutItem actionColumn)
Deprecated.
since 6.3.8 please use
asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, Pager, Long) and pass in the writer object. |
IssueTableWriter |
getHtmlIssueWriter(Writer writer,
IssueTableLayoutBean layout,
Pager pager,
ColumnLayoutItem actionColumn,
Long selectedIssueId)
Deprecated.
since 6.3.8 please use
asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, Pager, Long) and pass in the writer object. |
asHtml, getHtml
@Deprecated public String getHtml(IssueTableLayoutBean layout, List<Issue> issues, Pager pager)
asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, Pager, Long)
. It is inefficient in using memory as it uses a string writer.layout
- The layout describing how this table should lookissues
- The issues to display. These should be a list of Issue
objectspager
- An optional pager which will be used for displaying the next / previous paging at the top and bottom@Deprecated public String getHtml(IssueTableLayoutBean layout, List<Issue> issues, Pager pager, Long selectedIssueId)
asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, Pager, Long)
. It is inefficient in using memory as it uses a string writer.layout
- The layout describing how this table should lookissues
- The issues to display. These should be a list of Issue
objectspager
- An optional pager which will be used for displaying the next / previous paging at the top and bottomselectedIssueId
- the issue to mark as selected in the table of issues; if null, marks the first issue as selectedpublic void asHtml(Writer writer, IssueTableLayoutBean layout, List<Issue> issues, Pager pager, Long selectedIssueId)
writer
- Writer where the HTML markup is written to.layout
- The layout describing how this table should lookissues
- The issues to display. These should be a list of Issue
objectspager
- An optional pager which will be used for displaying the next / previous paging at the top and bottomselectedIssueId
- the issue to mark as selected in the table of issues; if null, marks the first issue as selected@Deprecated public IssueTableWriter getHtmlIssueWriter(Writer writer, IssueTableLayoutBean layout, Pager pager, ColumnLayoutItem actionColumn)
asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, Pager, Long)
and pass in the writer object.@Deprecated public IssueTableWriter getHtmlIssueWriter(Writer writer, IssueTableLayoutBean layout, Pager pager, ColumnLayoutItem actionColumn, Long selectedIssueId)
asHtml(java.io.Writer, IssueTableLayoutBean, java.util.List, Pager, Long)
and pass in the writer object.IssueTableWriter
that can be used to write
a table of issues.writer
- The writer to write the table tolayout
- The layout describing how this table should lookpager
- An optional pager which will be used for displaying the next / previous paging at the top and bottomactionColumn
- 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 selectedCopyright © 2002-2022 Atlassian. All Rights Reserved.