Package io.wcm.wcm.parsys.componentinfo
Interface ParsysConfigManager
-
@ProviderType public interface ParsysConfigManager
Collects all paragraph system configurations from different sources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.lang.Iterable<ParsysConfig>
getParsysConfigs(@NotNull java.lang.String pageComponentPath, @NotNull java.lang.String relativePath, @NotNull org.apache.sling.api.resource.ResourceResolver resolver)
Get all paragraph system configurations for a certain path inside a page with the given template/page component.@NotNull java.lang.Iterable<ParsysConfig>
getParsysConfigs(@NotNull java.lang.String pageComponentPath, @NotNull org.apache.sling.api.resource.ResourceResolver resolver)
Get all paragraph system configurations for the given template/page component.
-
-
-
Method Detail
-
getParsysConfigs
@NotNull @NotNull java.lang.Iterable<ParsysConfig> getParsysConfigs(@NotNull @NotNull java.lang.String pageComponentPath, @NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resolver)
Get all paragraph system configurations for the given template/page component.- Parameters:
pageComponentPath
- Page component resource typeresolver
- Resource resolver- Returns:
- All configurations defined in any source
-
getParsysConfigs
@NotNull @NotNull java.lang.Iterable<ParsysConfig> getParsysConfigs(@NotNull @NotNull java.lang.String pageComponentPath, @NotNull @NotNull java.lang.String relativePath, @NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resolver)
Get all paragraph system configurations for a certain path inside a page with the given template/page component.- Parameters:
pageComponentPath
- Page component resource typerelativePath
- Relative path inside the page (starting with jcr:content, but without leading slash).resolver
- Resource resolver- Returns:
- All configurations defined in any source
-
-