public class DefaultConfigurationResourceResolvingStrategy extends Object implements org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
Modifier and Type | Class and Description |
---|---|
static interface |
DefaultConfigurationResourceResolvingStrategy.Config |
Constructor and Description |
---|
DefaultConfigurationResourceResolvingStrategy() |
Modifier and Type | Method and Description |
---|---|
org.apache.sling.api.resource.Resource |
getResource(org.apache.sling.api.resource.Resource contentResource,
Collection<String> bucketNames,
String configName) |
Collection<org.apache.sling.api.resource.Resource> |
getResourceCollection(org.apache.sling.api.resource.Resource contentResource,
Collection<String> bucketNames,
String configName) |
Collection<Iterator<org.apache.sling.api.resource.Resource>> |
getResourceCollectionInheritanceChain(org.apache.sling.api.resource.Resource contentResource,
Collection<String> bucketNames,
String configName) |
String |
getResourceCollectionParentPath(org.apache.sling.api.resource.Resource contentResource,
String bucketName,
String configName) |
Iterator<org.apache.sling.api.resource.Resource> |
getResourceInheritanceChain(org.apache.sling.api.resource.Resource contentResource,
Collection<String> bucketNames,
String configName) |
String |
getResourcePath(org.apache.sling.api.resource.Resource contentResource,
String bucketName,
String configName) |
public DefaultConfigurationResourceResolvingStrategy()
public org.apache.sling.api.resource.Resource getResource(org.apache.sling.api.resource.Resource contentResource, Collection<String> bucketNames, String configName)
getResource
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
public Iterator<org.apache.sling.api.resource.Resource> getResourceInheritanceChain(org.apache.sling.api.resource.Resource contentResource, Collection<String> bucketNames, String configName)
getResourceInheritanceChain
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
public Collection<org.apache.sling.api.resource.Resource> getResourceCollection(org.apache.sling.api.resource.Resource contentResource, Collection<String> bucketNames, String configName)
getResourceCollection
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
public Collection<Iterator<org.apache.sling.api.resource.Resource>> getResourceCollectionInheritanceChain(org.apache.sling.api.resource.Resource contentResource, Collection<String> bucketNames, String configName)
getResourceCollectionInheritanceChain
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
public String getResourcePath(org.apache.sling.api.resource.Resource contentResource, String bucketName, String configName)
getResourcePath
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
public String getResourceCollectionParentPath(org.apache.sling.api.resource.Resource contentResource, String bucketName, String configName)
getResourceCollectionParentPath
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.