public class

IssueTableLayoutBean

extends Object
java.lang.Object
   ↳ com.atlassian.jira.web.component.IssueTableLayoutBean

Class Overview

This bean is used to control the display properties of the IssueTable, and works with IssueTableWebComponent and issuetable.vm to achieve this.

It contains sensible defaults.

Summary

Constants
String CELL_NO_LINK
String CELL_TEXT_ONLY
String DEFAULT_COLUMNS
String EXCEL_VIEW This constant is deprecated. use EXCEL_VIEW instead
String FULL_LINK
String NAVIGATOR_VIEW This constant is deprecated. use NAVIGATOR_VIEW instead
Public Constructors
IssueTableLayoutBean(List<ColumnLayoutItem> columns)
IssueTableLayoutBean(List<ColumnLayoutItem> columns, Collection<SearchSort> searchSorts)
IssueTableLayoutBean(ApplicationUser user, Collection<SearchSort> searchSorts)
Public Methods
void addCellDisplayParam(String key, Object value)
You can use this method to pass parameters through to individual cells / issues for formatting.
String getActionUrl()
Map getCellDisplayParams()
List<ColumnLayoutItem> getColumns()
Long getFilterId()
SearchSort getFirstSorter()
String getTableCssClass()
boolean isAlternateRowColors()
boolean isDisplayHeader()
boolean isDisplayHeaderPager()
boolean isShowActionColumn()
boolean isShowExteriorTable()
boolean isShowHeaderDescription()
boolean isShowTableEditHeader()
boolean isSortingEnabled()
void setActionUrl(String actionUrl)
void setAlternateRowColors(boolean alternateRowColors)
void setDisplayHeader(boolean displayHeader)
void setDisplayHeaderPager(boolean displayHeaderPager)
void setFilterId(Long filterId)
void setShowActionColumn(boolean showActionColumn)
void setShowExteriorTable(boolean showExteriorTable)
void setShowHeaderDescription(boolean showHeaderDescription)
void setShowTableEditHeader(boolean showTableEditHeader)
void setSortingEnabled(boolean sortingEnabled)
void setTableCssClass(String tableCssClass)
Set the CSS class for the table element in the issue table.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CELL_NO_LINK

Constant Value: "nolink"

public static final String CELL_TEXT_ONLY

Constant Value: "textOnly"

public static final String DEFAULT_COLUMNS

Constant Value: "--default--"

public static final String EXCEL_VIEW

This constant is deprecated.
use EXCEL_VIEW instead

Constant Value: "excel_view"

public static final String FULL_LINK

Constant Value: "full_link"

public static final String NAVIGATOR_VIEW

This constant is deprecated.
use NAVIGATOR_VIEW instead

Constant Value: "navigator_view"

Public Constructors

public IssueTableLayoutBean (List<ColumnLayoutItem> columns)

public IssueTableLayoutBean (List<ColumnLayoutItem> columns, Collection<SearchSort> searchSorts)

public IssueTableLayoutBean (ApplicationUser user, Collection<SearchSort> searchSorts)

Public Methods

public void addCellDisplayParam (String key, Object value)

You can use this method to pass parameters through to individual cells / issues for formatting.

public String getActionUrl ()

public Map getCellDisplayParams ()

public List<ColumnLayoutItem> getColumns ()

public Long getFilterId ()

public SearchSort getFirstSorter ()

public String getTableCssClass ()

public boolean isAlternateRowColors ()

public boolean isDisplayHeader ()

public boolean isDisplayHeaderPager ()

public boolean isShowActionColumn ()

public boolean isShowExteriorTable ()

public boolean isShowHeaderDescription ()

public boolean isShowTableEditHeader ()

public boolean isSortingEnabled ()

public void setActionUrl (String actionUrl)

public void setAlternateRowColors (boolean alternateRowColors)

public void setDisplayHeader (boolean displayHeader)

public void setDisplayHeaderPager (boolean displayHeaderPager)

public void setFilterId (Long filterId)

public void setShowActionColumn (boolean showActionColumn)

public void setShowExteriorTable (boolean showExteriorTable)

public void setShowHeaderDescription (boolean showHeaderDescription)

public void setShowTableEditHeader (boolean showTableEditHeader)

public void setSortingEnabled (boolean sortingEnabled)

public void setTableCssClass (String tableCssClass)

Set the CSS class for the table element in the issue table. Defaults to 'grid'