|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.mock.issue.fields.MockNavigableField
public class MockNavigableField
| Field Summary |
|---|
| Fields inherited from interface com.atlassian.jira.issue.fields.NavigableField |
|---|
ORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH |
| Constructor Summary | |
|---|---|
MockNavigableField(String id)
|
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
boolean |
equals(Object o)
|
String |
getColumnCssClass()
|
String |
getColumnHeadingKey()
|
String |
getColumnViewHtml(FieldLayoutItem fieldLayoutItem,
Map displayParams,
Issue issue)
|
String |
getDefaultSortOrder()
The order in which to sort the field when it is sorted for the first time. |
String |
getHiddenFieldId()
Returns the id of the field to check for visibility. |
String |
getId()
The unique id of the field |
String |
getName()
Returns i18n'ed name of the field for system fields or the name of a custom field. |
String |
getNameKey()
The i18n key that is used to lookup the field's name when it is displayed |
org.apache.lucene.search.FieldComparatorSource |
getSortComparatorSource()
A sortComparatorSource object to be used for sorting columns in a table. |
LuceneFieldSorter |
getSorter()
A sorter to be used when sorting columns in a table. |
int |
hashCode()
|
String |
prettyPrintChangeHistory(String changeHistory)
|
String |
prettyPrintChangeHistory(String changeHistory,
I18nHelper i18nHelper)
Used for email notification templates - allows changelog to be displayed in language of the recipient. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockNavigableField(String id)
| Method Detail |
|---|
public String getId()
Field
getId in interface Fieldpublic String getColumnHeadingKey()
getColumnHeadingKey in interface NavigableFieldpublic String getColumnCssClass()
getColumnCssClass in interface NavigableFieldpublic String getDefaultSortOrder()
NavigableField
getDefaultSortOrder in interface NavigableFieldNavigableField.ORDER_ASCENDING or NavigableField.ORDER_DESCENDINGpublic org.apache.lucene.search.FieldComparatorSource getSortComparatorSource()
NavigableFieldMappedSortComparator using the NavigableField.getSorter()
method. However, fields can provide any sorting mechanism that they wish.
getSortComparatorSource in interface NavigableFieldpublic LuceneFieldSorter getSorter()
NavigableField
getSorter in interface NavigableFieldNavigableField.getSortComparatorSource()DocumentIssueImpl,
MappedSortComparator
public String getColumnViewHtml(FieldLayoutItem fieldLayoutItem,
Map displayParams,
Issue issue)
getColumnViewHtml in interface NavigableFieldpublic String getHiddenFieldId()
NavigableField
getHiddenFieldId in interface NavigableFieldpublic String prettyPrintChangeHistory(String changeHistory)
prettyPrintChangeHistory in interface NavigableField
public String prettyPrintChangeHistory(String changeHistory,
I18nHelper i18nHelper)
NavigableField
prettyPrintChangeHistory in interface NavigableFieldpublic String getNameKey()
Field
getNameKey in interface Fieldpublic String getName()
Field
getName in interface Fieldpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic int compareTo(Object o)
compareTo in interface Comparable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||