@ProviderType
public interface Page
Modifier and Type | Method and Description |
---|---|
org.apache.sling.api.resource.Resource |
getContentResource()
Retrieves the content Resource of the page
|
java.util.Calendar |
getCreated()
Gets the date the page was created
|
java.lang.String |
getCreatedBy()
Gets the name of the user whom created this page
|
java.lang.String[] |
getKeywords()
Gets the keywords for the page
|
java.util.Calendar |
getLastModified()
Gets the last time this page was modified
|
java.lang.String |
getLastModifiedBy()
Gets the username of the user who last modified the page
|
java.lang.String |
getName()
Gets the name of the Sling Resource backing the page
|
org.apache.sling.api.resource.Resource |
getParent()
Gets the parent of the current page.
|
java.lang.String |
getPath()
Get the path this page resides within the repository
|
org.apache.sling.api.resource.ValueMap |
getProperties()
Gets a ValueMap of the properties of the content resource for this page
|
java.lang.String |
getPublishedPath()
Gets the path of this page after it is published on the site's primary domain
with the the html extension
|
java.lang.String |
getPublishedUrl()
Gets the full url (including domain) of this page after it is published on
the site's primary domain with the the html extension
|
org.apache.sling.api.resource.Resource |
getResource()
Gets the resource backing this pages
|
Site |
getSite()
Gets the site this page is contained within
|
PageTemplate |
getTemplate()
Gets the sling:Template this page was configured with
|
java.lang.String |
getTemplatePath()
Gets the path to the template this page was configured with.
|
java.lang.String |
getTitle()
Gets the title of this page, will fall back to the name of the page
|
boolean |
isPublished()
Returns true if the page is published, false otherwise
|
java.lang.String[] getKeywords()
java.lang.String getPublishedPath()
java.lang.String getPublishedUrl()
Site getSite()
PageTemplate getTemplate()
java.lang.String getTemplatePath()
org.apache.sling.api.resource.Resource getContentResource()
java.util.Calendar getCreated()
java.lang.String getCreatedBy()
java.util.Calendar getLastModified()
java.lang.String getLastModifiedBy()
java.lang.String getName()
org.apache.sling.api.resource.Resource getParent()
java.lang.String getPath()
org.apache.sling.api.resource.ValueMap getProperties()
boolean isPublished()
org.apache.sling.api.resource.Resource getResource()
java.lang.String getTitle()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.