public static class Storefront.Blog extends <any> implements Storefront.Node
| Constructor and Description |
|---|
Blog() |
Blog(ID id) |
Blog(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
Storefront.Article |
getArticleByHandle()
Find an article by its handle.
|
Storefront.ArticleConnection |
getArticles()
List of the blog's articles.
|
java.util.List<Storefront.ArticleAuthor> |
getAuthors()
The authors who have contributed to the blog.
|
java.lang.String |
getGraphQlTypeName() |
java.lang.String |
getHandle()
A human-friendly unique string for the Blog automatically generated from its title.
|
ID |
getId()
Globally unique identifier.
|
Storefront.SEO |
getSeo()
The blog's SEO information.
|
java.lang.String |
getTitle()
The blogs’s title.
|
java.lang.String |
getUrl()
The url pointing to the blog accessible from the web.
|
Storefront.Blog |
setArticleByHandle(Storefront.Article arg) |
Storefront.Blog |
setArticles(Storefront.ArticleConnection arg) |
Storefront.Blog |
setAuthors(java.util.List<Storefront.ArticleAuthor> arg) |
Storefront.Blog |
setHandle(java.lang.String arg) |
Storefront.Blog |
setSeo(Storefront.SEO arg) |
Storefront.Blog |
setTitle(java.lang.String arg) |
Storefront.Blog |
setUrl(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
public Blog()
public Blog(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic Blog(ID id)
public java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.Nodepublic Storefront.Article getArticleByHandle()
public Storefront.Blog setArticleByHandle(Storefront.Article arg)
public Storefront.ArticleConnection getArticles()
public Storefront.Blog setArticles(Storefront.ArticleConnection arg)
public java.util.List<Storefront.ArticleAuthor> getAuthors()
public Storefront.Blog setAuthors(java.util.List<Storefront.ArticleAuthor> arg)
public java.lang.String getHandle()
public Storefront.Blog setHandle(java.lang.String arg)
public ID getId()
getId in interface Storefront.Nodepublic Storefront.SEO getSeo()
public Storefront.Blog setSeo(Storefront.SEO arg)
public java.lang.String getTitle()
public Storefront.Blog setTitle(java.lang.String arg)
public java.lang.String getUrl()
public Storefront.Blog setUrl(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)