public static class Storefront.CollectionQuery extends Query<Storefront.CollectionQuery>
| Modifier and Type | Class and Description |
|---|---|
class |
Storefront.CollectionQuery.DescriptionArguments |
static interface |
Storefront.CollectionQuery.DescriptionArgumentsDefinition |
class |
Storefront.CollectionQuery.MetafieldArguments |
static interface |
Storefront.CollectionQuery.MetafieldArgumentsDefinition |
class |
Storefront.CollectionQuery.ProductsArguments |
static interface |
Storefront.CollectionQuery.ProductsArgumentsDefinition |
_queryBuilder, ALIAS_SUFFIX_SEPARATOR| Modifier and Type | Method and Description |
|---|---|
Storefront.CollectionQuery |
description()
Stripped description of the collection, single line with HTML tags removed.
|
Storefront.CollectionQuery |
description(Storefront.CollectionQuery.DescriptionArgumentsDefinition argsDef)
Stripped description of the collection, single line with HTML tags removed.
|
Storefront.CollectionQuery |
descriptionHtml()
The description of the collection, complete with HTML formatting.
|
Storefront.CollectionQuery |
handle()
A human-friendly unique string for the collection automatically generated from its title.
|
Storefront.CollectionQuery |
image(Storefront.ImageQueryDefinition queryDef)
Image associated with the collection.
|
Storefront.CollectionQuery |
metafield(java.lang.String key,
Storefront.CollectionQuery.MetafieldArgumentsDefinition argsDef,
Storefront.MetafieldQueryDefinition queryDef)
Returns a metafield found by namespace and key.
|
Storefront.CollectionQuery |
metafield(java.lang.String key,
Storefront.MetafieldQueryDefinition queryDef)
Returns a metafield found by namespace and key.
|
Storefront.CollectionQuery |
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.CollectionQuery |
onlineStoreUrl()
The URL used for viewing the resource on the shop's Online Store.
|
Storefront.CollectionQuery |
products(Storefront.CollectionQuery.ProductsArgumentsDefinition argsDef,
Storefront.ProductConnectionQueryDefinition queryDef)
List of products in the collection.
|
Storefront.CollectionQuery |
products(Storefront.ProductConnectionQueryDefinition queryDef)
List of products in the collection.
|
Storefront.CollectionQuery |
seo(Storefront.SEOQueryDefinition queryDef)
The collection's SEO information.
|
Storefront.CollectionQuery |
title()
The collection’s name.
|
Storefront.CollectionQuery |
trackingParameters()
A URL parameters to be added to a page URL when it is linked from a GraphQL result.
|
Storefront.CollectionQuery |
updatedAt()
The date and time when the collection was last modified.
|
appendQuotedString, startField, startInlineFragment, withAliaspublic Storefront.CollectionQuery description()
public Storefront.CollectionQuery description(Storefront.CollectionQuery.DescriptionArgumentsDefinition argsDef)
public Storefront.CollectionQuery descriptionHtml()
public Storefront.CollectionQuery handle()
public Storefront.CollectionQuery image(Storefront.ImageQueryDefinition queryDef)
public Storefront.CollectionQuery metafield(java.lang.String key, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.CollectionQuery metafield(java.lang.String key, Storefront.CollectionQuery.MetafieldArgumentsDefinition argsDef, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.CollectionQuery metafields(java.util.List<Storefront.HasMetafieldsIdentifier> identifiers, Storefront.MetafieldQueryDefinition queryDef)
public Storefront.CollectionQuery onlineStoreUrl()
public Storefront.CollectionQuery products(Storefront.ProductConnectionQueryDefinition queryDef)
public Storefront.CollectionQuery products(Storefront.CollectionQuery.ProductsArgumentsDefinition argsDef, Storefront.ProductConnectionQueryDefinition queryDef)
public Storefront.CollectionQuery seo(Storefront.SEOQueryDefinition queryDef)
public Storefront.CollectionQuery title()
public Storefront.CollectionQuery trackingParameters()
public Storefront.CollectionQuery updatedAt()