org.apache.sling.api.resource
Interface PersistableValueMap

All Superinterfaces:
Map<String,Object>, ValueMap
All Known Subinterfaces:
Profile
All Known Implementing Classes:
JcrModifiablePropertyMap

Deprecated. Use the ModifiableValueMap instead.

@Deprecated
public interface PersistableValueMap
extends ValueMap

The PersistableValueMap is an extension of the ValueMap which allows to modify and persist the properties. Note, that each time you call Adaptable.adaptTo(Class) you get a new map instance which does not share modified properties with other representations.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface org.apache.sling.api.resource.ValueMap
EMPTY
 
Method Summary
 void reset()
          Deprecated. Reset the changes.
 void save()
          Deprecated. Persists the changes.
 
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
 

Method Detail

save

void save()
          throws PersistenceException
Deprecated. 
Persists the changes.

Throws:
PersistenceException - If the changes can't be persisted.

reset

void reset()
Deprecated. 
Reset the changes.



Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.