public static class Storefront.Page extends <any> implements Storefront.Node
| Constructor and Description |
|---|
Page() |
Page(ID id) |
Page(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBody()
The description of the page, complete with HTML formatting.
|
java.lang.String |
getBodySummary()
Summary of the page body.
|
DateTime |
getCreatedAt()
The timestamp of the page creation.
|
java.lang.String |
getGraphQlTypeName() |
java.lang.String |
getHandle()
A human-friendly unique string for the page automatically generated from its title.
|
ID |
getId()
Globally unique identifier.
|
Storefront.SEO |
getSeo()
The page's SEO information.
|
java.lang.String |
getTitle()
The title of the page.
|
DateTime |
getUpdatedAt()
The timestamp of the latest page update.
|
java.lang.String |
getUrl()
The url pointing to the page accessible from the web.
|
Storefront.Page |
setBody(java.lang.String arg) |
Storefront.Page |
setBodySummary(java.lang.String arg) |
Storefront.Page |
setCreatedAt(DateTime arg) |
Storefront.Page |
setHandle(java.lang.String arg) |
Storefront.Page |
setSeo(Storefront.SEO arg) |
Storefront.Page |
setTitle(java.lang.String arg) |
Storefront.Page |
setUpdatedAt(DateTime arg) |
Storefront.Page |
setUrl(java.lang.String arg) |
boolean |
unwrapsToObject(java.lang.String key) |
public Page()
public Page(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic Page(ID id)
public java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.Nodepublic java.lang.String getBody()
public Storefront.Page setBody(java.lang.String arg)
public java.lang.String getBodySummary()
public Storefront.Page setBodySummary(java.lang.String arg)
public DateTime getCreatedAt()
public Storefront.Page setCreatedAt(DateTime arg)
public java.lang.String getHandle()
public Storefront.Page setHandle(java.lang.String arg)
public ID getId()
getId in interface Storefront.Nodepublic Storefront.SEO getSeo()
public Storefront.Page setSeo(Storefront.SEO arg)
public java.lang.String getTitle()
public Storefront.Page setTitle(java.lang.String arg)
public DateTime getUpdatedAt()
public Storefront.Page setUpdatedAt(DateTime arg)
public java.lang.String getUrl()
public Storefront.Page setUrl(java.lang.String arg)
public boolean unwrapsToObject(java.lang.String key)