Class CAConfigModel

  • All Implemented Interfaces:
    com.composum.sling.core.bean.RestrictedBean, com.composum.sling.core.SlingBean

    public class CAConfigModel
    extends ConsoleServletBean
    • Field Detail

      • configurationManager

        @Inject
        protected org.apache.sling.caconfig.management.ConfigurationManager configurationManager
      • contextPathStrategyMultiplexer

        @Inject
        protected org.apache.sling.caconfig.management.multiplexer.ContextPathStrategyMultiplexer contextPathStrategyMultiplexer
    • Constructor Detail

      • CAConfigModel

        public CAConfigModel​(com.composum.sling.core.BeanContext context,
                             org.apache.sling.api.resource.Resource resource)
      • CAConfigModel

        public CAConfigModel​(com.composum.sling.core.BeanContext context)
      • CAConfigModel

        public CAConfigModel()
    • Method Detail

      • initialize

        public void initialize​(com.composum.sling.core.BeanContext context,
                               org.apache.sling.api.resource.Resource resource)
        Specified by:
        initialize in interface com.composum.sling.core.SlingBean
        Overrides:
        initialize in class ConsoleServletBean
      • getViewType

        public String getViewType()
      • getGlobalConfigPaths

        public List<String> getGlobalConfigPaths()
      • getContextPaths

        public List<org.apache.sling.caconfig.resource.spi.ContextResource> getContextPaths()
      • getAllMetaData

        public List<org.apache.sling.caconfig.spi.metadata.ConfigurationMetadata> getAllMetaData()
        Returns all configuration metadata.
      • getThisCollectionConfiguration

        public CAConfigModel.CollectionConfigInfo getThisCollectionConfiguration()
        The information about the configuration collection this resource represents.
      • getThisSingletonConfiguration

        public CAConfigModel.SingletonConfigInfo getThisSingletonConfiguration()
        The information about the configuration this resource represents. It can either be a singleton configuration or an item in a collection.
      • getThisProperty

        public org.apache.sling.caconfig.management.ValueInfo<?> getThisProperty()
      • renderValueInfoAsString

        public static String renderValueInfoAsString​(Object valueInfo)
      • renderValueAsString

        public static String renderValueAsString​(Object value)