|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.comparator.CustomFieldComparators
public class CustomFieldComparators
Utility class for dealing with custom fields.
Constructor Summary | |
---|---|
CustomFieldComparators()
|
Method Summary | |
---|---|
static Comparator<org.ofbiz.core.entity.GenericValue> |
byGvName()
Returns a comparator that compares custom field GenericValue instances by name. |
static Comparator<CustomField> |
byName()
Returns a comparator that compares CustomField instances by name. |
static Comparator<CustomField> |
byTranslatedName(Locale locale,
TranslationManager translationManager)
Returns a comparator that compares CustomField instances by the translated customfield name, using the supplied locale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomFieldComparators()
Method Detail |
---|
public static Comparator<CustomField> byName()
CustomField
instances by name.
This is sorted by the customfield's untranslated name to preserve existing behaviour.
public static Comparator<CustomField> byTranslatedName(Locale locale, TranslationManager translationManager)
CustomField
instances by the translated customfield name, using the supplied locale.
locale
- The locale to use for comparisontranslationManager
- The translation manger component
public static Comparator<org.ofbiz.core.entity.GenericValue> byGvName()
GenericValue
instances by name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |