@Model(adaptables=org.apache.sling.api.resource.Resource.class,
adapters=org.apache.sling.cms.Page.class)
public class PageImpl
extends Object
implements Page
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.sling.api.resource.Resource |
resource |
| Constructor and Description |
|---|
PageImpl(org.apache.sling.api.resource.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
static Page |
getContainingPage(org.apache.sling.api.resource.Resource resource) |
org.apache.sling.api.resource.Resource |
getContentResource() |
Calendar |
getCreated() |
String |
getCreatedBy() |
String[] |
getKeywords() |
Calendar |
getLastModified() |
String |
getLastModifiedBy() |
String |
getName() |
org.apache.sling.api.resource.Resource |
getParent() |
String |
getPath() |
org.apache.sling.api.resource.ValueMap |
getProperties() |
String |
getPublishedPath() |
String |
getPublishedUrl() |
org.apache.sling.api.resource.Resource |
getResource() |
Site |
getSite() |
PageTemplate |
getTemplate() |
String |
getTemplatePath() |
String |
getTitle() |
boolean |
isPublished() |
public static final Page getContainingPage(org.apache.sling.api.resource.Resource resource)
public org.apache.sling.api.resource.Resource getContentResource()
getContentResource in interface Pagepublic Calendar getCreated()
getCreated in interface Pagepublic String getCreatedBy()
getCreatedBy in interface Pagepublic String[] getKeywords()
getKeywords in interface Pagepublic Calendar getLastModified()
getLastModified in interface Pagepublic String getLastModifiedBy()
getLastModifiedBy in interface Pagepublic org.apache.sling.api.resource.Resource getParent()
public org.apache.sling.api.resource.ValueMap getProperties()
getProperties in interface Pagepublic String getPublishedPath()
getPublishedPath in interface Pagepublic String getPublishedUrl()
getPublishedUrl in interface Pagepublic org.apache.sling.api.resource.Resource getResource()
getResource in interface Pagepublic PageTemplate getTemplate()
getTemplate in interface Pagepublic String getTemplatePath()
getTemplatePath in interface Pagepublic boolean isPublished()
isPublished in interface PageCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.