@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 PageTemplate
public List<ComponentPolicy> getComponentPolicies()
getComponentPolicies
in interface PageTemplate
public List<org.apache.sling.api.resource.Resource> getFields()
public org.apache.sling.api.resource.Resource getResource()
getResource
in interface PageTemplate
public String getTemplate()
getTemplate
in interface PageTemplate
public String getTitle()
getTitle
in interface PageTemplate
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.