Class ReferencesModel

  • All Implemented Interfaces:
    com.composum.sling.core.bean.RestrictedBean, com.composum.sling.core.SlingBean

    public class ReferencesModel
    extends ConsoleServletBean
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.composum.sling.core.AbstractSlingBean

        com.composum.sling.core.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​(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.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
    • Field Detail

      • queryString

        protected String queryString
      • message

        protected String message
    • Constructor Detail

      • ReferencesModel

        public ReferencesModel​(com.composum.sling.core.BeanContext context,
                               org.apache.sling.api.resource.Resource resource)
      • ReferencesModel

        public ReferencesModel​(com.composum.sling.core.BeanContext context)
      • ReferencesModel

        public ReferencesModel()
    • Method Detail

      • getResource

        @NotNull
        public @NotNull com.composum.sling.core.ResourceHandle getResource()
        Overrides:
        getResource in class com.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()