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:
RestrictedBean,SlingBean
public class MergedModel extends ConsoleServletBean
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.composum.sling.core.AbstractSlingBean
AbstractSlingBean.NodeClosure
-
-
Field Summary
Fields Modifier and Type Field Description static StringMETADATA_MERGEDstatic StringMETADATA_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(BeanContext context)MergedModel(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 ResourceHandlegetResource()the getter for the resource which defines this bean instance.booleanisMergedResource()static booleanisMergedResource(@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.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
-
-
-
-
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
-
-
Constructor Detail
-
MergedModel
public MergedModel(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
MergedModel
public MergedModel(BeanContext context)
-
MergedModel
public MergedModel()
-
-
Method Detail
-
getResource
@NotNull public @NotNull ResourceHandle getResource()
Description copied from class:AbstractSlingBeanthe getter for the resource which defines this bean instance.- Overrides:
getResourcein classAbstractSlingBean
-
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()
-
-