Class PageImpl
java.lang.Object
org.apache.sling.cms.core.internal.models.PublishableResourceImpl
org.apache.sling.cms.core.internal.models.PageImpl
- All Implemented Interfaces:
Page,PublishableResource
@Model(adaptables=org.apache.sling.api.resource.Resource.class,
adapters=org.apache.sling.cms.Page.class)
public class PageImpl
extends PublishableResourceImpl
implements Page
A model representing a page.
-
Field Summary
Fields inherited from class org.apache.sling.cms.core.internal.models.PublishableResourceImpl
LEGACY_PUBLISHED_PROPERTY, resource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final PagegetContainingPage(org.apache.sling.api.resource.Resource resource) String[]getTitle()Methods inherited from class org.apache.sling.cms.core.internal.models.PublishableResourceImpl
getContentResource, getCreated, getCreatedBy, getLastModified, getLastModifiedBy, getLastPublication, getLastPublicationBy, getLastPublicationType, getName, getParent, getPath, getProperties, getPublishedUrl, getResource, getSite, isPublishedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.sling.cms.PublishableResource
getContentResource, getCreated, getCreatedBy, getLastModified, getLastModifiedBy, getLastPublication, getLastPublicationBy, getLastPublicationType, getName, getParent, getPath, getProperties, getPublishedUrl, getResource, getSite, isPublished
-
Constructor Details
-
PageImpl
@Inject public PageImpl(org.apache.sling.api.resource.Resource resource)
-
-
Method Details
-
getContainingPage
-
getKeywords
- Specified by:
getKeywordsin interfacePage
-
getPublishedPath
- Specified by:
getPublishedPathin interfacePublishableResource- Overrides:
getPublishedPathin classPublishableResourceImpl
-
getTemplate
- Specified by:
getTemplatein interfacePage
-
getTemplatePath
- Specified by:
getTemplatePathin interfacePage
-
getTitle
-