com.atlassian.jira.issue.fields.layout.column
Class ColumnLayoutItemImpl
java.lang.Object
com.atlassian.jira.issue.fields.layout.column.ColumnLayoutItemImpl
- All Implemented Interfaces:
- ColumnLayoutItem, Comparable
- Direct Known Subclasses:
- ExcelColumnLayoutItem
public class ColumnLayoutItemImpl
- extends Object
- implements ColumnLayoutItem
ColumnLayoutItemImpl
public ColumnLayoutItemImpl(NavigableField navigableField,
int position)
getNavigableField
public NavigableField getNavigableField()
- Specified by:
getNavigableField
in interface ColumnLayoutItem
getPosition
public int getPosition()
- Specified by:
getPosition
in interface ColumnLayoutItem
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
getSafeSortOrder
public String getSafeSortOrder(String specifiedSortOrder)
isAliasForField
public boolean isAliasForField(com.atlassian.crowd.embedded.api.User user,
String jqlName)
- Specified by:
isAliasForField
in interface ColumnLayoutItem
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getHtml
public String getHtml(Map displayParams,
Issue issue)
- Specified by:
getHtml
in interface ColumnLayoutItem
getColumnHeadingKey
public String getColumnHeadingKey()
- Description copied from interface:
ColumnLayoutItem
- Return some text for the Column Header. By default this calls
NavigableField.getColumnHeadingKey()
but implementations can
override this to provide different column headings as appropriate
- Specified by:
getColumnHeadingKey
in interface ColumnLayoutItem
- Returns:
- A key, which can be run through
I18nHelper.getText(String)
to get a heading
Copyright © 2002-2012 Atlassian. All Rights Reserved.