|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistableValueMap
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 |
---|
java.util.Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from interface org.apache.sling.api.resource.ValueMap |
---|
EMPTY |
Method Summary | |
---|---|
void |
reset()
Reset the changes. |
void |
save()
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 |
---|
void save() throws PersistenceException
PersistenceException
- If the changes can't be persisted.void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |