Package | Description |
---|---|
org.apache.sling.api.resource | |
org.apache.sling.api.wrappers | |
org.apache.sling.jcr.resource |
Modifier and Type | Interface and Description |
---|---|
interface |
ModifiableValueMap
The
ModifiableValueMap is an extension
of the ValueMap which allows to modify and
persist properties. |
interface |
PersistableValueMap
Deprecated.
Use the
ModifiableValueMap instead. |
Modifier and Type | Field and Description |
---|---|
static ValueMap |
ValueMap.EMPTY
Empty immutable value map.
|
Modifier and Type | Method and Description |
---|---|
ValueMap |
ResourceWrapper.getValueMap() |
ValueMap |
Resource.getValueMap()
Returns a value map for this resource.
|
ValueMap |
AbstractResource.getValueMap()
This method calls
Adaptable.adaptTo(Class)
with the ValueMap class as an argument. |
static ValueMap |
ResourceUtil.getValueMap(Resource res)
Returns an
ValueMap object for the given
Resource . |
Modifier and Type | Method and Description |
---|---|
Iterator<ValueMap> |
QueriableResourceProvider.queryResources(ResourceResolver resolver,
String query,
String language)
Queries the storage using the given query formulated in the given
language.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeValueMap
|
class |
DeepReadModifiableValueMapDecorator
A value map wrapper which implements deep reading of properties
based on the resource tree and also supports
ModifiableValueMap . |
class |
DeepReadValueMapDecorator
A value map wrapper which implements deep reading of properties
based on the resource tree.
|
class |
ModifiableValueMapDecorator
ModifiableValueMapDecorator decorates another Map
to provide a basic implementation for the additional methods
of a ModifiableValueMap . |
class |
ValueMapDecorator
|
Constructor and Description |
---|
CompositeValueMap(ValueMap properties,
ValueMap defaults)
Constructor
|
CompositeValueMap(ValueMap properties,
ValueMap defaults,
boolean merge)
Constructor
|
DeepReadModifiableValueMapDecorator(Resource resource,
ValueMap base) |
DeepReadValueMapDecorator(Resource resource,
ValueMap base) |
Modifier and Type | Class and Description |
---|---|
class |
JcrModifiablePropertyMap
Deprecated.
Resources should be adapted to a modifiable value map instead
|
class |
JcrPropertyMap
Deprecated.
A (JCR) resource should be adapted to a
ValueMap . |
Copyright © 2015 The Apache Software Foundation. All rights reserved.