@Deprecated public final class JcrModifiablePropertyMap extends JcrPropertyMap implements PersistableValueMap
Constructor and Description |
---|
JcrModifiablePropertyMap(javax.jcr.Node node)
Deprecated.
Constructor
|
JcrModifiablePropertyMap(javax.jcr.Node node,
ClassLoader dynamicCL)
Deprecated.
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
Object |
put(String aKey,
Object value)
Deprecated.
|
void |
putAll(Map<? extends String,? extends Object> t)
Deprecated.
|
Object |
remove(Object aKey)
Deprecated.
|
void |
reset()
Deprecated.
Reset the changes.
|
void |
save()
Deprecated.
Persists the changes.
|
containsKey, containsValue, entrySet, escapeKeyName, get, get, get, getNamespacePrefixes, getNode, getPath, isEmpty, keySet, size, toString, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
public JcrModifiablePropertyMap(javax.jcr.Node node)
node
- The underlying node.public JcrModifiablePropertyMap(javax.jcr.Node node, ClassLoader dynamicCL)
node
- The underlying node.dynamicCL
- Dynamic class loader for loading serialized objects.public void clear()
clear
in interface Map<String,Object>
clear
in class JcrPropertyMap
Map.clear()
public Object put(String aKey, Object value)
put
in interface Map<String,Object>
put
in class JcrPropertyMap
Map.put(java.lang.Object, java.lang.Object)
public void putAll(Map<? extends String,? extends Object> t)
putAll
in interface Map<String,Object>
putAll
in class JcrPropertyMap
Map.putAll(java.util.Map)
public Object remove(Object aKey)
remove
in interface Map<String,Object>
remove
in class JcrPropertyMap
Map.remove(java.lang.Object)
public void reset()
PersistableValueMap
reset
in interface PersistableValueMap
PersistableValueMap.reset()
public void save() throws PersistenceException
PersistableValueMap
save
in interface PersistableValueMap
PersistenceException
- If the changes can't be persisted.PersistableValueMap.save()
Copyright © 2015 The Apache Software Foundation. All rights reserved.