Package com.composum.sling.nodes.query
Class ConfigSet<Item extends ConfigItem>
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.nodes.console.ConsoleSlingBean
-
- com.composum.sling.nodes.query.ConfigSet<Item>
-
- All Implemented Interfaces:
RestrictedBean
,SlingBean
- Direct Known Subclasses:
ExportSet
,TemplateSet
public abstract class ConfigSet<Item extends ConfigItem> extends ConsoleSlingBean
-
-
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
DEFAULT_GROUP
static String
PROP_GROUP
static String
SERVICE_KEY
-
Fields inherited from class com.composum.sling.core.AbstractSlingBean
context, queryManager, request, resolver, resource, response, session, sling
-
-
Constructor Summary
Constructors Constructor Description ConfigSet()
ConfigSet(BeanContext context)
ConfigSet(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Item
createItem(org.apache.sling.api.resource.Resource resource)
protected void
findItems(Map<String,List<Item>> consoles, String query)
Set<Map.Entry<String,List<Item>>>
getGroups()
protected abstract ResourceFilter
getItemFilter()
Map<String,List<Item>>
getItems()
protected abstract String
getSetResourceType()
-
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
-
SERVICE_KEY
public static final String SERVICE_KEY
- See Also:
- Constant Field Values
-
PROP_GROUP
public static final String PROP_GROUP
- See Also:
- Constant Field Values
-
DEFAULT_GROUP
public static final String DEFAULT_GROUP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigSet
public ConfigSet(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
ConfigSet
public ConfigSet(BeanContext context)
-
ConfigSet
public ConfigSet()
-
-
Method Detail
-
getSetResourceType
protected abstract String getSetResourceType()
-
getItemFilter
protected abstract ResourceFilter getItemFilter()
-
createItem
protected abstract Item createItem(org.apache.sling.api.resource.Resource resource)
-
-