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:
com.composum.sling.core.bean.RestrictedBean
,com.composum.sling.core.SlingBean
public class ReferencesModel extends ConsoleServletBean
-
-
Field Summary
Fields Modifier and Type Field Description protected String
message
protected String
queryString
-
Constructor Summary
Constructors Constructor Description ReferencesModel()
ReferencesModel(com.composum.sling.core.BeanContext context)
ReferencesModel(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 @NotNull Iterable<com.composum.sling.core.service.PathReferencesService.Hit>
getHits()
String
getMessage()
com.composum.sling.core.service.PathReferencesService.Options
getOptions()
String
getOptionsJson()
String
getQueryString()
@NotNull Map<String,com.composum.sling.core.service.PathReferencesService.Hit>
getReferences()
@NotNull com.composum.sling.core.ResourceHandle
getResource()
boolean
isHasHits()
-
Methods inherited from class com.composum.sling.nodes.console.ConsoleServletBean
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
-
-
-
-
Method Detail
-
getResource
@NotNull public @NotNull com.composum.sling.core.ResourceHandle getResource()
- Overrides:
getResource
in classcom.composum.sling.core.AbstractSlingBean
-
isHasHits
public boolean isHasHits()
-
getHits
@NotNull public @NotNull Iterable<com.composum.sling.core.service.PathReferencesService.Hit> getHits()
-
getReferences
@NotNull public @NotNull Map<String,com.composum.sling.core.service.PathReferencesService.Hit> getReferences()
-
getOptions
public com.composum.sling.core.service.PathReferencesService.Options getOptions()
-
getOptionsJson
public String getOptionsJson()
-
getQueryString
public String getQueryString()
-
getMessage
public String getMessage()
-
-