Uses of Interface
org.apache.sling.api.resource.ValueMap
-
Packages that use ValueMap Package Description org.apache.sling.api.resource org.apache.sling.api.wrappers org.apache.sling.api.wrappers.impl org.apache.sling.spi.resource.provider -
-
Uses of ValueMap in org.apache.sling.api.resource
Subinterfaces of ValueMap in org.apache.sling.api.resource Modifier and Type Interface Description interface
ModifiableValueMap
TheModifiableValueMap
is an extension of theValueMap
which allows to modify and persist properties.interface
PersistableValueMap
Deprecated.Use theModifiableValueMap
instead.Fields in org.apache.sling.api.resource declared as ValueMap Modifier and Type Field Description static ValueMap
ValueMap. EMPTY
Empty immutable value map.Methods in org.apache.sling.api.resource that return ValueMap Modifier and Type Method Description ValueMap
AbstractResource. getValueMap()
This method callsAdaptable.adaptTo(Class)
with theValueMap
class as an argument.@NotNull ValueMap
Resource. getValueMap()
Returns a value map for this resource.static @NotNull ValueMap
ResourceUtil. getValueMap(Resource res)
Returns anValueMap
object for the givenResource
.@NotNull ValueMap
ResourceWrapper. getValueMap()
Methods in org.apache.sling.api.resource that return types with arguments of type ValueMap Modifier and Type Method Description Iterator<ValueMap>
QueriableResourceProvider. queryResources(ResourceResolver resolver, String query, String language)
Deprecated.Queries the storage using the given query formulated in the given language. -
Uses of ValueMap in org.apache.sling.api.wrappers
Classes in org.apache.sling.api.wrappers that implement ValueMap Modifier and Type Class Description class
CompositeValueMap
Deprecated.UseValueMapUtil.merge(ValueMap...)
instead.class
DeepReadModifiableValueMapDecorator
A value map wrapper which implements deep reading of properties based on the resource tree and also supportsModifiableValueMap
.class
DeepReadValueMapDecorator
A value map wrapper which implements deep reading of properties based on the resource tree.class
ModifiableValueMapDecorator
ModifiableValueMapDecorator
decorates anotherMap
to provide a basic implementation for the additional methods of aModifiableValueMap
.class
ValueMapDecorator
Methods in org.apache.sling.api.wrappers that return ValueMap Modifier and Type Method Description static @NotNull ValueMap
ValueMapUtil. cache(@NotNull ValueMap valueMap)
Decorates the givenValueMap
with a caching layer.static @NotNull ValueMap
ValueMapUtil. merge(@NotNull List<ValueMap> valueMaps)
Merge providedValueMaps
into a single viewValueMap
that aggregates all key-value pairs of the given maps.static @NotNull ValueMap
ValueMapUtil. merge(@NotNull ValueMap... valueMaps)
A convenience method that turns the var-args into aCollection
and delegates toValueMapUtil.merge(List)
.static @NotNull ValueMap
ValueMapUtil. mergeAndCache(@NotNull List<ValueMap> valueMaps)
Convenience method that allows creating a mergedValueMap
where accessed mappings are cached to optimize repeated lookups.Methods in org.apache.sling.api.wrappers with parameters of type ValueMap Modifier and Type Method Description static @NotNull ValueMap
ValueMapUtil. cache(@NotNull ValueMap valueMap)
Decorates the givenValueMap
with a caching layer.static @NotNull ValueMap
ValueMapUtil. merge(@NotNull ValueMap... valueMaps)
A convenience method that turns the var-args into aCollection
and delegates toValueMapUtil.merge(List)
.Method parameters in org.apache.sling.api.wrappers with type arguments of type ValueMap Modifier and Type Method Description static @NotNull ValueMap
ValueMapUtil. merge(@NotNull List<ValueMap> valueMaps)
Merge providedValueMaps
into a single viewValueMap
that aggregates all key-value pairs of the given maps.static @NotNull ValueMap
ValueMapUtil. mergeAndCache(@NotNull List<ValueMap> valueMaps)
Convenience method that allows creating a mergedValueMap
where accessed mappings are cached to optimize repeated lookups.Constructors in org.apache.sling.api.wrappers with parameters of type ValueMap Constructor Description CompositeValueMap(ValueMap properties, ValueMap defaults)
Deprecated.ConstructorCompositeValueMap(ValueMap properties, ValueMap defaults, boolean merge)
Deprecated.ConstructorDeepReadModifiableValueMapDecorator(Resource resource, ValueMap base)
DeepReadValueMapDecorator(Resource resource, ValueMap base)
-
Uses of ValueMap in org.apache.sling.api.wrappers.impl
Classes in org.apache.sling.api.wrappers.impl that implement ValueMap Modifier and Type Class Description class
CachingValueMap
ValueMap decorator that caches key-value pairs that were accessed before.class
MergingValueMap
Merge providedValueMaps
into a single viewValueMap
that aggregates all key-value pairs of the given maps.Constructors in org.apache.sling.api.wrappers.impl with parameters of type ValueMap Constructor Description CachingValueMap(ValueMap delegate)
Constructor parameters in org.apache.sling.api.wrappers.impl with type arguments of type ValueMap Constructor Description MergingValueMap(@NotNull List<ValueMap> valueMaps)
Constructor that allows merging any number ofValueMap
instances into a singleValueMap
view. -
Uses of ValueMap in org.apache.sling.spi.resource.provider
Methods in org.apache.sling.spi.resource.provider that return types with arguments of type ValueMap Modifier and Type Method Description Iterator<ValueMap>
QueryLanguageProvider. queryResources(@NotNull ResolveContext<T> ctx, String query, String language)
Queries the storage using the given query formulated in the given language.
-