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 RendererContext
RendererContext. 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 class
BeanContext.AbstractContext
the base class of the context interface with general methodsstatic class
BeanContext.AbstractScriptContext
the enhancement of the base for scripting contextsstatic class
BeanContext.Map
a Map based implementation of the context interface (e.g.static class
BeanContext.Page
a JSP PageContext based implementation of the context interfacestatic class
BeanContext.Service
a Service based implementation for a background service or a job executionstatic class
BeanContext.Servlet
a servlet API based implementation of the context interface for Beans in a Servlet contextstatic class
BeanContext.Wrapper
a wrapper implementation baseFields in com.composum.sling.core declared as BeanContext Modifier and Type Field Description protected BeanContext
BeanContext.Wrapper. beanContext
protected BeanContext
AbstractSlingBean. context
the instance of the scripting context for the bean (initialized)Methods in com.composum.sling.core that return BeanContext Modifier and Type Method Description BeanContext
BeanContext.AbstractContext. withLocale(Locale locale)
BeanContext
BeanContext. withLocale(Locale locale)
Returns a clone of this context with the locale overridden, orthis
if it already had this locale.BeanContext
BeanContext.Wrapper. withLocale(Locale locale)
BeanContext
BeanContext.Page. withResource(org.apache.sling.api.resource.Resource resource)
BeanContext
BeanContext. withResource(org.apache.sling.api.resource.Resource resource)
Returns a clone of this context with the resource overridden, orthis
if it already had this resource.BeanContext
BeanContext.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 void
AbstractServletBean. initialize(BeanContext context)
extract the resource referenced to display in the browsers view as the components resourcevoid
AbstractSlingBean. initialize(BeanContext context)
Uses the contexts 'resource' attribute for initialization (content.getResource()).void
AbstractSlingBean. 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.void
SlingBean. 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.void
SlingBean. 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 SlingBean
SlingBeanFactory. 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 String
PackagesServlet. getConsolePath(BeanContext context)
protected Pattern
PackagesServlet. getPathPattern(BeanContext context)
protected String
PackagesServlet. getResourceType(BeanContext context)
protected String
PackagesServlet. 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 void
PackageServlet.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.ViewType
PackageUtil. 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 void
PackageBean. 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 RegistryItem
RegistryTree. getItem(BeanContext context, String path)
protected RegistryItem
RegistryTree. getItemInternal(BeanContext context, String path)
void
GroupNode. load(BeanContext context)
void
PackageNode. load(BeanContext context)
void
RegistryItem. 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.void
RegistryNode. load(BeanContext context)
void
RegistryTree. load(BeanContext context)
void
VersionNode. load(BeanContext context)
void
GroupNode. loadForItems(BeanContext context)
void
PackageNode. loadForItems(BeanContext context)
void
RegistryItem. loadForItems(BeanContext context)
Makes sureRegistryItem.getItems()
are present, though not necessarily loaded.void
RegistryNode. loadForItems(BeanContext context)
void
RegistryTree. loadForItems(BeanContext context)
void
VersionNode. 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.PackageRegistry
RegistryBean. getPackageRegistry(BeanContext context)
void
GroupBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)
void
PackageBean. initialize(BeanContext context)
void
RegistryBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)
void
VersionBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)
protected void
GroupBean. load(BeanContext context)
void
PackageBean. load(BeanContext context)
void
VersionBean. 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 DomIdentifiers
DomIdentifiers. 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 BeanContext
AbstractConsoleServlet. 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 boolean
AbstractConsoleServlet. checkConsoleAccess(BeanContext context)
Check access rights to the servlets path - is checking ACLs of the console pathprotected String
AbstractConsoleServlet. getConsolePath(BeanContext context)
extension point to check access rights for a console feature by feature pathprotected abstract Pattern
AbstractConsoleServlet. getPathPattern(BeanContext context)
protected abstract String
AbstractConsoleServlet. getResourceType(BeanContext context)
protected abstract String
AbstractConsoleServlet. getServletPath(BeanContext context)
protected void
AbstractConsoleServlet. 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 void
UserProfile. 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 String
UserManagerServlet. getConsolePath(BeanContext context)
protected Pattern
UserManagerServlet. getPathPattern(BeanContext context)
protected String
UserManagerServlet. getResourceType(BeanContext context)
protected String
UserManagerServlet. 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.Resource
ConsoleUtil. 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 BeanContext
CpnlBodyTagSupport. context
protected BeanContext
CpnlTagSupport. context
protected BeanContext
DefineObjectsTag. context
Methods in com.composum.sling.cpnl that return BeanContext Modifier and Type Method Description protected BeanContext
CpnlBodyTagSupport. createContext(javax.servlet.jsp.PageContext pageContext)
protected BeanContext
CpnlTagSupport. createContext(javax.servlet.jsp.PageContext pageContext)
protected BeanContext
DefineObjectsTag. 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.Resource
ComponentTag. 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 boolean
BrowserViews.View.Toolbar.Element. enabled(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
protected String
BrowserServlet. getConsolePath(BeanContext context)
@NotNull BrowserViews.View.Content
BrowserViews.View. getContent(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
protected Pattern
BrowserServlet. getPathPattern(BeanContext context)
protected String
BrowserServlet. getResourceType(BeanContext context)
protected String
BrowserServlet. 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.Toolbar
BrowserViews.View. getToolbar(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
static @Nullable BrowserViews.View
BrowserViews. getView(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
void
GenericView. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)
boolean
BrowserViews.View. matches(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
BrowserViews.View.Tab. matches(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
BrowserViews.View.Toolbar.Element. matches(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
BrowserViews.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 void
CAConfigModel. 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 String
CodeEditorServlet. getConsolePath(BeanContext context)
protected Pattern
CodeEditorServlet. getPathPattern(BeanContext context)
protected String
CodeEditorServlet. getResourceType(BeanContext context)
protected String
CodeEditorServlet. 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 boolean
Condition. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
check the configured condition for the given resourceboolean
Condition.And. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.ClassAvailability. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.HttpStatus. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.JcrResource. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.MergedResource. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.NodesRestrictions. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.Or. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.PrimaryType. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.ResourcePermission. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.ResourceType. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.RunmodePermission. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.ServletPermission. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
boolean
Condition.Versionable. accept(@NotNull BeanContext context, @NotNull org.apache.sling.api.resource.Resource resource)
protected void
Consoles. findConsoles(@NotNull BeanContext context, @NotNull String query)
@Nullable ConsoleModel
Consoles. getConsole(@NotNull BeanContext context, @NotNull String name)
@NotNull Collection<ConsoleModel>
Consoles. getConsoles(@NotNull BeanContext context)
static @NotNull Consoles
Consoles. getInstance(@NotNull BeanContext context)
@NotNull Collection<ConsoleModel>
Consoles.Console. getMenuItems(@NotNull BeanContext context)
void
ConsoleModel. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)
void
ConsoleServletBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)
void
ConsoleSlingBean. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)
@NotNull String
Consoles.Console. toString(@NotNull BeanContext context)
@NotNull String
Consoles. 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 BeanContext
Scene. context
Constructors 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 void
SceneServlet.PrepareSceneOperation. applyScene(@NotNull Status status, @NotNull BeanContext context, @NotNull Scene scene, @NotNull String toolId)
protected void
SceneServlet.RemoveSceneOperation. applyScene(@NotNull Status status, @NotNull BeanContext context, @NotNull Scene scene, @NotNull String toolId)
protected void
SceneServlet.SceneDataOperation. applyScene(@NotNull Status status, @NotNull BeanContext context, @NotNull Scene scene, @NotNull String toolId)
protected abstract void
SceneServlet.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 void
OsgiBundleModel. initialize(BeanContext context, org.apache.sling.api.resource.Resource resource)
protected void
OsgiBundlesServlet. writeBundle(@NotNull BeanContext context, @NotNull com.google.gson.stream.JsonWriter writer, @NotNull OsgiBundleModel model)
protected void
OsgiBundlesServlet. 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)
-