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 String
message
protected String
queryString
-
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()
String
getMessage()
PathReferencesService.Options
getOptions()
String
getOptionsJson()
String
getQueryString()
@NotNull Map<String,PathReferencesService.Hit>
getReferences()
@NotNull ResourceHandle
getResource()
the getter for the resource which defines this bean instance.boolean
isHasHits()
-
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:AbstractSlingBean
the getter for the resource which defines this bean instance.- Overrides:
getResource
in 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()
-
-