Interface ConfigurationPersistenceStrategyMultiplexer
-
- All Superinterfaces:
ConfigurationPersistenceStrategy2
@ProviderType public interface ConfigurationPersistenceStrategyMultiplexer extends ConfigurationPersistenceStrategy2
Detects allConfigurationPersistenceStrategy2
implementations in the container and consolidates their result based on service ranking.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.util.Collection<java.lang.String>
getAllCollectionItemConfigNames(@NotNull java.lang.String configName)
Get all configuration names from all configuration persistence strategies.@NotNull java.util.Collection<java.lang.String>
getAllCollectionParentConfigNames(@NotNull java.lang.String configName)
Get all configuration names from all configuration persistence strategies.@NotNull java.util.Collection<java.lang.String>
getAllConfigNames(@NotNull java.lang.String configName)
Get all configuration names from all configuration persistence strategies.-
Methods inherited from interface org.apache.sling.caconfig.spi.ConfigurationPersistenceStrategy2
deleteConfiguration, getCollectionItemConfigName, getCollectionItemResource, getCollectionItemResourcePath, getCollectionParentConfigName, getCollectionParentResource, getCollectionParentResourcePath, getConfigName, getResource, getResourcePath, persistConfiguration, persistConfigurationCollection
-
-
-
-
Method Detail
-
getAllConfigNames
@NotNull @NotNull java.util.Collection<java.lang.String> getAllConfigNames(@NotNull @NotNull java.lang.String configName)
Get all configuration names from all configuration persistence strategies. This can be used when no nested parent resources is known.- Parameters:
configName
- Configuration name- Returns:
- Possible configuration names in order of persistence strategy service ranking.
-
getAllCollectionParentConfigNames
@NotNull @NotNull java.util.Collection<java.lang.String> getAllCollectionParentConfigNames(@NotNull @NotNull java.lang.String configName)
Get all configuration names from all configuration persistence strategies. This can be used when no nested parent resources is known.- Parameters:
configName
- Configuration name- Returns:
- Possible configuration names in order of persistence strategy service ranking.
-
getAllCollectionItemConfigNames
@NotNull @NotNull java.util.Collection<java.lang.String> getAllCollectionItemConfigNames(@NotNull @NotNull java.lang.String configName)
Get all configuration names from all configuration persistence strategies. This can be used when no nested parent resources is known.- Parameters:
configName
- Configuration name- Returns:
- Possible configuration names in order of persistence strategy service ranking.
-
-