Package com.atlassian.jira.issue.fields
Class KeySystemField
java.lang.Object
com.atlassian.jira.issue.fields.AbstractField
com.atlassian.jira.issue.fields.NavigableFieldImpl
com.atlassian.jira.issue.fields.KeySystemField
- All Implemented Interfaces:
ExportableSystemField,Field,NavigableField,Comparable
-
Field Summary
Fields inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
applicationProperties, templatingEngineFields inherited from class com.atlassian.jira.issue.fields.AbstractField
authenticationContextFields inherited from interface com.atlassian.jira.issue.fields.NavigableField
ORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH -
Constructor Summary
ConstructorsConstructorDescriptionKeySystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext) -
Method Summary
Modifier and TypeMethodDescriptiongetColumnViewHtml(FieldLayoutItem fieldLayoutItem, Map<String, Object> displayParams, Issue issue) getFieldSorts(FieldSort.Order sortOrder) Returns a list ofFieldSortobjects that can be used to sort this field.getRepresentationFromIssue(Issue issue) Returns a Multi Item representation of the field.A loader to be used when loading the value of the field from the index.Methods inherited from class com.atlassian.jira.issue.fields.NavigableFieldImpl
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getHiddenFieldId, getVelocityParams, prettyPrintChangeHistory, prettyPrintChangeHistory, renderTemplateMethods inherited from class com.atlassian.jira.issue.fields.AbstractField
compareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.atlassian.jira.issue.fields.Field
getId, getName, getNameKeyMethods inherited from interface com.atlassian.jira.issue.fields.NavigableField
hasSortsDefined, prettyPrintChangeHistory
-
Constructor Details
-
KeySystemField
public KeySystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext)
-
-
Method Details
-
getValueLoader
Description copied from interface:NavigableFieldA loader to be used when loading the value of the field from the index.- Specified by:
getValueLoaderin interfaceNavigableField- Returns:
- A loader that can be used to load the value of the field
- See Also:
-
getFieldSorts
Description copied from interface:NavigableFieldReturns a list ofFieldSortobjects that can be used to sort this field.- Specified by:
getFieldSortsin interfaceNavigableField- Parameters:
sortOrder- the order in which to sort the field- Returns:
- a list of
FieldSortobjects that can be used to sort this field
-
getColumnViewHtml
public String getColumnViewHtml(FieldLayoutItem fieldLayoutItem, Map<String, Object> displayParams, Issue issue) - Specified by:
getColumnViewHtmlin interfaceNavigableField
-
getRepresentationFromIssue
Returns a Multi Item representation of the field. For example in the CSV export it would look like the following: {pre} Issue Key, Issue ID, Parent ID NEAN-18,10533,10005 {/pre}- Specified by:
getRepresentationFromIssuein interfaceExportableSystemField- Parameters:
issue- to get export for the field- Returns:
- export representation of the field
-