|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.web.component.TableLayoutUtilsImpl
public class TableLayoutUtilsImpl
| Constructor Summary | |
|---|---|
TableLayoutUtilsImpl(ApplicationProperties applicationProperties,
FieldManager fieldManager)
|
|
| Method Summary | |
|---|---|
List<ColumnLayoutItem> |
getColumns(com.atlassian.crowd.embedded.api.User user,
List<String> fields)
Get the columns based off the a list of field names |
List<ColumnLayoutItem> |
getColumns(com.atlassian.crowd.embedded.api.User user,
String applicationPropertyName)
Get the columns based off an application property |
List<ColumnLayoutItem> |
getColumns(com.atlassian.crowd.embedded.api.User user,
String context,
List<String> columnNames,
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableLayoutUtilsImpl(ApplicationProperties applicationProperties,
FieldManager fieldManager)
| Method Detail |
|---|
public List<String> getDefaultColumnNames(String applicationPropertyName)
TableLayoutUtils
getDefaultColumnNames in interface TableLayoutUtilsapplicationPropertyName - The name of the property in jira-application.properties
public List<ColumnLayoutItem> getColumns(com.atlassian.crowd.embedded.api.User user,
String applicationPropertyName)
throws FieldException
TableLayoutUtils
getColumns in interface TableLayoutUtilsuser - The suer to retreive columns for.applicationPropertyName - The property to get the list of fields from in the application properties
FieldException - if there is an exception thrown while retieving the fields
public List<ColumnLayoutItem> getColumns(com.atlassian.crowd.embedded.api.User user,
List<String> fields)
throws FieldException
TableLayoutUtils
getColumns in interface TableLayoutUtilsuser - The suer to retreive columns for.fields - The list of columns to retrieve.
FieldException - if there is an exception thrown while retieving the fields
public List<ColumnLayoutItem> getColumns(com.atlassian.crowd.embedded.api.User user,
String context,
List<String> columnNames,
boolean addDefaults)
throws FieldException
TableLayoutUtils
getColumns in interface TableLayoutUtilsuser - The user to retreive columns for.context - The name of the property in jira-application.propertiescolumnNames - The list of columns to retrieve.addDefaults - if true, will add the default columns.
FieldException - if there is an exception thrown while retieving the fields
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||