Uses of Interface
org.apache.sling.api.resource.ValueMap
Package
Description
API for accessing context-aware configuration.
Management API of the Context-Aware configuration implementation.
-
Uses of ValueMap in org.apache.sling.api.resource
Modifier and TypeInterfaceDescriptioninterface
TheModifiableValueMap
is an extension of theValueMap
which allows to modify and persist properties.interface
Deprecated.Modifier and TypeMethodDescriptionAbstractResource.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()
Modifier and TypeMethodDescriptionQueriableResourceProvider.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
Modifier and TypeClassDescriptionclass
Deprecated.UseValueMapUtil.merge(ValueMap...)
instead.class
A value map wrapper which implements deep reading of properties based on the resource tree and also supportsModifiableValueMap
.class
A value map wrapper which implements deep reading of properties based on the resource tree.class
ModifiableValueMapDecorator
decorates anotherMap
to provide a basic implementation for the additional methods of aModifiableValueMap
.class
Modifier and TypeMethodDescriptionstatic @NotNull ValueMap
Decorates the givenValueMap
with a caching layer.static @NotNull ValueMap
Merge providedValueMaps
into a single viewValueMap
that aggregates all key-value pairs of the given maps.static @NotNull ValueMap
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.Modifier and TypeMethodDescriptionstatic @NotNull ValueMap
Decorates the givenValueMap
with a caching layer.static @NotNull ValueMap
A convenience method that turns the var-args into aCollection
and delegates toValueMapUtil.merge(List)
.Modifier and TypeMethodDescriptionstatic @NotNull ValueMap
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.ModifierConstructorDescriptionCompositeValueMap
(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.caconfig
Modifier and TypeMethodDescription@NotNull ValueMap
ConfigurationBuilder.asValueMap()
Get configuration as singleton resource and return its properties as value map.Modifier and TypeMethodDescription@NotNull Collection<ValueMap>
ConfigurationBuilder.asValueMapCollection()
Get collection of configuration resources with their properties mapped to the given annotation class. -
Uses of ValueMap in org.apache.sling.caconfig.management
Modifier and TypeMethodDescription@NotNull ValueMap
ConfigurationData.getEffectiveValues()
Configuration values stored for the given context path merged with inherited values and default values.@NotNull ValueMap
ConfigurationData.getValues()
Configuration values stored for the given context path. -
Uses of ValueMap in org.apache.sling.caconfig.resource.impl.util
Modifier and TypeMethodDescriptionstatic boolean
PropertyUtil.getBooleanValueAdditionalKeys
(ValueMap valueMap, String key, String[] additionalKeys) Get boolean value from value map with key, or with alternative keys if not set. -
Uses of ValueMap in org.apache.sling.event.impl.support
-
Uses of ValueMap in org.apache.sling.fsprovider.internal.mapper
-
Uses of ValueMap in org.apache.sling.fsprovider.internal.mapper.jcr
-
Uses of ValueMap in org.apache.sling.fsprovider.internal.mapper.valuemap
Modifier and TypeClassDescriptionfinal class
This is copied from org.apache.sling.api.wrappers.ValueMapDectorator to avoid dependency to latest Sling API.Modifier and TypeMethodDescriptionstatic ValueMap
ValueMapUtil.toValueMap
(Map<String, Object> content) Convert map to value map. -
Uses of ValueMap in org.apache.sling.jackrabbit.usermanager.impl.resource
Modifier and TypeClassDescriptionclass
ValueMap implementation for the root property container of Authorizable Resourcesclass
base implementation for ValueMap implementations for Authorizable Resourcesclass
ValueMap implementation for nested properties of Authorizable Resources -
Uses of ValueMap in org.apache.sling.jcr.resource.internal.helper.jcr
Modifier and TypeMethodDescriptionBasicQueryLanguageProvider.queryResources
(@NotNull ResolveContext<org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderState> ctx, String query, String language) -
Uses of ValueMap in org.apache.sling.scripting.jsp.taglib
Modifier and TypeMethodDescriptionGetPropertyTag.getProperties()
Gets the ValueMap from which to retrieve the value.Modifier and TypeMethodDescriptionstatic final <E> E
Gets the value of the specified key from the ValueMap and either coerses the value into the specified type or uses the specified type as a default depending on the parameter passed in.void
GetPropertyTag.setProperties
(ValueMap properties) Sets the ValueMap from which to retrieve the value. -
Uses of ValueMap in org.apache.sling.spi.resource.provider
Modifier and TypeMethodDescriptionQueryLanguageProvider.queryResources
(@NotNull ResolveContext<T> ctx, String query, String language) Queries the storage using the given query formulated in the given language. -
Uses of ValueMap in org.apache.sling.validation
Modifier and TypeMethodDescription@NotNull ValidationResult
ValidationService.validate
(@NotNull ValueMap valueMap, @NotNull ValidationModel model) -
Uses of ValueMap in org.apache.sling.validation.impl.model
-
Uses of ValueMap in org.apache.sling.validation.impl.validators
Modifier and TypeMethodDescriptionRegexValidator.validate
(String data, ValidatorContext context, ValueMap arguments) -
Uses of ValueMap in org.apache.sling.validation.model
-
Uses of ValueMap in org.apache.sling.validation.spi
Modifier and TypeMethodDescription@NotNull ValidationResult
Validator.validate
(T data, @NotNull ValidatorContext context, @NotNull ValueMap arguments) Validates thedata
and/or thevalueMap
according to the internal constraints of this validator.
ModifiableValueMap
instead.