|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SearchQueryCriteria.SortOrder>
com.jivesoftware.community.SearchQueryCriteria.SortOrder
public static enum SearchQueryCriteria.SortOrder
Represents the order in which search results will be returned
| Enum Constant Summary | |
|---|---|
ASCENDING
Ascending sort (ie 3, 4, 5...). |
|
DESCENDING
Descending sort (ie 3, 2, 1...). |
|
| Method Summary | |
|---|---|
int |
getKey()
|
static SearchQueryCriteria.SortOrder |
getSortOrder(int key)
A helper method to get a specific SortOrder object from its key |
static SearchQueryCriteria.SortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SearchQueryCriteria.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SearchQueryCriteria.SortOrder DESCENDING
public static final SearchQueryCriteria.SortOrder ASCENDING
| Method Detail |
|---|
public static final SearchQueryCriteria.SortOrder[] values()
for(SearchQueryCriteria.SortOrder c : SearchQueryCriteria.SortOrder.values())
System.out.println(c);
public static SearchQueryCriteria.SortOrder valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic int getKey()
public static SearchQueryCriteria.SortOrder getSortOrder(int key)
key - the key value of the SortOrder object
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||