public interface TableLayoutUtils
Modifier and Type | Method and Description |
---|---|
List<ColumnLayoutItem> |
getColumns(ApplicationUser user,
List<String> fields)
Get the columns based off the a list of field names
|
List<ColumnLayoutItem> |
getColumns(ApplicationUser user,
String applicationPropertyName)
Get the columns based off an application property
|
List<ColumnLayoutItem> |
getColumns(ApplicationUser user,
String applicationPropertyName,
List<String> fields,
boolean addDefaults)
Get the columns based on a list of field names, and the default as defined in application properties
with the given property name.
|
List<String> |
getDefaultColumnNames(String applicationPropertyName)
Users can specify a list of columns to display in their application properties.
|
List<String> getDefaultColumnNames(String applicationPropertyName)
applicationPropertyName
- The name of the property in jira-application.propertiesList<ColumnLayoutItem> getColumns(ApplicationUser user, List<String> fields) throws FieldException
user
- The suer to retreive columns for.fields
- The list of columns to retrieve.FieldException
- if there is an exception thrown while retieving the fieldsList<ColumnLayoutItem> getColumns(ApplicationUser user, String applicationPropertyName, List<String> fields, boolean addDefaults) throws FieldException
user
- The user to retreive columns for.applicationPropertyName
- The name of the property in jira-application.propertiesfields
- The list of columns to retrieve.addDefaults
- if true, will add the default columns.FieldException
- if there is an exception thrown while retieving the fieldsList<ColumnLayoutItem> getColumns(ApplicationUser user, String applicationPropertyName) throws FieldException
user
- The suer to retreive columns for.applicationPropertyName
- The property to get the list of fields from in the application propertiesFieldException
- if there is an exception thrown while retieving the fieldsCopyright © 2002-2015 Atlassian. All Rights Reserved.