Uses of Interface
org.apache.sling.api.resource.ValueMap
Packages that use 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
Subinterfaces of ValueMap in org.apache.sling.api.resourceModifier and TypeInterfaceDescriptioninterface
TheModifiableValueMap
is an extension of theValueMap
which allows to modify and persist properties.interface
Deprecated.Fields in org.apache.sling.api.resource declared as ValueMapMethods in org.apache.sling.api.resource that return ValueMapModifier 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()
Methods in org.apache.sling.api.resource that return types with arguments of type ValueMapModifier 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
Classes in org.apache.sling.api.wrappers that implement ValueMapModifier 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
Methods in org.apache.sling.api.wrappers that return ValueMapModifier 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.Methods in org.apache.sling.api.wrappers with parameters of type ValueMapModifier 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)
.Method parameters in org.apache.sling.api.wrappers with type arguments of type ValueMapModifier 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.Constructors in org.apache.sling.api.wrappers with parameters of type ValueMapModifierConstructorDescriptionCompositeValueMap
(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
Methods in org.apache.sling.caconfig that return ValueMapModifier and TypeMethodDescription@NotNull ValueMap
ConfigurationBuilder.asValueMap()
Get configuration as singleton resource and return its properties as value map.Methods in org.apache.sling.caconfig that return types with arguments of type ValueMapModifier 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
Methods in org.apache.sling.caconfig.management that return ValueMapModifier 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
Methods in org.apache.sling.caconfig.resource.impl.util with parameters of type ValueMapModifier 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
Methods in org.apache.sling.event.impl.support that return ValueMapMethods in org.apache.sling.event.impl.support with parameters of type ValueMap -
Uses of ValueMap in org.apache.sling.fsprovider.internal.mapper
Methods in org.apache.sling.fsprovider.internal.mapper that return ValueMap -
Uses of ValueMap in org.apache.sling.fsprovider.internal.mapper.jcr
Fields in org.apache.sling.fsprovider.internal.mapper.jcr declared as ValueMap -
Uses of ValueMap in org.apache.sling.fsprovider.internal.mapper.valuemap
Classes in org.apache.sling.fsprovider.internal.mapper.valuemap that implement ValueMapModifier and TypeClassDescriptionfinal class
This is copied from org.apache.sling.api.wrappers.ValueMapDectorator to avoid dependency to latest Sling API.Methods in org.apache.sling.fsprovider.internal.mapper.valuemap that return ValueMapModifier 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
Classes in org.apache.sling.jackrabbit.usermanager.impl.resource that implement ValueMapModifier 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
Methods in org.apache.sling.jcr.resource.internal.helper.jcr that return types with arguments of type ValueMapModifier 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
Methods in org.apache.sling.scripting.jsp.taglib that return ValueMapModifier and TypeMethodDescriptionGetPropertyTag.getProperties()
Gets the ValueMap from which to retrieve the value.Methods in org.apache.sling.scripting.jsp.taglib with parameters of type ValueMapModifier 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
Methods in org.apache.sling.spi.resource.provider that return types with arguments of type ValueMapModifier 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
Methods in org.apache.sling.validation with parameters of type ValueMapModifier and TypeMethodDescription@NotNull ValidationResult
ValidationService.validate
(@NotNull ValueMap valueMap, @NotNull ValidationModel model) -
Uses of ValueMap in org.apache.sling.validation.impl.model
Methods in org.apache.sling.validation.impl.model that return ValueMap -
Uses of ValueMap in org.apache.sling.validation.impl.validators
Methods in org.apache.sling.validation.impl.validators with parameters of type ValueMapModifier and TypeMethodDescriptionRegexValidator.validate
(String data, ValidatorContext context, ValueMap arguments) -
Uses of ValueMap in org.apache.sling.validation.model
Methods in org.apache.sling.validation.model that return ValueMap -
Uses of ValueMap in org.apache.sling.validation.spi
Methods in org.apache.sling.validation.spi that return ValueMapMethods in org.apache.sling.validation.spi with parameters of type ValueMapModifier 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.