com.atlassian.jira.web.component
Class TableLayoutUtils
java.lang.Object
com.atlassian.jira.web.component.TableLayoutUtils
public class TableLayoutUtils
- extends Object
Method Summary |
static List |
filterColumns(List allColumnLayoutItems,
List issueFieldConstantTypes)
Take a list of ColumnLayoutItems, and keep the ones that have a navigable field type represented by any
of the strings passed in issueFieldConstantTypes |
static List |
getColumnLayoutItemsFromFields(Set availableFields)
|
List |
getColumns(String applicationPropertyName)
Users can specify a list of columns to display in their application properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableLayoutUtils
public TableLayoutUtils(ApplicationProperties applicationProperties)
filterColumns
public static List filterColumns(List allColumnLayoutItems,
List issueFieldConstantTypes)
- Take a list of ColumnLayoutItems, and keep the ones that have a navigable field type represented by any
of the strings passed in issueFieldConstantTypes
- Parameters:
allColumnLayoutItems
- A list of ColumnLayoutItem
objectsissueFieldConstantTypes
- A list of String objects representing the id of the navigableField- See Also:
IssueFieldConstants
,
NavigableField
getColumns
public List getColumns(String applicationPropertyName)
- Users can specify a list of columns to display in their application properties. This is a method to
retrieve them.
- Parameters:
applicationPropertyName
- The name of the property in jira-application.properties
- Returns:
- A list of String objects
getColumnLayoutItemsFromFields
public static List getColumnLayoutItemsFromFields(Set availableFields)
Copyright © 2002-2007 Atlassian. All Rights Reserved.