public class MergingResourceProvider extends org.apache.sling.spi.resource.provider.ResourceProvider<Void>
Modifier and Type | Class and Description |
---|---|
protected static class |
MergingResourceProvider.ExcludeEntry |
protected static class |
MergingResourceProvider.ParentHidingHandler
Class to check whether a child resource must be hidden.
|
protected static class |
MergingResourceProvider.ResourceHolder |
Modifier and Type | Field and Description |
---|---|
protected String |
mergeRootPath |
protected MergedResourcePicker2 |
picker |
protected boolean |
traverseHierarchie |
AUTH_ADMIN, AUTH_SERVICE_BUNDLE, AUTHENTICATE_LAZY, AUTHENTICATE_NO, AUTHENTICATE_REQUIRED, PROPERTY_ADAPTABLE, PROPERTY_ATTRIBUTABLE, PROPERTY_AUTHENTICATE, PROPERTY_MODIFIABLE, PROPERTY_NAME, PROPERTY_REFRESHABLE, PROPERTY_ROOT, PROPERTY_USE_RESOURCE_ACCESS_SECURITY, RESOURCE_TYPE_SYNTHETIC
Modifier and Type | Method and Description |
---|---|
org.apache.sling.api.resource.Resource |
getParent(org.apache.sling.spi.resource.provider.ResolveContext<Void> ctx,
org.apache.sling.api.resource.Resource child) |
protected String |
getRelativePath(String path)
Gets the relative path out of merge root path
|
org.apache.sling.api.resource.Resource |
getResource(org.apache.sling.spi.resource.provider.ResolveContext<Void> ctx,
String path,
org.apache.sling.spi.resource.provider.ResourceContext rCtx,
org.apache.sling.api.resource.Resource parent) |
Iterator<org.apache.sling.api.resource.Resource> |
listChildren(org.apache.sling.spi.resource.provider.ResolveContext<Void> ctx,
org.apache.sling.api.resource.Resource parent) |
protected final String mergeRootPath
protected final MergedResourcePicker2 picker
protected final boolean traverseHierarchie
protected String getRelativePath(String path)
path
- Absolute pathpublic org.apache.sling.api.resource.Resource getParent(org.apache.sling.spi.resource.provider.ResolveContext<Void> ctx, org.apache.sling.api.resource.Resource child)
getParent
in class org.apache.sling.spi.resource.provider.ResourceProvider<Void>
public org.apache.sling.api.resource.Resource getResource(org.apache.sling.spi.resource.provider.ResolveContext<Void> ctx, String path, org.apache.sling.spi.resource.provider.ResourceContext rCtx, org.apache.sling.api.resource.Resource parent)
getResource
in class org.apache.sling.spi.resource.provider.ResourceProvider<Void>
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.