com.atlassian.jira.issue.fields
Class StatusSystemField
java.lang.Object
com.atlassian.jira.issue.fields.AbstractField
com.atlassian.jira.issue.fields.NavigableFieldImpl
com.atlassian.jira.issue.fields.StatusSystemField
- All Implemented Interfaces:
- Comparable, Field, NavigableField, SearchableField
- public class StatusSystemField
- extends NavigableFieldImpl
- implements SearchableField
Copyright (c) 2002-2004
All rights reserved.
Methods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl |
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getHiddenFieldId, getSortComparatorSource, getVelocityParams, prettyPrintChangeHistory, renderTemplate, setComparator, setDefaultSortOrder, setSortable |
StatusSystemField
public StatusSystemField(com.atlassian.velocity.VelocityManager velocityManager,
ApplicationProperties applicationProperties,
JiraAuthenticationContext authenticationContext,
StatusStatisticsMapper statusStatisticsMapper,
ConstantsManager constantsManager)
getSorter
public LuceneFieldSorter getSorter()
- Description copied from interface:
NavigableField
- A sorter to be used when sorting columns in a table. This sort uses the Lucene Document Collection
and is therefore a lot faster than sorting the issues in memory.
- Specified by:
getSorter
in interface NavigableField
- Returns:
- A sorter that can be used to sort this field, or null depending on the value of
NavigableField.getSortComparatorSource()
- See Also:
DocumentIssueImpl
,
MappedSortComparator
getColumnViewHtml
public String getColumnViewHtml(FieldLayoutItem fieldLayoutItem,
Map displayParams,
Issue issue)
- Specified by:
getColumnViewHtml
in interface NavigableField
getAssociatedSearchers
public List getAssociatedSearchers()
- Description copied from interface:
SearchableField
- Returns a list of searchers associated with field
- Specified by:
getAssociatedSearchers
in interface SearchableField
- Returns:
- List of @
Class
objects of type @IssueSearcher
. Empty list if no searchers are required.
Must not be null
prettyPrintChangeHistory
public String prettyPrintChangeHistory(String changeHistory,
I18nHelper i18nHelper)
- Return an internationalized value for the changeHistory item - a status name in this case.
- Specified by:
prettyPrintChangeHistory
in interface NavigableField
- Overrides:
prettyPrintChangeHistory
in class NavigableFieldImpl
- Parameters:
changeHistory
- name of statusi18nHelper
- used to translate the status name
- Returns:
- String
Copyright © 2002-2007 Atlassian. All Rights Reserved.