java.lang.Object | ||
↳ | com.atlassian.jira.issue.fields.AbstractField | |
↳ | com.atlassian.jira.issue.fields.NavigableFieldImpl |
Known Indirect Subclasses |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface com.atlassian.jira.issue.fields.NavigableField |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
applicationProperties | |||||||||||
templatingEngine |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.issue.fields.AbstractField
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
The order in which to sort the field when it is sorted for the first time.
| |||||||||||
Returns the id of the field to check for visibility.
| |||||||||||
A default implementation that returns a
MappedSortComparator from getSorter() . | |||||||||||
Return a list of Lucene SortFields to be used for sorting search results.
| |||||||||||
Used for email notification templates - allows changelog to be displayed in language of the recipient.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.issue.fields.AbstractField
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.issue.fields.Field
| |||||||||||
From interface com.atlassian.jira.issue.fields.NavigableField | |||||||||||
From interface
java.lang.Comparable
|
The order in which to sort the field when it is sorted for the first time.
ORDER_ASCENDING
or ORDER_DESCENDING
Returns the id of the field to check for visibility. For example, with original estimate field need to ensure that the timetracking field is not hidden. With most fields, this is the same as their id.
A default implementation that returns a MappedSortComparator
from getSorter()
.
Return a list of Lucene SortFields to be used for sorting search results. Using this method allows the field to specify the most performant way to perform a search. If a field can be sorted directly using the term in the index then this should just return a singleton list with the sort field.
return Collections.singletonList(new SortField(fieldName, sortOrder));
getSortComparatorSource()
If you implement this method there is no need to implement getSortComparatorSource()
.Used for email notification templates - allows changelog to be displayed in language of the recipient.