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
-
-
Field Summary
Fields Modifier and Type Field Description static String
TEMPLATE_RESOURCE_TYPE
static com.composum.sling.core.filter.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
-
-
Constructor Summary
Constructors Constructor Description TemplateSet()
TemplateSet(com.composum.sling.core.BeanContext context)
TemplateSet(com.composum.sling.core.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 com.composum.sling.core.filter.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 com.composum.sling.core.filter.ResourceFilter TEMPLATE_SET_ITEM_FILTER
-
-
Method Detail
-
getSetResourceType
protected String getSetResourceType()
- Specified by:
getSetResourceType
in classConfigSet<Template>
-
getItemFilter
protected com.composum.sling.core.filter.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>
-
-