Package com.composum.sling.nodes.query
Class TemplateSet
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.nodes.console.ConsoleSlingBean
-
- com.composum.sling.nodes.query.ConfigSet<Template>
-
- com.composum.sling.nodes.query.TemplateSet
-
- All Implemented Interfaces:
RestrictedBean
,SlingBean
public class TemplateSet extends ConfigSet<Template>
-
-
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 String
TEMPLATE_RESOURCE_TYPE
static ResourceFilter
TEMPLATE_SET_ITEM_FILTER
static String
TEMPLATE_SET_RESOURCE_TYPE
-
Fields inherited from class com.composum.sling.nodes.query.ConfigSet
DEFAULT_GROUP, PROP_GROUP, SERVICE_KEY
-
Fields inherited from class com.composum.sling.core.AbstractSlingBean
context, queryManager, request, resolver, resource, response, session, sling
-
-
Constructor Summary
Constructors Constructor Description TemplateSet()
TemplateSet(BeanContext context)
TemplateSet(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Template
createItem(org.apache.sling.api.resource.Resource resource)
protected ResourceFilter
getItemFilter()
protected String
getSetResourceType()
-
Methods inherited from class com.composum.sling.nodes.query.ConfigSet
findItems, getGroups, getItems
-
Methods inherited from class com.composum.sling.nodes.console.ConsoleSlingBean
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, getResource, getResponse, getServiceKey, getSession, getSling, getStringId, getTitle, getType, getUrl, getUsername, initialize, isPermissible, isReadAllowed, isWriteAllowed, toString, toString
-
-
-
-
Field Detail
-
TEMPLATE_RESOURCE_TYPE
public static final String TEMPLATE_RESOURCE_TYPE
- See Also:
- Constant Field Values
-
TEMPLATE_SET_RESOURCE_TYPE
public static final String TEMPLATE_SET_RESOURCE_TYPE
- See Also:
- Constant Field Values
-
TEMPLATE_SET_ITEM_FILTER
public static final ResourceFilter TEMPLATE_SET_ITEM_FILTER
-
-
Constructor Detail
-
TemplateSet
public TemplateSet(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
TemplateSet
public TemplateSet(BeanContext context)
-
TemplateSet
public TemplateSet()
-
-
Method Detail
-
getSetResourceType
protected String getSetResourceType()
- Specified by:
getSetResourceType
in classConfigSet<Template>
-
getItemFilter
protected ResourceFilter getItemFilter()
- Specified by:
getItemFilter
in classConfigSet<Template>
-
createItem
protected Template createItem(org.apache.sling.api.resource.Resource resource)
- Specified by:
createItem
in classConfigSet<Template>
-
-