Package | Description |
---|---|
org.apache.sling.api.resource | |
org.apache.sling.api.wrappers | |
org.apache.sling.caconfig |
API for accessing context-aware configuration.
|
org.apache.sling.caconfig.management |
Management API of the Context-Aware configuration implementation.
|
org.apache.sling.sample.slingshot.model | |
org.apache.sling.spi.resource.provider | |
org.apache.sling.validation | |
org.apache.sling.validation.model | |
org.apache.sling.validation.spi |
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)
Deprecated.
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 | Method and Description |
---|---|
ValueMap |
ConfigurationBuilder.asValueMap()
Get configuration as singleton resource and return its properties as value map.
|
Modifier and Type | Method and Description |
---|---|
Collection<ValueMap> |
ConfigurationBuilder.asValueMapCollection()
Get collection of configuration resources with their properties mapped to the given annotation class.
|
Modifier and Type | Method and Description |
---|---|
ValueMap |
ConfigurationData.getEffectiveValues()
Configuration values stored for the given context path merged with inherited values and default values.
|
ValueMap |
ConfigurationData.getValues()
Configuration values stored for the given context path.
|
Modifier and Type | Method and Description |
---|---|
protected ValueMap |
PropertiesSupport.getProperties() |
Modifier and Type | Method and Description |
---|---|
Iterator<ValueMap> |
QueryLanguageProvider.queryResources(ResolveContext<T> ctx,
String query,
String language)
Queries the storage using the given query formulated in the given
language.
|
Modifier and Type | Method and Description |
---|---|
ValidationResult |
ValidationService.validate(ValueMap valueMap,
ValidationModel model)
|
Modifier and Type | Method and Description |
---|---|
ValueMap |
ValidatorInvocation.getParameters() |
Modifier and Type | Method and Description |
---|---|
ValueMap |
ValidatorContext.getValueMap() |
Modifier and Type | Method and Description |
---|---|
ValidationResult |
Validator.validate(T data,
ValidatorContext context,
ValueMap arguments)
Validates the
data and/or the valueMap according to the internal constraints of this validator. |
Copyright © 2017 The Apache Software Foundation. All rights reserved.