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 interfaceModifiableValueMapTheModifiableValueMapis an extension of theValueMapwhich allows to modify and persist properties.interfacePersistableValueMapDeprecated.Use theModifiableValueMapinstead.Fields in org.apache.sling.api.resource declared as ValueMap Modifier and Type Field Description static ValueMapValueMap. EMPTYEmpty immutable value map.Methods in org.apache.sling.api.resource that return ValueMap Modifier and Type Method Description ValueMapAbstractResource. getValueMap()This method callsAdaptable.adaptTo(Class)with theValueMapclass as an argument.@NotNull ValueMapResource. getValueMap()Returns a value map for this resource.static @NotNull ValueMapResourceUtil. getValueMap(Resource res)Returns anValueMapobject for the givenResource.@NotNull ValueMapResourceWrapper. 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 classCompositeValueMapDeprecated.UseValueMapUtil.merge(ValueMap...)instead.classDeepReadModifiableValueMapDecoratorA value map wrapper which implements deep reading of properties based on the resource tree and also supportsModifiableValueMap.classDeepReadValueMapDecoratorA value map wrapper which implements deep reading of properties based on the resource tree.classModifiableValueMapDecoratorModifiableValueMapDecoratordecorates anotherMapto provide a basic implementation for the additional methods of aModifiableValueMap.classValueMapDecoratorMethods in org.apache.sling.api.wrappers that return ValueMap Modifier and Type Method Description static @NotNull ValueMapValueMapUtil. cache(@NotNull ValueMap valueMap)Decorates the givenValueMapwith a caching layer.static @NotNull ValueMapValueMapUtil. merge(@NotNull List<ValueMap> valueMaps)Merge providedValueMapsinto a single viewValueMapthat aggregates all key-value pairs of the given maps.static @NotNull ValueMapValueMapUtil. merge(@NotNull ValueMap... valueMaps)A convenience method that turns the var-args into aCollectionand delegates toValueMapUtil.merge(List).static @NotNull ValueMapValueMapUtil. mergeAndCache(@NotNull List<ValueMap> valueMaps)Convenience method that allows creating a mergedValueMapwhere 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 ValueMapValueMapUtil. cache(@NotNull ValueMap valueMap)Decorates the givenValueMapwith a caching layer.static @NotNull ValueMapValueMapUtil. merge(@NotNull ValueMap... valueMaps)A convenience method that turns the var-args into aCollectionand 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 ValueMapValueMapUtil. merge(@NotNull List<ValueMap> valueMaps)Merge providedValueMapsinto a single viewValueMapthat aggregates all key-value pairs of the given maps.static @NotNull ValueMapValueMapUtil. mergeAndCache(@NotNull List<ValueMap> valueMaps)Convenience method that allows creating a mergedValueMapwhere 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 classCachingValueMapValueMap decorator that caches key-value pairs that were accessed before.classMergingValueMapMerge providedValueMapsinto a single viewValueMapthat 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 ofValueMapinstances into a singleValueMapview. -
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.
-