- All Known Implementing Classes:
@ConsumerType public interface ModifiableValueMap extends ValueMapThe
ModifiableValueMapis an extension of the
ValueMapwhich allows to modify and persist properties. All changes to this map are stored in the transient layer of the resource resolver or more precisely in the transient layer of the resource provider managing this resource.
ResourceResolver.commit()is called, the changes are finally persisted.
The modifiable value map is only changeable through one of these methods
The map is not modifiable through the collections provided by
A modifiable value map should value
ResourceResolver.PROPERTY_RESOURCE_TYPEto set the resource type of a resource.
A modifiable value map must not support deep writes. A call of a modification method with a path should result in an IllegalArgumentException.
- 2.2 (Sling API Bundle 2.2.0)
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values