Class ReferencesModel
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.core.AbstractServletBean
-
- com.composum.sling.nodes.console.ConsoleServletBean
-
- com.composum.sling.nodes.components.ReferencesModel
-
- All Implemented Interfaces:
RestrictedBean,SlingBean
public class ReferencesModel extends ConsoleServletBean
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.composum.sling.core.AbstractSlingBean
AbstractSlingBean.NodeClosure
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringmessageprotected StringqueryString-
Fields inherited from class com.composum.sling.core.AbstractSlingBean
context, queryManager, request, resolver, resource, response, session, sling
-
-
Constructor Summary
Constructors Constructor Description ReferencesModel()ReferencesModel(BeanContext context)ReferencesModel(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Iterable<PathReferencesService.Hit>getHits()StringgetMessage()PathReferencesService.OptionsgetOptions()StringgetOptionsJson()StringgetQueryString()@NotNull Map<String,PathReferencesService.Hit>getReferences()@NotNull ResourceHandlegetResource()the getter for the resource which defines this bean instance.booleanisHasHits()-
Methods inherited from class com.composum.sling.nodes.console.ConsoleServletBean
initialize
-
Methods inherited from class com.composum.sling.core.AbstractServletBean
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, getResponse, getServiceKey, getSession, getSling, getStringId, getTitle, getType, getUrl, getUsername, isPermissible, isReadAllowed, isWriteAllowed, toString, toString
-
-
-
-
Constructor Detail
-
ReferencesModel
public ReferencesModel(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
ReferencesModel
public ReferencesModel(BeanContext context)
-
ReferencesModel
public ReferencesModel()
-
-
Method Detail
-
getResource
@NotNull public @NotNull ResourceHandle getResource()
Description copied from class:AbstractSlingBeanthe getter for the resource which defines this bean instance.- Overrides:
getResourcein classAbstractSlingBean
-
isHasHits
public boolean isHasHits()
-
getHits
@NotNull public @NotNull Iterable<PathReferencesService.Hit> getHits()
-
getReferences
@NotNull public @NotNull Map<String,PathReferencesService.Hit> getReferences()
-
getOptions
public PathReferencesService.Options getOptions()
-
getOptionsJson
public String getOptionsJson()
-
getQueryString
public String getQueryString()
-
getMessage
public String getMessage()
-
-