public class CategoryTreeQuery extends AbstractQuery<CategoryTreeQuery>
| Modifier and Type | Class and Description |
|---|---|
class |
CategoryTreeQuery.ProductsArguments |
static interface |
CategoryTreeQuery.ProductsArgumentsDefinition |
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
CategoryTreeQuery |
addCategoryInterfaceFragmentReference(Fragment<CategoryInterfaceQuery> fragment)
Adds a
CategoryInterfaceQuery fragment reference at the current position of the query. |
CategoryTreeQuery |
addFragmentReference(Fragment<CategoryTreeQuery> fragment)
Adds a
CategoryTreeQuery fragment reference at the current position of the query. |
CategoryTreeQuery |
automaticSorting() |
CategoryTreeQuery |
availableSortBy() |
CategoryTreeQuery |
breadcrumbs(BreadcrumbQueryDefinition queryDef)
Breadcrumbs, parent categories info.
|
CategoryTreeQuery |
canonicalUrl()
Relative canonical URL.
|
CategoryTreeQuery |
children(CategoryTreeQueryDefinition queryDef)
Child categories tree.
|
CategoryTreeQuery |
childrenCount() |
CategoryTreeQuery |
cmsBlock(CmsBlockQueryDefinition queryDef)
Category CMS Block.
|
CategoryTreeQuery |
createdAt()
Deprecated.
The field should not be used on the storefront.
|
static Fragment<CategoryTreeQuery> |
createFragment(String name,
CategoryTreeQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
CategoryTreeQuery |
customLayoutUpdateFile() |
CategoryTreeQuery |
defaultSortBy()
The attribute to use for sorting.
|
CategoryTreeQuery |
description()
An optional description of the category.
|
CategoryTreeQuery |
displayMode() |
CategoryTreeQuery |
filterPriceRange() |
CategoryTreeQuery |
id()
Deprecated.
Use the `uid` argument instead.
|
CategoryTreeQuery |
image() |
CategoryTreeQuery |
includeInMenu() |
CategoryTreeQuery |
isAnchor() |
CategoryTreeQuery |
landingPage() |
CategoryTreeQuery |
level()
Indicates the depth of the category within the tree.
|
CategoryTreeQuery |
metaDescription() |
CategoryTreeQuery |
metaKeywords() |
CategoryTreeQuery |
metaTitle() |
CategoryTreeQuery |
name()
The display name of the category.
|
CategoryTreeQuery |
path()
Category Path.
|
CategoryTreeQuery |
pathInStore()
Category path in store.
|
CategoryTreeQuery |
position()
The position of the category relative to other categories at the same level in tree.
|
CategoryTreeQuery |
productCount()
The number of products in the category that are marked as visible.
|
CategoryTreeQuery |
products(CategoryProductsQueryDefinition queryDef)
The list of products assigned to the category.
|
CategoryTreeQuery |
products(CategoryTreeQuery.ProductsArgumentsDefinition argsDef,
CategoryProductsQueryDefinition queryDef)
The list of products assigned to the category.
|
CategoryTreeQuery |
staged() |
CategoryTreeQuery |
uid()
The unique ID for a `CategoryInterface` object.
|
CategoryTreeQuery |
updatedAt()
Deprecated.
The field should not be used on the storefront.
|
CategoryTreeQuery |
urlKey()
The url key assigned to the category.
|
CategoryTreeQuery |
urlPath()
The url path assigned to the category.
|
CategoryTreeQuery |
urlSuffix()
The part of the category URL that is appended after the url key
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic CategoryTreeQuery automaticSorting()
public CategoryTreeQuery availableSortBy()
public CategoryTreeQuery breadcrumbs(BreadcrumbQueryDefinition queryDef)
public CategoryTreeQuery canonicalUrl()
public CategoryTreeQuery children(CategoryTreeQueryDefinition queryDef)
public CategoryTreeQuery childrenCount()
public CategoryTreeQuery cmsBlock(CmsBlockQueryDefinition queryDef)
@Deprecated public CategoryTreeQuery createdAt()
public CategoryTreeQuery customLayoutUpdateFile()
public CategoryTreeQuery defaultSortBy()
public CategoryTreeQuery description()
public CategoryTreeQuery displayMode()
public CategoryTreeQuery filterPriceRange()
@Deprecated public CategoryTreeQuery id()
public CategoryTreeQuery image()
public CategoryTreeQuery includeInMenu()
public CategoryTreeQuery isAnchor()
public CategoryTreeQuery landingPage()
public CategoryTreeQuery level()
public CategoryTreeQuery metaDescription()
public CategoryTreeQuery metaKeywords()
public CategoryTreeQuery metaTitle()
public CategoryTreeQuery name()
public CategoryTreeQuery path()
public CategoryTreeQuery pathInStore()
public CategoryTreeQuery position()
public CategoryTreeQuery productCount()
public CategoryTreeQuery products(CategoryProductsQueryDefinition queryDef)
public CategoryTreeQuery products(CategoryTreeQuery.ProductsArgumentsDefinition argsDef, CategoryProductsQueryDefinition queryDef)
public CategoryTreeQuery staged()
public CategoryTreeQuery uid()
@Deprecated public CategoryTreeQuery updatedAt()
public CategoryTreeQuery urlKey()
public CategoryTreeQuery urlPath()
public CategoryTreeQuery urlSuffix()
public static Fragment<CategoryTreeQuery> createFragment(String name, CategoryTreeQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public CategoryTreeQuery addFragmentReference(Fragment<CategoryTreeQuery> fragment)
CategoryTreeQuery fragment reference at the current position of the query.
For example for a fragment named test, calling this method will add the
reference ...test in the query. For GraphQL types implementing an interface, there
will be some similar methods using the Query type of each implemented interface.fragment - The fragment to reference.public CategoryTreeQuery addCategoryInterfaceFragmentReference(Fragment<CategoryInterfaceQuery> fragment)
CategoryInterfaceQuery fragment reference at the current position of the query.
For example for a fragment named test, calling this method will add the
reference ...test in the query.fragment - The fragment to reference.Copyright © 2022 Adobe. All rights reserved.