Uses of Interface
com.composum.sling.core.BeanContext
-
-
Uses of BeanContext in com.composum.sling.clientlibs.processor
Methods in com.composum.sling.clientlibs.processor with parameters of type BeanContext Modifier and Type Method Description static RendererContextRendererContext. instance(BeanContext context, org.apache.sling.api.SlingHttpServletRequest request)Constructors in com.composum.sling.clientlibs.processor with parameters of type BeanContext Constructor Description RendererContext(BeanContext context, org.apache.sling.api.SlingHttpServletRequest request) -
Uses of BeanContext in com.composum.sling.core
Classes in com.composum.sling.core that implement BeanContext Modifier and Type Class Description static classBeanContext.AbstractContextthe base class of the context interface with general methodsstatic classBeanContext.AbstractScriptContextthe enhancement of the base for scripting contextsstatic classBeanContext.Mapa Map based implementation of the context interface (e.g.static classBeanContext.Pagea JSP PageContext based implementation of the context interfacestatic classBeanContext.Servicea Service based implementation for a background service or a job executionstatic classBeanContext.Servleta servlet API based implementation of the context interface for Beans in a Servlet contextstatic classBeanContext.Wrappera wrapper implementation baseFields in com.composum.sling.core declared as BeanContext Modifier and Type Field Description protected BeanContextBeanContext.Wrapper. beanContextprotected BeanContextAbstractSlingBean. contextthe instance of the scripting context for the bean (initialized)Methods in com.composum.sling.core that return BeanContext Modifier and Type Method Description BeanContextBeanContext.AbstractContext. withLocale(Locale locale)BeanContextBeanContext. withLocale(Locale locale)Returns a clone of this context with the locale overridden, orthisif it already had this locale.BeanContextBeanContext.Wrapper. withLocale(Locale locale)BeanContextBeanContext.Page. withResource(org.apache.sling.api.resource.Resource resource)BeanContextBeanContext. withResource(org.apache.sling.api.resource.Resource resource)Returns a clone of this context with the resource overridden, orthisif it already had this resource.BeanContextBeanContext.Wrapper. withResource(org.apache.sling.api.resource.Resource resource)Methods in com.composum.sling.core with parameters of type BeanContext Modifier and Type Method Description voidAbstractServletBean. initialize(BeanContext context)extract the resource referenced to display in the browsers view as the components resourcevoidAbstractSlingBean. initialize(BeanContext context)Uses the contexts 'resource' attribute for initialization (content.getResource()).voidAbstractSlingBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)This basic initialization sets up the context and resource attributes only, all the other attributes are set 'lazy' during their getter calls.voidSlingBean. initialize(BeanContext context)Deprecated.please useadaptTo(Class)with the needed SlingBean class to instantiate the object, sinceSlingBean.initialize(BeanContext)doesn't initialize fields injected by Sling-Models.voidSlingBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)Deprecated.please usewithResource(Resource).adaptTo(Class)with the needed SlingBean class to instantiate the object, sinceSlingBean.initialize(BeanContext, Resource)doesn't initialize fields injected by Sling-Models.Constructors in com.composum.sling.core with parameters of type BeanContext Constructor Description AbstractServletBean(BeanContext context)AbstractServletBean(BeanContext context, org.apache.sling.api.resource.Resource resource)AbstractSlingBean(BeanContext context)initialize bean using the context with the 'resource' attribute withinAbstractSlingBean(BeanContext context, org.apache.sling.api.resource.Resource resource)initialize bean using the context an the resource given explicitlyResourceModel(BeanContext context)initialize bean using the context with the 'resource' attribute withinResourceModel(BeanContext context, org.apache.sling.api.resource.Resource resource)initialize bean using the context an the resource given explicitlyWrapper(BeanContext beanContext)Wrapper(BeanContext beanContext, org.apache.sling.api.resource.Resource resourceToUse)Wrapper(BeanContext beanContext, org.apache.sling.api.resource.ResourceResolver resolverToUse)Wrapper(BeanContext beanContext, org.apache.sling.api.resource.ResourceResolver resolverToUse, org.apache.sling.api.resource.Resource resourceToUse) -
Uses of BeanContext in com.composum.sling.core.bean
Methods in com.composum.sling.core.bean with parameters of type BeanContext Modifier and Type Method Description @NotNull SlingBeanSlingBeanFactory. createBean(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource, @NotNull Class<? extends SlingBean> type) -
Uses of BeanContext in com.composum.sling.core.pckgmgr
Methods in com.composum.sling.core.pckgmgr with parameters of type BeanContext Modifier and Type Method Description protected StringPackagesServlet. getConsolePath(BeanContext context)protected PatternPackagesServlet. getPathPattern(BeanContext context)protected StringPackagesServlet. getResourceType(BeanContext context)protected StringPackagesServlet. getServletPath(BeanContext context) -
Uses of BeanContext in com.composum.sling.core.pckgmgr.jcrpckg
Methods in com.composum.sling.core.pckgmgr.jcrpckg with parameters of type BeanContext Modifier and Type Method Description protected voidPackageServlet.RegistriesTreeOperation. toJson(com.google.gson.stream.JsonWriter writer, BeanContext context, RegistryItem item) -
Uses of BeanContext in com.composum.sling.core.pckgmgr.jcrpckg.util
Methods in com.composum.sling.core.pckgmgr.jcrpckg.util with parameters of type BeanContext Modifier and Type Method Description static PackageUtil.ViewTypePackageUtil. getViewType(BeanContext context, org.apache.sling.api.SlingHttpServletRequest request, String path) -
Uses of BeanContext in com.composum.sling.core.pckgmgr.jcrpckg.view
Methods in com.composum.sling.core.pckgmgr.jcrpckg.view with parameters of type BeanContext Modifier and Type Method Description voidPackageBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.core.pckgmgr.regpckg.tree
Methods in com.composum.sling.core.pckgmgr.regpckg.tree with parameters of type BeanContext Modifier and Type Method Description RegistryItemRegistryTree. getItem(BeanContext context, String path)protected RegistryItemRegistryTree. getItemInternal(BeanContext context, String path)voidGroupNode. load(BeanContext context)voidPackageNode. load(BeanContext context)voidRegistryItem. load(BeanContext context)Loads all details of this node from the package(s) and makes sure all children (RegistryItem.getItems()) are present, though not necessarily loaded.voidRegistryNode. load(BeanContext context)voidRegistryTree. load(BeanContext context)voidVersionNode. load(BeanContext context)voidGroupNode. loadForItems(BeanContext context)voidPackageNode. loadForItems(BeanContext context)voidRegistryItem. loadForItems(BeanContext context)Makes sureRegistryItem.getItems()are present, though not necessarily loaded.voidRegistryNode. loadForItems(BeanContext context)voidRegistryTree. loadForItems(BeanContext context)voidVersionNode. loadForItems(BeanContext context) -
Uses of BeanContext in com.composum.sling.core.pckgmgr.regpckg.util
Methods in com.composum.sling.core.pckgmgr.regpckg.util with parameters of type BeanContext Modifier and Type Method Description static org.apache.commons.lang3.tuple.Pair<String,org.apache.jackrabbit.vault.packaging.registry.RegisteredPackage>RegistryUtil. open(BeanContext context, String path)static org.apache.commons.lang3.tuple.Pair<String,org.apache.jackrabbit.vault.packaging.registry.RegisteredPackage>RegistryUtil. open(BeanContext context, String namespace, org.apache.jackrabbit.vault.packaging.PackageId packageId) -
Uses of BeanContext in com.composum.sling.core.pckgmgr.regpckg.view
Methods in com.composum.sling.core.pckgmgr.regpckg.view with parameters of type BeanContext Modifier and Type Method Description protected org.apache.jackrabbit.vault.packaging.registry.PackageRegistryRegistryBean. getPackageRegistry(BeanContext context)voidGroupBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)voidPackageBean. initialize(BeanContext context)voidRegistryBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)voidVersionBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)protected voidGroupBean. load(BeanContext context)voidPackageBean. load(BeanContext context)voidVersionBean. load(BeanContext context)Constructors in com.composum.sling.core.pckgmgr.regpckg.view with parameters of type BeanContext Constructor Description PackageBean(BeanContext context, String path)PackageBean(BeanContext context, String namespace, org.apache.jackrabbit.vault.packaging.PackageId packageId)VersionBean(BeanContext context, String path)VersionBean(BeanContext context, String namespace, org.apache.jackrabbit.vault.packaging.PackageId packageId) -
Uses of BeanContext in com.composum.sling.core.request
Methods in com.composum.sling.core.request with parameters of type BeanContext Modifier and Type Method Description static DomIdentifiersDomIdentifiers. getInstance(BeanContext context) -
Uses of BeanContext in com.composum.sling.core.security
Constructors in com.composum.sling.core.security with parameters of type BeanContext Constructor Description SetupConfiguration(BeanContext context)SetupConfiguration(BeanContext context, org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.core.servlet
Methods in com.composum.sling.core.servlet that return BeanContext Modifier and Type Method Description protected BeanContextAbstractConsoleServlet. createContext(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)Methods in com.composum.sling.core.servlet with parameters of type BeanContext Modifier and Type Method Description protected booleanAbstractConsoleServlet. checkConsoleAccess(BeanContext context)Check access rights to the servlets path - is checking ACLs of the console pathprotected StringAbstractConsoleServlet. getConsolePath(BeanContext context)extension point to check access rights for a console feature by feature pathprotected abstract PatternAbstractConsoleServlet. getPathPattern(BeanContext context)protected abstract StringAbstractConsoleServlet. getResourceType(BeanContext context)protected abstract StringAbstractConsoleServlet. getServletPath(BeanContext context)protected voidAbstractConsoleServlet. prepareForward(BeanContext context, org.apache.sling.api.request.RequestDispatcherOptions options) -
Uses of BeanContext in com.composum.sling.core.user
Methods in com.composum.sling.core.user with parameters of type BeanContext Modifier and Type Method Description voidUserProfile. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)Constructors in com.composum.sling.core.user with parameters of type BeanContext Constructor Description UserProfile(BeanContext context)UserProfile(BeanContext context, org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.core.usermanagement
Methods in com.composum.sling.core.usermanagement with parameters of type BeanContext Modifier and Type Method Description protected StringUserManagerServlet. getConsolePath(BeanContext context)protected PatternUserManagerServlet. getPathPattern(BeanContext context)protected StringUserManagerServlet. getResourceType(BeanContext context)protected StringUserManagerServlet. getServletPath(BeanContext context) -
Uses of BeanContext in com.composum.sling.core.util
Methods in com.composum.sling.core.util with parameters of type BeanContext Modifier and Type Method Description static org.apache.sling.api.resource.ResourceConsoleUtil. getConsoleResource(BeanContext context)determines the addressed resource by the suffix if the requests resource is the servlet itself -
Uses of BeanContext in com.composum.sling.cpnl
Fields in com.composum.sling.cpnl declared as BeanContext Modifier and Type Field Description protected BeanContextCpnlBodyTagSupport. contextprotected BeanContextCpnlTagSupport. contextprotected BeanContextDefineObjectsTag. contextMethods in com.composum.sling.cpnl that return BeanContext Modifier and Type Method Description protected BeanContextCpnlBodyTagSupport. createContext(javax.servlet.jsp.PageContext pageContext)protected BeanContextCpnlTagSupport. createContext(javax.servlet.jsp.PageContext pageContext)protected BeanContextDefineObjectsTag. createContext(javax.servlet.jsp.PageContext pageContext)Methods in com.composum.sling.cpnl with parameters of type BeanContext Modifier and Type Method Description org.apache.sling.api.resource.ResourceComponentTag. getModelResource(BeanContext context)Hook that can change the resource used forComponentTag.createComponent()if necessary. -
Uses of BeanContext in com.composum.sling.nodes.browser
Methods in com.composum.sling.nodes.browser with parameters of type BeanContext Modifier and Type Method Description booleanBrowserViews.View.Toolbar.Element. enabled(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)protected StringBrowserServlet. getConsolePath(BeanContext context)@NotNull BrowserViews.View.ContentBrowserViews.View. getContent(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)protected PatternBrowserServlet. getPathPattern(BeanContext context)protected StringBrowserServlet. getResourceType(BeanContext context)protected StringBrowserServlet. getServletPath(BeanContext context)@NotNull List<BrowserViews.View.Tab>BrowserViews.View. getTabs(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)@NotNull BrowserViews.View.ToolbarBrowserViews.View. getToolbar(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)static @Nullable BrowserViews.ViewBrowserViews. getView(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)voidGenericView. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)booleanBrowserViews.View. matches(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanBrowserViews.View.Tab. matches(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanBrowserViews.View.Toolbar.Element. matches(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanBrowserViews.View.Toolbar.Group. matches(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)Constructors in com.composum.sling.nodes.browser with parameters of type BeanContext Constructor Description Browser(BeanContext context)Browser(BeanContext context, org.apache.sling.api.resource.Resource resource)Element(@NotNull BrowserViews.View.Toolbar.Element template, @NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)GenericView(BeanContext context)GenericView(BeanContext context, org.apache.sling.api.resource.Resource resource)Group(@NotNull BrowserViews.View.Toolbar.Group template, @NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)Toolbar(@NotNull BrowserViews.View.Toolbar template, @NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.nodes.components
Methods in com.composum.sling.nodes.components with parameters of type BeanContext Modifier and Type Method Description voidCAConfigModel. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)Constructors in com.composum.sling.nodes.components with parameters of type BeanContext Constructor Description CAConfigModel(BeanContext context)CAConfigModel(BeanContext context, org.apache.sling.api.resource.Resource resource)MergedModel(BeanContext context)MergedModel(BeanContext context, org.apache.sling.api.resource.Resource resource)ReferencesModel(BeanContext context)ReferencesModel(BeanContext context, org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.nodes.components.codeeditor
Methods in com.composum.sling.nodes.components.codeeditor with parameters of type BeanContext Modifier and Type Method Description protected StringCodeEditorServlet. getConsolePath(BeanContext context)protected PatternCodeEditorServlet. getPathPattern(BeanContext context)protected StringCodeEditorServlet. getResourceType(BeanContext context)protected StringCodeEditorServlet. getServletPath(BeanContext context)Constructors in com.composum.sling.nodes.components.codeeditor with parameters of type BeanContext Constructor Description CodeEditor(BeanContext context)CodeEditor(BeanContext context, org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.nodes.console
Methods in com.composum.sling.nodes.console with parameters of type BeanContext Modifier and Type Method Description booleanCondition. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)check the configured condition for the given resourcebooleanCondition.And. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.ClassAvailability. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.HttpStatus. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.JcrResource. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.MergedResource. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.NodesRestrictions. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.Or. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.PrimaryType. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.ResourcePermission. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.ResourceType. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.RunmodePermission. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.ServletPermission. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)booleanCondition.Versionable. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)protected voidConsoles. findConsoles(@NotNull BeanContext context, @NotNull String query)@Nullable ConsoleModelConsoles. getConsole(@NotNull BeanContext context, @NotNull String name)@NotNull Collection<ConsoleModel>Consoles. getConsoles(@NotNull BeanContext context)static @NotNull ConsolesConsoles. getInstance(@NotNull BeanContext context)@NotNull Collection<ConsoleModel>Consoles.Console. getMenuItems(@NotNull BeanContext context)voidConsoleModel. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)voidConsoleServletBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)voidConsoleSlingBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)@NotNull StringConsoles.Console. toString(@NotNull BeanContext context)@NotNull StringConsoles. toString(@NotNull BeanContext context)Constructors in com.composum.sling.nodes.console with parameters of type BeanContext Constructor Description ConsoleFilter(@NotNull BeanContext context, String... selectors)ConsoleModel(BeanContext context)ConsoleModel(BeanContext context, Consoles.Console console)ConsoleModel(BeanContext context, org.apache.sling.api.resource.Resource resource)ConsolePage(BeanContext context)ConsolePage(BeanContext context, org.apache.sling.api.resource.Resource resource)Consoles(@NotNull BeanContext context)ConsoleServletBean(BeanContext context)ConsoleServletBean(BeanContext context, org.apache.sling.api.resource.Resource resource)ConsoleSlingBean(BeanContext context)ConsoleSlingBean(BeanContext context, org.apache.sling.api.resource.Resource resource)ConsolesModel(BeanContext context)ConsolesModel(BeanContext context, org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.nodes.query
Constructors in com.composum.sling.nodes.query with parameters of type BeanContext Constructor Description ConfigItem(BeanContext context)ConfigItem(BeanContext context, org.apache.sling.api.resource.Resource resource)ConfigSet(BeanContext context)ConfigSet(BeanContext context, org.apache.sling.api.resource.Resource resource)ExportCfg(BeanContext context)ExportCfg(BeanContext context, org.apache.sling.api.resource.Resource resource)ExportSet(BeanContext context)ExportSet(BeanContext context, org.apache.sling.api.resource.Resource resource)Template(BeanContext context)Template(BeanContext context, org.apache.sling.api.resource.Resource resource)TemplateSet(BeanContext context)TemplateSet(BeanContext context, org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.nodes.scene
Fields in com.composum.sling.nodes.scene declared as BeanContext Modifier and Type Field Description protected @NotNull BeanContextScene. contextConstructors in com.composum.sling.nodes.scene with parameters of type BeanContext Constructor Description Scene(@NotNull BeanContext context, @NotNull SceneConfigurations.Config sceneConfig, @NotNull String contentType) -
Uses of BeanContext in com.composum.sling.nodes.servlet
Methods in com.composum.sling.nodes.servlet with parameters of type BeanContext Modifier and Type Method Description protected voidSceneServlet.PrepareSceneOperation. applyScene(@NotNull Status status, @NotNull BeanContext context, @NotNull Scene scene, @NotNull String toolId)protected voidSceneServlet.RemoveSceneOperation. applyScene(@NotNull Status status, @NotNull BeanContext context, @NotNull Scene scene, @NotNull String toolId)protected voidSceneServlet.SceneDataOperation. applyScene(@NotNull Status status, @NotNull BeanContext context, @NotNull Scene scene, @NotNull String toolId)protected abstract voidSceneServlet.SceneOperation. applyScene(@NotNull Status status, @NotNull BeanContext context, @NotNull Scene scene, @NotNull String toolId)Constructors in com.composum.sling.nodes.servlet with parameters of type BeanContext Constructor Description SourceModel(NodesConfiguration config, BeanContext context, org.apache.sling.api.resource.Resource resource) -
Uses of BeanContext in com.composum.sling.nodes.tools
Methods in com.composum.sling.nodes.tools with parameters of type BeanContext Modifier and Type Method Description voidOsgiBundleModel. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)protected voidOsgiBundlesServlet. writeBundle(@NotNull BeanContext context, @NotNull com.google.gson.stream.JsonWriter writer, @NotNull OsgiBundleModel model)protected voidOsgiBundlesServlet. writeBundles(@NotNull BeanContext context, @NotNull com.google.gson.stream.JsonWriter writer)Constructors in com.composum.sling.nodes.tools with parameters of type BeanContext Constructor Description OsgiBundleModel(@NotNull BeanContext context, @NotNull org.osgi.framework.Bundle bundle)OsgiBundleModel(BeanContext context)OsgiBundleModel(BeanContext context, org.apache.sling.api.resource.Resource resource)OsgiBundlesModel(BeanContext context)OsgiBundlesModel(BeanContext context, org.apache.sling.api.resource.Resource resource)
-