public static enum Storefront.BlogSortKeys extends java.lang.Enum<Storefront.BlogSortKeys>
| Enum Constant and Description |
|---|
HANDLE
Sort by the `handle` value.
|
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 |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.BlogSortKeys |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.BlogSortKeys |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.BlogSortKeys[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.BlogSortKeys HANDLE
public static final Storefront.BlogSortKeys ID
public static final Storefront.BlogSortKeys RELEVANCE
public static final Storefront.BlogSortKeys TITLE
public static final Storefront.BlogSortKeys UNKNOWN_VALUE
public static Storefront.BlogSortKeys[] values()
for (Storefront.BlogSortKeys c : Storefront.BlogSortKeys.values()) System.out.println(c);
public static Storefront.BlogSortKeys 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.BlogSortKeys fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.BlogSortKeys>