Package com.composum.sling.nodes.query
Class ConfigItem
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.nodes.console.ConsoleSlingBean
-
- com.composum.sling.nodes.query.ConfigItem
-
- All Implemented Interfaces:
RestrictedBean
,SlingBean
,Comparable<ConfigItem>
public class ConfigItem extends ConsoleSlingBean implements Comparable<ConfigItem>
-
-
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 int
ORDER_DEFAULT
static String
PROP_ORDER
-
Fields inherited from class com.composum.sling.core.AbstractSlingBean
context, queryManager, request, resolver, resource, response, session, sling
-
-
Constructor Summary
Constructors Constructor Description ConfigItem()
ConfigItem(BeanContext context)
ConfigItem(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(@NotNull ConfigItem other)
String
getDescription()
String
getId()
int
getOrder()
String
getTitle()
-
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, getInherited, getInherited, getName, getNode, getParent, getParent, getPath, getPermissible, getProperty, getProperty, getQueryManager, getRequest, getResolver, getResource, getResponse, getServiceKey, getSession, getSling, getStringId, getType, getUrl, getUsername, initialize, isPermissible, isReadAllowed, isWriteAllowed, toString, toString
-
-
-
-
Field Detail
-
PROP_ORDER
public static final String PROP_ORDER
- See Also:
- Constant Field Values
-
ORDER_DEFAULT
public static final int ORDER_DEFAULT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConfigItem
public ConfigItem(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
ConfigItem
public ConfigItem(BeanContext context)
-
ConfigItem
public ConfigItem()
-
-
Method Detail
-
getOrder
public int getOrder()
-
getId
public String getId()
- Overrides:
getId
in classAbstractSlingBean
-
getTitle
public String getTitle()
- Overrides:
getTitle
in classAbstractSlingBean
-
getDescription
public String getDescription()
-
compareTo
public int compareTo(@NotNull @NotNull ConfigItem other)
- Specified by:
compareTo
in interfaceComparable<ConfigItem>
-
-