public class LastViewedSystemField extends NavigableFieldImpl implements DateField, RestAwareField, ExportableSystemField
| Modifier and Type | Field and Description |
|---|---|
static SortOrder |
DEFAULT_SORT_ORDER |
applicationProperties, templatingEngineauthenticationContextORDER_ASCENDING, ORDER_DESCENDING, TEMPLATE_DIRECTORY_PATH| Constructor and Description |
|---|
LastViewedSystemField(VelocityTemplatingEngine templatingEngine,
ApplicationProperties applicationProperties,
JiraAuthenticationContext authenticationContext,
ColumnViewDateTimeHelper columnViewDateTimeHelper,
DateTimeFormatterFactory dateTimeFormatterFactory,
UserIssueHistoryManager historyManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnViewHtml(FieldLayoutItem fieldLayoutItem,
Map displayParams,
Issue issue) |
FieldTypeInfo |
getFieldTypeInfo(FieldTypeInfoContext fieldTypeInfoContext)
Returns lower level Information about the field.
|
FieldJsonRepresentation |
getJsonFromIssue(Issue issue,
boolean renderedVersionRequired,
FieldLayoutItem fieldLayoutItem)
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.
|
JsonType |
getJsonSchema()
Return a description of the shape of this field when represented as JSON.
|
FieldExportParts |
getRepresentationFromIssue(Issue issue)
For the given issue get an exportable representation for the field
|
org.apache.lucene.search.FieldComparatorSource |
getSortComparatorSource()
A default implementation that returns a
MappedSortComparator from NavigableField.getSorter(). |
LuceneFieldSorter |
getSorter()
A sorter to be used when sorting columns in a table.
|
getApplicationProperties, getColumnCssClass, getColumnHeadingKey, getDefaultSortOrder, getHiddenFieldId, getSortFields, getVelocityParams, prettyPrintChangeHistory, prettyPrintChangeHistory, renderTemplatecompareTo, equals, getAuthenticationContext, getId, getName, getNameKey, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetId, getName, getNameKeycompareTopublic static final SortOrder DEFAULT_SORT_ORDER
public LastViewedSystemField(VelocityTemplatingEngine templatingEngine, ApplicationProperties applicationProperties, JiraAuthenticationContext authenticationContext, ColumnViewDateTimeHelper columnViewDateTimeHelper, DateTimeFormatterFactory dateTimeFormatterFactory, UserIssueHistoryManager historyManager)
public org.apache.lucene.search.FieldComparatorSource getSortComparatorSource()
NavigableFieldImplMappedSortComparator from NavigableField.getSorter().getSortComparatorSource in interface NavigableFieldgetSortComparatorSource in class NavigableFieldImplpublic LuceneFieldSorter getSorter()
NavigableFieldgetSorter in interface NavigableFieldNavigableField.getSortComparatorSource()DocumentIssueImpl,
MappedSortComparatorpublic String getColumnViewHtml(FieldLayoutItem fieldLayoutItem, Map displayParams, Issue issue)
getColumnViewHtml in interface NavigableFieldpublic FieldTypeInfo getFieldTypeInfo(FieldTypeInfoContext fieldTypeInfoContext)
RestAwareFieldgetFieldTypeInfo in interface RestAwareFieldfieldTypeInfoContext - the FieldTypeInfoContext contains context information that is relevant to generate the FieldTypeInfopublic JsonType getJsonSchema()
RestAwareFieldgetJsonSchema in interface RestAwareFieldpublic FieldJsonRepresentation getJsonFromIssue(Issue issue, boolean renderedVersionRequired, FieldLayoutItem fieldLayoutItem)
RestAwareFieldgetJsonFromIssue in interface RestAwareFieldissue - to get field data fromrenderedVersionRequired - 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.public FieldExportParts getRepresentationFromIssue(Issue issue)
ExportableSystemFieldgetRepresentationFromIssue in interface ExportableSystemFieldissue - to get representation for the fieldCopyright © 2002-2019 Atlassian. All Rights Reserved.