org.apache.sling.api.resource
Interface ModifiableValueMap

All Superinterfaces:
java.util.Map<java.lang.String,java.lang.Object>, ValueMap
All Known Implementing Classes:
ModifiableValueMapDecorator

public interface ModifiableValueMap
extends ValueMap

The ModifiableValueMap is an extension of the ValueMap which 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.

Once 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

And it can't be modified by these methods:

Since:
2.2

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface org.apache.sling.api.resource.ValueMap
EMPTY
 
Method Summary
 
Methods inherited from interface org.apache.sling.api.resource.ValueMap
get, get
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 



Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.