public static enum Storefront.PageSortKeys extends java.lang.Enum<Storefront.PageSortKeys>
| Enum Constant and Description |
|---|
ID
Sort by the `id` value.
|
RELEVANCE
Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
TITLE
Sort by the `title` value.
|
UNKNOWN_VALUE |
UPDATED_AT
Sort by the `updated_at` value.
|
| Modifier and Type | Method and Description |
|---|---|
static Storefront.PageSortKeys |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.PageSortKeys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.PageSortKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.PageSortKeys ID
public static final Storefront.PageSortKeys RELEVANCE
public static final Storefront.PageSortKeys TITLE
public static final Storefront.PageSortKeys UPDATED_AT
public static final Storefront.PageSortKeys UNKNOWN_VALUE
public static Storefront.PageSortKeys[] values()
for (Storefront.PageSortKeys c : Storefront.PageSortKeys.values()) System.out.println(c);
public static Storefront.PageSortKeys 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 static Storefront.PageSortKeys fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.PageSortKeys>