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