public static enum PortalQueryParams.SortField extends java.lang.Enum<PortalQueryParams.SortField>
Enum Constant and Description |
---|
AVG_RATING |
CREATED |
NOT_SET |
NUM_COMMENTS |
NUM_RATINGS |
NUM_VIEWS |
OWNER |
TITLE |
TYPE |
Modifier and Type | Method and Description |
---|---|
static PortalQueryParams.SortField |
get(java.lang.String sf) |
java.lang.String |
getValue() |
static PortalQueryParams.SortField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortalQueryParams.SortField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortalQueryParams.SortField NOT_SET
public static final PortalQueryParams.SortField TITLE
public static final PortalQueryParams.SortField CREATED
public static final PortalQueryParams.SortField TYPE
public static final PortalQueryParams.SortField OWNER
public static final PortalQueryParams.SortField AVG_RATING
public static final PortalQueryParams.SortField NUM_RATINGS
public static final PortalQueryParams.SortField NUM_COMMENTS
public static final PortalQueryParams.SortField NUM_VIEWS
public static PortalQueryParams.SortField[] values()
for (PortalQueryParams.SortField c : PortalQueryParams.SortField.values()) System.out.println(c);
public static PortalQueryParams.SortField valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public static PortalQueryParams.SortField get(java.lang.String sf)