@Immutable public class SharedEntityColumnDefinition extends Object
SharedEntityColumn
which is used for sorting Shared Entity search results.
Note: the sortColumn is used for equality/hashCode and MUST be distinct.
SharedEntityColumn
Modifier and Type | Field and Description |
---|---|
static SharedEntityColumnDefinition |
DESCRIPTION |
static SharedEntityColumnDefinition |
FAVOURITE_COUNT |
static SharedEntityColumnDefinition |
ID |
static SharedEntityColumnDefinition |
IS_SHARED |
static SharedEntityColumnDefinition |
NAME |
static SharedEntityColumnDefinition |
OWNER |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.FieldComparatorSource |
createSortComparator() |
static SharedEntityColumnDefinition |
definitionFor(SharedEntityColumn column)
Returns the definition details for the given SharedEntityColumn.
|
boolean |
equals(Object o) |
String |
getCaseInsensitiveColumn() |
String |
getName() |
String |
getSortColumn() |
int |
getSortType() |
int |
hashCode() |
boolean |
isCustomSort() |
String |
toString() |
public static final SharedEntityColumnDefinition ID
public static final SharedEntityColumnDefinition NAME
public static final SharedEntityColumnDefinition DESCRIPTION
public static final SharedEntityColumnDefinition OWNER
public static final SharedEntityColumnDefinition FAVOURITE_COUNT
public static final SharedEntityColumnDefinition IS_SHARED
public String getName()
public String getSortColumn()
public int getSortType()
SortField
int used to determine the comparison algorithmpublic String getCaseInsensitiveColumn()
public boolean isCustomSort()
public org.apache.lucene.search.FieldComparatorSource createSortComparator()
public static SharedEntityColumnDefinition definitionFor(SharedEntityColumn column)
column
- The simple SharedEntityColumnCopyright © 2002-2015 Atlassian. All Rights Reserved.