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 StringTEMPLATE_RESOURCE_TYPEstatic ResourceFilterTEMPLATE_SET_ITEM_FILTERstatic StringTEMPLATE_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 TemplatecreateItem(org.apache.sling.api.resource.Resource resource)protected ResourceFiltergetItemFilter()protected StringgetSetResourceType()-
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:
getSetResourceTypein classConfigSet<Template>
-
getItemFilter
protected ResourceFilter getItemFilter()
- Specified by:
getItemFilterin classConfigSet<Template>
-
createItem
protected Template createItem(org.apache.sling.api.resource.Resource resource)
- Specified by:
createItemin classConfigSet<Template>
-
-