@ConsumerType
public interface PageRootProvider
| Modifier and Type | Method and Description |
|---|---|
com.day.cq.wcm.api.Page |
getRootPage(org.apache.sling.api.resource.Resource resource)
Returns the root page for the provided resource.
|
String |
getRootPagePath(String resourcePath)
Returns the root path for the provided resource path.
|
com.day.cq.wcm.api.Page getRootPage(org.apache.sling.api.resource.Resource resource)
resource - The Resource for which to return the root pageString getRootPagePath(String resourcePath)
resourcePath - The path for which to return the root pathCopyright © 2013–2020 Adobe. All rights reserved.