public interface MergedResourcePicker2
ResourceProviderFactory
will be exposed at the MERGE_ROOT of the picker.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MERGE_ROOT
Service property name identifying the root path for the merged resources.
|
static java.lang.String |
READ_ONLY
Service property name specifying whether the resources are read-only
or support CRUD operations.
|
static java.lang.String |
TRAVERSE_PARENT
Service property name specifying whether the parent hierarchy is
traversed to check for hiding properties.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Resource> |
pickResources(ResourceResolver resolver,
java.lang.String relativePath,
Resource relatedResource)
Method invoked by the MergingResourceProvider to identify the resources to be merged for a given
relative path.
|
static final java.lang.String MERGE_ROOT
static final java.lang.String READ_ONLY
true. The value of this property must be of type
Boolean.static final java.lang.String TRAVERSE_PARENT
false. The value of this
property must be of type Boolean.java.util.List<Resource> pickResources(ResourceResolver resolver, java.lang.String relativePath, Resource relatedResource)
resolver - the ResourceResolverrelativePath - the path relative to the merge rootrelatedResource - an optional resource which is related to the given path (always the parent resource or null)"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"