Class SidebarDialogModel

  • All Implemented Interfaces:
    com.composum.pages.commons.model.Model, com.composum.sling.core.SlingBean

    public class SidebarDialogModel
    extends com.composum.pages.stage.model.edit.FrameModel
    Model for the sidebar AI dialog.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.composum.ai.backend.slingbase.AIConfigurationService aiConfigurationService  
      • Fields inherited from class com.composum.pages.stage.model.edit.FrameModel

        resourceType
      • Fields inherited from class com.composum.pages.commons.model.ModelWrapper

        delegate
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.composum.ai.backend.slingbase.AIConfigurationService getAIConfigurationService()  
      String getComponentPath()  
      Map<String,​String> getContentSelectors()  
      String getHelpUrl()  
      String getPageContentResourcePath()  
      Map<String,​String> getPredefinedPrompts()  
      boolean isEnabled()  
      • Methods inherited from class com.composum.pages.stage.model.edit.FrameModel

        determineDelegateResource, getComponent, getComponentType, getCssBase, getDelegatePath, getDisplayMode, getFrameResource, getLockOwner, getLogoutUrl, getPageManager, getReleaseStatus, getResourceManager, getSiteManager, getTileResourceType, getType, getTypePath, getTypeResource, getUserId, isAssetsSupport, isCheckedOut, isDevelopMode, isDevelopModeAllowed, isEditMode, isHoldsLock, isLockable, isLocked, isTenantSupport, isToggleLockAvailable, isVersionable
      • Methods inherited from class com.composum.pages.commons.model.GenericModel

        createDelegate, initialize, initialize
      • Methods inherited from class com.composum.pages.commons.model.ModelWrapper

        getContainingPage, getContext, getCurrentPage, getDelegate, getDescription, getHashKey, getInherited, getInherited, getInherited, getLanguage, getLanguages, getName, getPath, getPathHint, getProperty, getProperty, getProperty, getResource, getTileTitle, getTitle, getTypeHint, getUrl, getValueMap, setDelegate
      • Methods inherited from interface com.composum.sling.core.SlingBean

        getName, getPath
    • Field Detail

      • aiConfigurationService

        protected transient com.composum.ai.backend.slingbase.AIConfigurationService aiConfigurationService
    • Constructor Detail

      • SidebarDialogModel

        public SidebarDialogModel()
    • Method Detail

      • getPredefinedPrompts

        public Map<String,​String> getPredefinedPrompts()
      • getPageContentResourcePath

        public String getPageContentResourcePath()
      • getComponentPath

        public String getComponentPath()
      • getHelpUrl

        public String getHelpUrl()
      • isEnabled

        public boolean isEnabled()
      • getAIConfigurationService

        protected com.composum.ai.backend.slingbase.AIConfigurationService getAIConfigurationService()