com.atlassian.jira.issue.fields
Class SubTaskSystemField
java.lang.Object
com.atlassian.jira.issue.fields.AbstractField
com.atlassian.jira.issue.fields.NavigableFieldImpl
com.atlassian.jira.issue.fields.SubTaskSystemField
- All Implemented Interfaces:
- Field, NavigableField, RestAwareField, Comparable
public class SubTaskSystemField
- extends NavigableFieldImpl
- implements RestAwareField
SubTaskSystemField
public SubTaskSystemField(com.atlassian.velocity.VelocityManager velocityManager,
ApplicationProperties applicationProperties,
JiraAuthenticationContext authenticationContext,
SubTaskStatisticsMapper subTaskStatisticsMapper,
IssueLinksBeanBuilderFactory issueLinkBeanBuilderFactory)
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
getFieldTypeInfo
public FieldTypeInfo getFieldTypeInfo(FieldTypeInfoContext fieldTypeInfoContext)
- Description copied from interface:
RestAwareField
- Returns lower level Information about the field.
This information contains allowed values and/or the autocomplete url
- Specified by:
getFieldTypeInfo
in interface RestAwareField
- Parameters:
fieldTypeInfoContext
- the FieldTypeInfoContext
contains context information that is relevant to generate the FieldTypeInfo
getJsonSchema
public JsonType getJsonSchema()
- Description copied from interface:
RestAwareField
- Return a description of the shape of this field when represented as JSON.
- Specified by:
getJsonSchema
in interface RestAwareField
getJsonFromIssue
public FieldJsonRepresentation getJsonFromIssue(Issue issue,
boolean renderedVersionRequested,
@Nullable
FieldLayoutItem fieldLayoutItem)
- Description copied from interface:
RestAwareField
- Return a FieldJsonDataPair containing a json representation of the raw data for this field, and if required, a json representation
of the rendered data for easy display.
- Specified by:
getJsonFromIssue
in interface RestAwareField
- Parameters:
issue
- to get field data fromrenderedVersionRequested
- whether the use requested the return of rendered/pretty data as well as raw datafieldLayoutItem
- field layout for this field. Will only be supplied if the field is also an ordereable field.
- Returns:
- FieldJsonDataPair containing a json representation of the raw data for this field, and if required, a json representation
of the rendered data for easy display.
Copyright © 2002-2012 Atlassian. All Rights Reserved.