com.atlassian.jira.web.component
Class IssueTableWebComponent

java.lang.Object
  extended by com.atlassian.jira.web.component.AbstractWebComponent
      extended by com.atlassian.jira.web.component.IssueTableWebComponent

public class IssueTableWebComponent
extends AbstractWebComponent

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

The layout of the table is configured by an IssueTableLayoutBean


Field Summary
 
Fields inherited from class com.atlassian.jira.web.component.AbstractWebComponent
applicationProperties, velocityManager
 
Constructor Summary
IssueTableWebComponent()
           
 
Method Summary
 String getHtml(IssueTableLayoutBean layout, List issues, IssuePager pager)
          Get a table of issues.
 IssueTableWriter getHtmlIssueWriter(Writer writer, IssueTableLayoutBean layout, IssuePager pager)
          Constructs a new IssueTableWriter that can be used to write a table of issues.
 
Methods inherited from class com.atlassian.jira.web.component.AbstractWebComponent
getHtml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IssueTableWebComponent

public IssueTableWebComponent()
Method Detail

getHtml

public String getHtml(IssueTableLayoutBean layout,
                      List issues,
                      IssuePager pager)
Get 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

getHtmlIssueWriter

public IssueTableWriter getHtmlIssueWriter(Writer writer,
                                           IssueTableLayoutBean layout,
                                           IssuePager pager)
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
Returns:
An IssueTableWriter which the caller should use to write each issue to.


Copyright © 2002-2009 Atlassian. All Rights Reserved.