public static class Storefront.QueryRoot
extends <any>
| Constructor and Description |
|---|
QueryRoot() |
QueryRoot(JsonObject fields) |
public QueryRoot()
public QueryRoot(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public Storefront.ArticleConnection getArticles()
public Storefront.QueryRoot setArticles(Storefront.ArticleConnection arg)
public Storefront.Blog getBlogByHandle()
public Storefront.QueryRoot setBlogByHandle(Storefront.Blog arg)
public Storefront.BlogConnection getBlogs()
public Storefront.QueryRoot setBlogs(Storefront.BlogConnection arg)
public Storefront.Collection getCollectionByHandle()
public Storefront.QueryRoot setCollectionByHandle(Storefront.Collection arg)
public Storefront.CollectionConnection getCollections()
public Storefront.QueryRoot setCollections(Storefront.CollectionConnection arg)
public Storefront.Customer getCustomer()
public Storefront.QueryRoot setCustomer(Storefront.Customer arg)
public Storefront.Node getNode()
public Storefront.QueryRoot setNode(Storefront.Node arg)
public java.util.List<Storefront.Node> getNodes()
public Storefront.QueryRoot setNodes(java.util.List<Storefront.Node> arg)
public Storefront.Page getPageByHandle()
public Storefront.QueryRoot setPageByHandle(Storefront.Page arg)
public Storefront.PageConnection getPages()
public Storefront.QueryRoot setPages(Storefront.PageConnection arg)
public Storefront.Product getProductByHandle()
public Storefront.QueryRoot setProductByHandle(Storefront.Product arg)
public java.util.List<Storefront.Product> getProductRecommendations()
public Storefront.QueryRoot setProductRecommendations(java.util.List<Storefront.Product> arg)
public Storefront.StringConnection getProductTags()
public Storefront.QueryRoot setProductTags(Storefront.StringConnection arg)
public Storefront.StringConnection getProductTypes()
public Storefront.QueryRoot setProductTypes(Storefront.StringConnection arg)
public Storefront.ProductConnection getProducts()
public Storefront.QueryRoot setProducts(Storefront.ProductConnection arg)
public java.util.List<Storefront.ApiVersion> getPublicApiVersions()
public Storefront.QueryRoot setPublicApiVersions(java.util.List<Storefront.ApiVersion> arg)
public Storefront.Shop getShop()
public Storefront.QueryRoot setShop(Storefront.Shop arg)
public boolean unwrapsToObject(java.lang.String key)