Class MergedModel

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

    public class MergedModel
    extends ConsoleServletBean
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.composum.sling.core.AbstractSlingBean

        com.composum.sling.core.AbstractSlingBean.NodeClosure
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String METADATA_MERGED  
      static String METADATA_RESOURCES  
      • Fields inherited from class com.composum.sling.core.AbstractSlingBean

        context, queryManager, request, resolver, resource, response, session, sling
    • Constructor Summary

      Constructors 
      Constructor Description
      MergedModel()  
      MergedModel​(com.composum.sling.core.BeanContext context)  
      MergedModel​(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
      @NotNull List<String> getMergedPaths()  
      @NotNull List<org.apache.sling.api.resource.Resource> getMergedResources()  
      @NotNull com.composum.sling.core.ResourceHandle getResource()  
      boolean isMergedResource()  
      static boolean isMergedResource​(@NotNull org.apache.sling.api.resource.Resource resource)  
      • Methods inherited from class com.composum.sling.core.AbstractServletBean

        initialize
      • 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, getResponse, getServiceKey, getSession, getSling, getStringId, getTitle, getType, getUrl, getUsername, isPermissible, isReadAllowed, isWriteAllowed, toString, toString
    • Constructor Detail

      • MergedModel

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

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

        public MergedModel()
    • Method Detail

      • getResource

        @NotNull
        public @NotNull com.composum.sling.core.ResourceHandle getResource()
        Overrides:
        getResource in class com.composum.sling.core.AbstractSlingBean
      • isMergedResource

        public static boolean isMergedResource​(@NotNull
                                               @NotNull org.apache.sling.api.resource.Resource resource)
      • isMergedResource

        public boolean isMergedResource()
      • getMergedResources

        @NotNull
        public @NotNull List<org.apache.sling.api.resource.Resource> getMergedResources()
      • getMergedPaths

        @NotNull
        public @NotNull List<String> getMergedPaths()