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(@NotNull org.apache.sling.api.resource.Resource contentResource,
@NotNull Collection<String> bucketNames,
@NotNull String configName) |
Collection<org.apache.sling.api.resource.Resource> |
getResourceCollection(@NotNull org.apache.sling.api.resource.Resource contentResource,
@NotNull Collection<String> bucketNames,
@NotNull String configName) |
Collection<Iterator<org.apache.sling.api.resource.Resource>> |
getResourceCollectionInheritanceChain(@NotNull org.apache.sling.api.resource.Resource contentResource,
@NotNull Collection<String> bucketNames,
@NotNull String configName) |
String |
getResourceCollectionParentPath(@NotNull org.apache.sling.api.resource.Resource contentResource,
@NotNull String bucketName,
@NotNull String configName) |
Iterator<org.apache.sling.api.resource.Resource> |
getResourceInheritanceChain(@NotNull org.apache.sling.api.resource.Resource contentResource,
@NotNull Collection<String> bucketNames,
@NotNull String configName) |
String |
getResourcePath(@NotNull org.apache.sling.api.resource.Resource contentResource,
@NotNull String bucketName,
@NotNull String configName) |
public DefaultConfigurationResourceResolvingStrategy()
public org.apache.sling.api.resource.Resource getResource(@NotNull @NotNull org.apache.sling.api.resource.Resource contentResource, @NotNull @NotNull Collection<String> bucketNames, @NotNull @NotNull String configName)
getResource
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
public Iterator<org.apache.sling.api.resource.Resource> getResourceInheritanceChain(@NotNull @NotNull org.apache.sling.api.resource.Resource contentResource, @NotNull @NotNull Collection<String> bucketNames, @NotNull @NotNull String configName)
getResourceInheritanceChain
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
public Collection<org.apache.sling.api.resource.Resource> getResourceCollection(@NotNull @NotNull org.apache.sling.api.resource.Resource contentResource, @NotNull @NotNull Collection<String> bucketNames, @NotNull @NotNull String configName)
getResourceCollection
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
public Collection<Iterator<org.apache.sling.api.resource.Resource>> getResourceCollectionInheritanceChain(@NotNull @NotNull org.apache.sling.api.resource.Resource contentResource, @NotNull @NotNull Collection<String> bucketNames, @NotNull @NotNull String configName)
getResourceCollectionInheritanceChain
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
public String getResourcePath(@NotNull @NotNull org.apache.sling.api.resource.Resource contentResource, @NotNull @NotNull String bucketName, @NotNull @NotNull String configName)
getResourcePath
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
public String getResourceCollectionParentPath(@NotNull @NotNull org.apache.sling.api.resource.Resource contentResource, @NotNull @NotNull String bucketName, @NotNull @NotNull String configName)
getResourceCollectionParentPath
in interface org.apache.sling.caconfig.resource.spi.ConfigurationResourceResolvingStrategy
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.