Class MergedModel
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.core.AbstractServletBean
-
- com.composum.sling.nodes.console.ConsoleServletBean
-
- com.composum.sling.nodes.components.MergedModel
-
- All Implemented Interfaces:
com.composum.sling.core.bean.RestrictedBean
,com.composum.sling.core.SlingBean
public class MergedModel extends ConsoleServletBean
-
-
Field Summary
Fields Modifier and Type Field Description static String
METADATA_MERGED
static String
METADATA_RESOURCES
-
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.nodes.console.ConsoleServletBean
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
-
-
-
-
Field Detail
-
METADATA_MERGED
public static final String METADATA_MERGED
- See Also:
- Constant Field Values
-
METADATA_RESOURCES
public static final String METADATA_RESOURCES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResource
@NotNull public @NotNull com.composum.sling.core.ResourceHandle getResource()
- Overrides:
getResource
in classcom.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()
-
-