Class CAConfigModel
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.core.AbstractServletBean
-
- com.composum.sling.nodes.console.ConsoleServletBean
-
- com.composum.sling.nodes.components.CAConfigModel
-
- All Implemented Interfaces:
com.composum.sling.core.bean.RestrictedBean,com.composum.sling.core.SlingBean
public class CAConfigModel extends ConsoleServletBean
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCAConfigModel.CollectionConfigInfoclassCAConfigModel.PropertyInfoclassCAConfigModel.SingletonConfigInfo
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.sling.caconfig.management.ConfigurationManagerconfigurationManagerprotected org.apache.sling.caconfig.management.multiplexer.ContextPathStrategyMultiplexercontextPathStrategyMultiplexer
-
Constructor Summary
Constructors Constructor Description CAConfigModel()CAConfigModel(com.composum.sling.core.BeanContext context)CAConfigModel(com.composum.sling.core.BeanContext context, org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.apache.sling.caconfig.spi.metadata.ConfigurationMetadata>getAllMetaData()Returns all configuration metadata.List<CAConfigModel.CollectionConfigInfo>getCollectionConfigurations()List<org.apache.sling.caconfig.resource.spi.ContextResource>getContextPaths()List<String>getGlobalConfigPaths()List<CAConfigModel.SingletonConfigInfo>getSingletonConfigurations()CAConfigModel.CollectionConfigInfogetThisCollectionConfiguration()The information about the configuration collection this resource represents.org.apache.sling.caconfig.management.ValueInfo<?>getThisProperty()CAConfigModel.SingletonConfigInfogetThisSingletonConfiguration()The information about the configuration this resource represents.StringgetViewType()voidinitialize(com.composum.sling.core.BeanContext context, org.apache.sling.api.resource.Resource resource)static StringrenderValueAsString(Object value)static StringrenderValueInfoAsString(Object valueInfo)protected static StringtoJson(Object value)-
Methods inherited from class com.composum.sling.core.AbstractSlingBean
executeQuery, findBeans, findNodes, findNodes, findPathList, getContentResource, getDomId, getHasTitle, getId, getInherited, getInherited, getName, getNode, getParent, getParent, getPath, getPermissible, getProperty, getProperty, getQueryManager, getRequest, getResolver, getResource, getResponse, getServiceKey, getSession, getSling, getStringId, getTitle, getType, getUrl, getUsername, isPermissible, isReadAllowed, isWriteAllowed, toString, toString
-
-
-
-
Method Detail
-
initialize
public void initialize(com.composum.sling.core.BeanContext context, org.apache.sling.api.resource.Resource resource)- Specified by:
initializein interfacecom.composum.sling.core.SlingBean- Overrides:
initializein classConsoleServletBean
-
getViewType
public String getViewType()
-
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.
-
getSingletonConfigurations
public List<CAConfigModel.SingletonConfigInfo> getSingletonConfigurations()
-
getCollectionConfigurations
public List<CAConfigModel.CollectionConfigInfo> getCollectionConfigurations()
-
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()
-
-