|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Item.SortField>
com.esri.core.internal.catalog.Item.SortField
public static enum Item.SortField

The fields of an Item stored as a back-end database table on the server, that can be used to sort search results
| Enum Constant Summary | |
|---|---|
AVG_RATING
The average ratings received by an Item |
|
NUM_COMMENTS
The number of comments received by an Item |
|
NUM_RATINGS
The number of ratings received by an Item |
|
NUM_VIEWS
The number of times an Item has been viewed |
|
OWNER
The owner of an Item |
|
TITLE
The title of an Item |
|
TYPE
The type of an Item (text, url, file) |
|
UPLOADED
The uploaded date of an Item |
|
| Method Summary | |
|---|---|
static Item.SortField |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Item.SortField[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Item.SortField TITLE
public static final Item.SortField UPLOADED
public static final Item.SortField TYPE
public static final Item.SortField OWNER
public static final Item.SortField AVG_RATING
public static final Item.SortField NUM_RATINGS
public static final Item.SortField NUM_COMMENTS
public static final Item.SortField NUM_VIEWS
| Method Detail |
|---|
public static Item.SortField[] values()
for (Item.SortField c : Item.SortField.values()) System.out.println(c);
public static Item.SortField valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||