Package org.apache.sling.api.resource
Interface PersistableValueMap
-
- All Superinterfaces:
java.util.Map<java.lang.String,java.lang.Object>
,ValueMap
- All Known Subinterfaces:
Profile
@Deprecated public interface PersistableValueMap extends ValueMap
Deprecated.Use theModifiableValueMap
instead.ThePersistableValueMap
is an extension of theValueMap
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.A
PersistableValueMap
might not support deep reading of values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
reset()
Deprecated.Reset the changes.void
save()
Deprecated.Persists the changes.
-
-
-
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.
-
-