public interface ConfigurationManager
ConfigurationResolver
,
no low-level configuration resources managed by ConfigurationResourceResolver
.Modifier and Type | Method and Description |
---|---|
void |
deleteConfiguration(Resource resource,
java.lang.String configName)
Delete configuration or configuration collection data from repository using the inner-most context path as reference.
|
ConfigurationData |
getConfiguration(Resource resource,
java.lang.String configName)
Get configuration data for the given context resource and configuration name.
|
ConfigurationCollectionData |
getConfigurationCollection(Resource resource,
java.lang.String configName)
Get configuration data collection for the given context resource and configuration name.
|
ConfigurationMetadata |
getConfigurationMetadata(java.lang.String configName)
Get configuration metadata from any configuration metadata provider.
|
java.util.SortedSet<java.lang.String> |
getConfigurationNames()
Get all configuration names.
|
java.lang.String |
getPersistenceResourcePath(java.lang.String configResourcePath)
Deprecated.
Please use
ConfigurationPersistenceStrategyMultiplexer instead. |
ConfigurationData |
newCollectionItem(Resource resource,
java.lang.String configName)
Creates a new empty configuration data item for a configuration data collection for the given configuration name.
|
void |
persistConfiguration(Resource resource,
java.lang.String configName,
ConfigurationPersistData data)
Write configuration data to repository using the inner-most context path as reference.
|
void |
persistConfigurationCollection(Resource resource,
java.lang.String configName,
ConfigurationCollectionPersistData data)
Write configuration data collection using the inner-most context path as reference.
|
ConfigurationData getConfiguration(Resource resource, java.lang.String configName)
resource
- Context resourceconfigName
- Configuration nameConfigurationCollectionData getConfigurationCollection(Resource resource, java.lang.String configName)
resource
- Context resourceconfigName
- Configuration namevoid persistConfiguration(Resource resource, java.lang.String configName, ConfigurationPersistData data)
resource
- Context resourceconfigName
- Configuration namedata
- Configuration data to be stored. All existing properties are erased and replaced with the new ones.void persistConfigurationCollection(Resource resource, java.lang.String configName, ConfigurationCollectionPersistData data)
resource
- Context resourceconfigName
- Configuration namedata
- Configuration collection data to be stored. All existing collection entries on this context path level are erased and replaced with the new ones.ConfigurationData newCollectionItem(Resource resource, java.lang.String configName)
resource
- Context resourceconfigName
- Configuration namevoid deleteConfiguration(Resource resource, java.lang.String configName)
resource
- Context resourceconfigName
- Configuration namejava.util.SortedSet<java.lang.String> getConfigurationNames()
ConfigurationMetadata getConfigurationMetadata(java.lang.String configName)
configName
- Configuration name@Deprecated java.lang.String getPersistenceResourcePath(java.lang.String configResourcePath)
ConfigurationPersistenceStrategyMultiplexer
instead.configResourcePath
- Resource path or config name"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"