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 the ModifiableValueMap instead.
    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.

    A PersistableValueMap might not support deep reading of values.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      • Fields inherited from interface org.apache.sling.api.resource.ValueMap

        EMPTY
    • 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.
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • Methods inherited from interface org.apache.sling.api.resource.ValueMap

        get, get