public static class Storefront.ArticleQuery extends Query<Storefront.ArticleQuery>
| Modifier and Type | Class and Description |
|---|---|
class |
Storefront.ArticleQuery.CommentsArguments |
static interface |
Storefront.ArticleQuery.CommentsArgumentsDefinition |
class |
Storefront.ArticleQuery.ContentArguments |
static interface |
Storefront.ArticleQuery.ContentArgumentsDefinition |
class |
Storefront.ArticleQuery.ExcerptArguments |
static interface |
Storefront.ArticleQuery.ExcerptArgumentsDefinition |
class |
Storefront.ArticleQuery.MetafieldArguments |
static interface |
Storefront.ArticleQuery.MetafieldArgumentsDefinition |
_queryBuilder, ALIAS_SUFFIX_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Storefront.ArticleQuery |
author(Storefront.ArticleAuthorQueryDefinition queryDef)
Deprecated.
Use `authorV2` instead.
|
Storefront.ArticleQuery |
authorV2(Storefront.ArticleAuthorQueryDefinition queryDef)
The article's author.
|
Storefront.ArticleQuery |
blog(Storefront.BlogQueryDefinition queryDef)
The blog that the article belongs to.
|
Storefront.ArticleQuery |
comments(Storefront.ArticleQuery.CommentsArgumentsDefinition argsDef,
Storefront.CommentConnectionQueryDefinition queryDef)
List of comments posted on the article.
|
Storefront.ArticleQuery |
comments(Storefront.CommentConnectionQueryDefinition queryDef)
List of comments posted on the article.
|
Storefront.ArticleQuery |
content()
Stripped content of the article, single line with HTML tags removed.
|
Storefront.ArticleQuery |
content(Storefront.ArticleQuery.ContentArgumentsDefinition argsDef)
Stripped content of the article, single line with HTML tags removed.
|
Storefront.ArticleQuery |
contentHtml()
The content of the article, complete with HTML formatting.
|
Storefront.ArticleQuery |
excerpt()
Stripped excerpt of the article, single line with HTML tags removed.
|
Storefront.ArticleQuery |
excerpt(Storefront.ArticleQuery.ExcerptArgumentsDefinition argsDef)
Stripped excerpt of the article, single line with HTML tags removed.
|
Storefront.ArticleQuery |
excerptHtml()
The excerpt of the article, complete with HTML formatting.
|
Storefront.ArticleQuery |
handle()
A human-friendly unique string for the Article automatically generated from its title.
|
Storefront.ArticleQuery |
image(Storefront.ImageQueryDefinition queryDef)
The image associated with the article.
|
Storefront.ArticleQuery |
metafield(java.lang.String key,
Storefront.ArticleQuery.MetafieldArgumentsDefinition argsDef,
Storefront.MetafieldQueryDefinition queryDef)
Returns a metafield found by namespace and key.
|
Storefront.ArticleQuery |
metafield(java.lang.String key,
Storefront.MetafieldQueryDefinition queryDef)
Returns a metafield found by namespace and key.
|
Storefront.ArticleQuery |
metafields(java.util.List<Storefront.HasMetafieldsIdentifier> identifiers,
Storefront.MetafieldQueryDefinition queryDef)
The metafields associated with the resource matching the supplied list of namespaces and keys.
|
Storefront.ArticleQuery |
onlineStoreUrl()
The URL used for viewing the resource on the shop's Online Store.
|
Storefront.ArticleQuery |
publishedAt()
The date and time when the article was published.
|
Storefront.ArticleQuery |
seo(Storefront.SEOQueryDefinition queryDef)
The article’s SEO information.
|
Storefront.ArticleQuery |
tags()
A categorization that a article can be tagged with.
|
Storefront.ArticleQuery |
title()
The article’s name.
|
Storefront.ArticleQuery |
trackingParameters()
A URL parameters to be added to a page URL when it is linked from a GraphQL result.
|
appendQuotedString, startField, startInlineFragment, withAlias@Deprecated public Storefront.ArticleQuery author(Storefront.ArticleAuthorQueryDefinition queryDef)
public Storefront.ArticleQuery authorV2(Storefront.ArticleAuthorQueryDefinition queryDef)
public Storefront.ArticleQuery blog(Storefront.BlogQueryDefinition queryDef)
public Storefront.ArticleQuery comments(Storefront.CommentConnectionQueryDefinition queryDef)
public Storefront.ArticleQuery comments(Storefront.ArticleQuery.CommentsArgumentsDefinition argsDef, Storefront.CommentConnectionQueryDefinition queryDef)
public Storefront.ArticleQuery content()
public Storefront.ArticleQuery content(Storefront.ArticleQuery.ContentArgumentsDefinition argsDef)
public Storefront.ArticleQuery contentHtml()
public Storefront.ArticleQuery excerpt()
public Storefront.ArticleQuery excerpt(Storefront.ArticleQuery.ExcerptArgumentsDefinition argsDef)
public Storefront.ArticleQuery excerptHtml()
public Storefront.ArticleQuery handle()
public Storefront.ArticleQuery image(Storefront.ImageQueryDefinition queryDef)
public Storefront.ArticleQuery metafield(java.lang.String key, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.ArticleQuery metafield(java.lang.String key, Storefront.ArticleQuery.MetafieldArgumentsDefinition argsDef, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.ArticleQuery metafields(java.util.List<Storefront.HasMetafieldsIdentifier> identifiers, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.ArticleQuery onlineStoreUrl()
public Storefront.ArticleQuery publishedAt()
public Storefront.ArticleQuery seo(Storefront.SEOQueryDefinition queryDef)
public Storefront.ArticleQuery tags()
public Storefront.ArticleQuery title()
public Storefront.ArticleQuery trackingParameters()