@Model(adaptables=org.apache.sling.api.resource.Resource.class,
adapters=org.apache.sling.cms.Page.class)
public class PageImpl
extends java.lang.Object
implements org.apache.sling.cms.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 org.apache.sling.cms.Page |
getContainingPage(org.apache.sling.api.resource.Resource resource) |
org.apache.sling.api.resource.Resource |
getContentResource() |
java.util.Calendar |
getCreated() |
java.lang.String |
getCreatedBy() |
java.lang.String[] |
getKeywords() |
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() |
java.lang.String |
getPublishedPath() |
java.lang.String |
getPublishedUrl() |
org.apache.sling.api.resource.Resource |
getResource() |
org.apache.sling.cms.Site |
getSite() |
org.apache.sling.cms.PageTemplate |
getTemplate() |
java.lang.String |
getTemplatePath() |
java.lang.String |
getTitle() |
boolean |
isPublished() |
public static final org.apache.sling.cms.Page getContainingPage(org.apache.sling.api.resource.Resource resource)
public org.apache.sling.api.resource.Resource getContentResource()
getContentResource in interface org.apache.sling.cms.Pagepublic java.util.Calendar getCreated()
getCreated in interface org.apache.sling.cms.Pagepublic java.lang.String getCreatedBy()
getCreatedBy in interface org.apache.sling.cms.Pagepublic java.lang.String[] getKeywords()
getKeywords in interface org.apache.sling.cms.Pagepublic java.util.Calendar getLastModified()
getLastModified in interface org.apache.sling.cms.Pagepublic java.lang.String getLastModifiedBy()
getLastModifiedBy in interface org.apache.sling.cms.Pagepublic java.lang.String getName()
getName in interface org.apache.sling.cms.Pagepublic org.apache.sling.api.resource.Resource getParent()
getParent in interface org.apache.sling.cms.Pagepublic java.lang.String getPath()
getPath in interface org.apache.sling.cms.Pagepublic org.apache.sling.api.resource.ValueMap getProperties()
getProperties in interface org.apache.sling.cms.Pagepublic java.lang.String getPublishedPath()
getPublishedPath in interface org.apache.sling.cms.Pagepublic java.lang.String getPublishedUrl()
getPublishedUrl in interface org.apache.sling.cms.Pagepublic org.apache.sling.api.resource.Resource getResource()
getResource in interface org.apache.sling.cms.Pagepublic org.apache.sling.cms.Site getSite()
getSite in interface org.apache.sling.cms.Pagepublic org.apache.sling.cms.PageTemplate getTemplate()
getTemplate in interface org.apache.sling.cms.Pagepublic java.lang.String getTemplatePath()
getTemplatePath in interface org.apache.sling.cms.Pagepublic java.lang.String getTitle()
getTitle in interface org.apache.sling.cms.Pagepublic boolean isPublished()
isPublished in interface org.apache.sling.cms.PageCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.