@Model(adaptables=org.apache.sling.api.resource.Resource.class,
adapters=org.apache.sling.cms.PageTemplate.class)
public class PageTemplateImpl
extends Object
implements PageTemplate
| Constructor and Description |
|---|
PageTemplateImpl(org.apache.sling.api.resource.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllowedPaths() |
List<ComponentPolicy> |
getComponentPolicies() |
List<org.apache.sling.api.resource.Resource> |
getFields() |
org.apache.sling.api.resource.Resource |
getResource() |
String |
getTemplate() |
String |
getTitle() |
String |
toString() |
public PageTemplateImpl(org.apache.sling.api.resource.Resource resource)
public String[] getAllowedPaths()
getAllowedPaths in interface PageTemplatepublic List<ComponentPolicy> getComponentPolicies()
getComponentPolicies in interface PageTemplatepublic List<org.apache.sling.api.resource.Resource> getFields()
public org.apache.sling.api.resource.Resource getResource()
getResource in interface PageTemplatepublic String getTemplate()
getTemplate in interface PageTemplatepublic String getTitle()
getTitle in interface PageTemplateCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.