com.atlassian.jira.issue.customfields
Interface SortableCustomField

All Known Implementing Classes:
CalculatedCFType, CascadingSelectCFType, DateCFType, DateTimeCFType, ImportIdLinkCFType, MultiSelectCFType, NumberCFType, ProjectCFType, SelectCFType, TextCFType, URLCFType, UserCFType, VersionCFType

public interface SortableCustomField

Allow a custom field to be sortable in the Issue Navigator. This method of sorting is an order of magnitude slower than SortableCustomFieldSearcher.

See Also:
SortableCustomFieldSearcher

Method Summary
 int compare(Object customFieldObjectValue1, Object customFieldObjectValue2, FieldConfig fieldConfig)
          Comapares the two custom field objects.
 

Method Detail

compare

public int compare(Object customFieldObjectValue1,
                   Object customFieldObjectValue2,
                   FieldConfig fieldConfig)
Comapares the two custom field objects.

Parameters:
customFieldObjectValue1 - Never null
customFieldObjectValue2 - Never null
fieldConfig -
Returns:
0, 1 or -1


Copyright © 2002-2006 Atlassian. All Rights Reserved.