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:
com.composum.sling.core.bean.RestrictedBean,com.composum.sling.core.SlingBean,Comparable<ConfigItem>
public class ConfigItem extends ConsoleSlingBean implements Comparable<ConfigItem>
-
-
Field Summary
Fields Modifier and Type Field Description static intORDER_DEFAULTstatic StringPROP_ORDER
-
Constructor Summary
Constructors Constructor Description ConfigItem()ConfigItem(com.composum.sling.core.BeanContext context)ConfigItem(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 intcompareTo(@NotNull ConfigItem other)StringgetDescription()StringgetId()intgetOrder()StringgetTitle()-
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
-
-
Method Detail
-
getOrder
public int getOrder()
-
getId
public String getId()
- Overrides:
getIdin classcom.composum.sling.core.AbstractSlingBean
-
getTitle
public String getTitle()
- Overrides:
getTitlein classcom.composum.sling.core.AbstractSlingBean
-
getDescription
public String getDescription()
-
compareTo
public int compareTo(@NotNull @NotNull ConfigItem other)- Specified by:
compareToin interfaceComparable<ConfigItem>
-
-