A B C D G I J L M N O P R S T U 

A

AbstractNamespaceMappingRepository - Class in org.apache.sling.jcr.base
Deprecated.
as of API version 2.3 (bundle version 2.2.2). Use NamespaceMappingSupport or AbstractSlingRepositoryManager and AbstractSlingRepository2 instead.
AbstractNamespaceMappingRepository() - Constructor for class org.apache.sling.jcr.base.AbstractNamespaceMappingRepository
Deprecated.
 
AbstractSlingRepository - Class in org.apache.sling.jcr.base
Deprecated.
as of API version 2.3 (bundle version 2.2.2). Use AbstractSlingRepositoryManager and AbstractSlingRepository2 instead.
AbstractSlingRepository() - Constructor for class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
AbstractSlingRepository2 - Class in org.apache.sling.jcr.base
The AbstractSlingRepository2 is an abstract implementation of the SlingRepository version 2.3 interface (phasing AbstractSlingRepository2.loginAdministrative(String) out in favor of AbstractSlingRepository2.loginService(String, String)) which provides default support for attached repositories.
AbstractSlingRepository2(AbstractSlingRepositoryManager, Bundle) - Constructor for class org.apache.sling.jcr.base.AbstractSlingRepository2
Sets up this abstract SlingRepository implementation.
AbstractSlingRepositoryManager - Class in org.apache.sling.jcr.base
The AbstractSlingRepositoryManager is the basis for controlling the JCR repository instances used by Sling.
AbstractSlingRepositoryManager() - Constructor for class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
 
AccessControlUtil - Class in org.apache.sling.jcr.base.util
A simple utility class providing utilities with respect to access control over repositories.
AccessControlUtil() - Constructor for class org.apache.sling.jcr.base.util.AccessControlUtil
 
acquireRepository() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Acquires the repository by calling the RepositoryAccessor.getRepositoryFromURL(String) with the value of the RepositoryAccessor.REPOSITORY_URL_OVERRIDE_PROPERTY framework or configuration property.
acquireRepository() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Creates the backing JCR repository instances.
activate(ComponentContext) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
This method must be called if overwritten by implementations !!
activate(BundleContext) - Method in class org.apache.sling.jcr.base.internal.RepositoryPrinterProvider
Activate this component.
addEntry(AccessControlList, Principal, Privilege[], boolean) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Same as addEntry(AccessControlList, Principal, Privilege[], boolean, Map) using some implementation specific restrictions.
addEntry(AccessControlList, Principal, Privilege[], boolean, Map) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Adds an access control entry to the acl consisting of the specified principal, the specified privileges, the isAllow flag and an optional map containing additional restrictions.

B

bindLog(LogService) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
bindRepository(Repository, Map<String, Object>) - Method in class org.apache.sling.jcr.base.internal.RepositoryPrinterProvider
Bind a new repository.
bundleChanged(BundleEvent) - Method in class org.apache.sling.jcr.base.internal.loader.Loader
Loads and unloads any components provided by the bundle whose state changed.

C

create(Bundle) - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Creates an instance of the AbstractSlingRepository2 implementation for use by the given usingBundle.
createAdministrativeSession(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Creates an administrative session to access the indicated workspace.
createProxy(Session) - Method in class org.apache.sling.jcr.base.SessionProxyHandler
Deprecated.
Create a proxy for the session.
createServiceSession(String, String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Creates a service-session for the service's serviceUserName by impersonating the user from an administrative session.

D

deactivate(ComponentContext) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
This method must be called if overwritten by implementations !!
deactivate() - Method in class org.apache.sling.jcr.base.internal.RepositoryPrinterProvider
Deactivate this component.
DEFAULT_ADMIN_PASS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
DEFAULT_ADMIN_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
DEFAULT_ANONYMOUS_PASS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
DEFAULT_ANONYMOUS_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
DEFAULT_LOGIN_ADMIN_ENABLED - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
DEFAULT_POLL_ACTIVE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
The default value for the number of seconds to wait between two consecutive checks while the repository is active (value is 10).
DEFAULT_POLL_INACTIVE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
The default value for the number of seconds to wait between two consecutive checks while the repository is not active (value is 10).
defineNamespacePrefixes(Session) - Method in class org.apache.sling.jcr.base.internal.loader.Loader
 
destroy(AbstractSlingRepository2) - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Cleans up the given AbstractSlingRepository2 instance previously created by the AbstractSlingRepositoryManager.create(Bundle) method.
dispose() - Method in class org.apache.sling.jcr.base.internal.loader.Loader
 
disposeRepository(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Disposes off the given repository.
disposeRepository(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Disposes off the given repository.

G

getAccessControlManager(Session) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns the AccessControlManager for the given session.
getAdministrativeCredentials(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
getAnonCredentials(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
getClientRepositoryFactory() - Method in class org.apache.sling.jcr.base.util.RepositoryAccessor
Returns the ClientRepositoryFactory to access the remote JCR repository over RMI.
getComponentContext() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
getDefaultWorkspace() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Returns the default workspace, which may be null meaning to use the repository provided default workspace.
getDefaultWorkspace() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Returns the default workspace to login to if any of the login and createSession methods is called without an explicit workspace name.
getDefaultWorkspace() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Returns the default workspace, which may be null meaning to use the repository provided default workspace.
getDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
getDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
 
getDescriptorKeys() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
getDescriptorKeys() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
 
getDescriptorValue(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
getDescriptorValue(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
 
getDescriptorValues(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
getDescriptorValues(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
 
getLocalAdapterFactory() - Method in class org.apache.sling.jcr.base.util.RepositoryAccessor
Returns the LocalAdapterFactory used to convert Jackrabbit JCR RMI remote objects to local JCR API objects.
getNamespaceAwareSession(Session) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Deprecated.
as of API version 2.4 (bundle version 2.3)
getNamespaceAwareSession(Session) - Method in class org.apache.sling.jcr.base.NamespaceMappingSupport
Deprecated.
Return a namespace aware session.
getNamespaceMapperServices() - Method in class org.apache.sling.jcr.base.AbstractNamespaceMappingRepository
Deprecated.
 
getNamespaceMapperServices() - Method in class org.apache.sling.jcr.base.NamespaceMappingSupport
Deprecated.
Returns the NamespaceMapper services used by the NamespaceMappingSupport.getNamespaceAwareSession(Session) method to define custom namespaces on sessions.
getPath(AccessControlList) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns the path of the node AccessControlList acl has been created for.
getPrincipalManager(Session) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns the PrincipalManager for the given session.
getProperties() - Method in class org.apache.sling.jcr.base.internal.RepositoryPrinter
 
getRepository() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Returns the repository underlying this instance or null if no repository is currently being available.
getRepository() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Returns the actual repository to which all JCR Repository interface methods implemented by this class are delegated.
getRepository() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Returns the repository underlying this instance or null if no repository is currently being available.
getRepository(String, Hashtable<String, Object>) - Method in class org.apache.sling.jcr.base.util.RepositoryAccessor
First try to access the Repository via JNDI (unless jndiContext is null), and if not successful try RMI.
getRepositoryAccessor() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Returns a new instance of the RepositoryAccessor class to access a repository over RMI or through JNDI.
getRepositoryFromURL(String) - Method in class org.apache.sling.jcr.base.util.RepositoryAccessor
Acquire a Repository from the given URL
getServiceRegistrationInterfaces() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Returns the service types to be used to register the repository service in AbstractSlingRepository.registerService().
getServiceRegistrationInterfaces() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Returns the service types to be used to register the repository service in AbstractSlingRepositoryManager.registerService().
getServiceRegistrationProperties() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Return the service registration properties to be used to register the repository service in AbstractSlingRepository.registerService().
getServiceRegistrationProperties() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Return the service registration properties to be used to register the repository service in AbstractSlingRepositoryManager.registerService().
getServiceUserMapper() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Returns the ServiceUserMapper service to map the service name to a service user name.
getSlingRepositoryManager() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
 
getTitle() - Method in class org.apache.sling.jcr.base.internal.RepositoryPrinter
 
getUserManager(Session) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns the UserManager for the given session.

I

impersonateFromService(String, Credentials, String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Default implementation of the #impersonateFromService(Credentials, String, String) method taking into account the bundle calling this method.
invoke(Object, Method, Object[]) - Method in class org.apache.sling.jcr.base.SessionProxyHandler.SessionProxyInvocationHandler
Deprecated.
 
isAllow(AccessControlEntry) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns true if the AccessControlEntry represents 'allowed' rights or false it it represents 'denied' rights.
isDisableLoginAdministrative() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Returns whether to disable the SlingRepository.loginAdministrative method or not.
isEmpty(AccessControlList) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns true if AccessControlList acl does not yet define any entries.
isSingleValueDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
isSingleValueDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
 
isStandardDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
isStandardDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
 

J

JNDI_PREFIX - Static variable in class org.apache.sling.jcr.base.util.RepositoryAccessor
Prefix for JNDI Repository URLs

L

Loader - Class in org.apache.sling.jcr.base.internal.loader
The Loader TODO
Loader(SlingRepository, BundleContext) - Constructor for class org.apache.sling.jcr.base.internal.loader.Loader
 
log(int, String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
log(int, String, Throwable) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
login() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Logs in as an anonymous user.
login(Credentials) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
login(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
login(Credentials, String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
login() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Same as calling login(null, null).
login(Credentials) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Same as calling login(credentials, null).
login(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Same as calling login(null, workspace).
login(Credentials, String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Logs into the repository at the given workspace with the given credentials and returns the session returned from the repository.
loginAdministrative(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
loginAdministrative(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Login as an administrative user.
loginAdministrativeInternal(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Actual (unprotected) implementation of administrative login.
loginService(String, String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
This method always throws LoginException because it does not directly have the calling bundle at its disposition to decide on the required service name.
loginService(String, String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Actual implementation of the AbstractSlingRepository2.loginService(String, String) method taking into account the bundle calling this method.

M

MIN_POLL - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
The minimum number of seconds allowed for any of the two poll times

N

NamespaceMappingSupport - Class in org.apache.sling.jcr.base
Deprecated.
as of API version 2.4 (bundle version 2.3)
NamespaceMappingSupport() - Constructor for class org.apache.sling.jcr.base.NamespaceMappingSupport
Deprecated.
 
NAMESPACES_BUNDLE_HEADER - Static variable in class org.apache.sling.jcr.base.internal.loader.Loader
 
NodeTypeLoader - Class in org.apache.sling.jcr.base
The NodeTypeSupport contains utility methods to register node types from a CND nodetype definition file given as an URL or InputStream with the repository.
NodeTypeLoader() - Constructor for class org.apache.sling.jcr.base.NodeTypeLoader
 
NODETYPES_BUNDLE_HEADER - Static variable in class org.apache.sling.jcr.base.internal.loader.Loader
 

O

org.apache.sling.jcr.base - package org.apache.sling.jcr.base
The org.apache.sling.jcr.base package provides basic support to expose JCR repositories in Sling.
org.apache.sling.jcr.base.internal - package org.apache.sling.jcr.base.internal
 
org.apache.sling.jcr.base.internal.loader - package org.apache.sling.jcr.base.internal.loader
 
org.apache.sling.jcr.base.util - package org.apache.sling.jcr.base.util
 

P

pingAndCheck() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Ping our current repository and check that admin login (required by Sling) works.
pingRepository(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Checks that the given repository is still available.
printConfiguration(PrintWriter) - Method in class org.apache.sling.jcr.base.internal.RepositoryPrinter
 
PROPERTY_ADMIN_PASS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
PROPERTY_ADMIN_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
PROPERTY_ANONYMOUS_PASS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
PROPERTY_ANONYMOUS_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
PROPERTY_DEFAULT_WORKSPACE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
PROPERTY_LOGIN_ADMIN_ENABLED - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
PROPERTY_POLL_ACTIVE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
PROPERTY_POLL_INACTIVE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 

R

registerNodeType(Session, URL) - Static method in class org.apache.sling.jcr.base.NodeTypeLoader
Registers node types from the CND file accessible by the URL with the node type manager available from the given session.
registerNodeType(Session, InputStream) - Static method in class org.apache.sling.jcr.base.NodeTypeLoader
Registers node types from the CND file read from the source with the node type manager available from the given session.
registerNodeType(Session, String, Reader, boolean) - Static method in class org.apache.sling.jcr.base.NodeTypeLoader
 
registerService() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Registers this component as an OSGi service with the types provided by the AbstractSlingRepository.getServiceRegistrationInterfaces() method and properties provided by the AbstractSlingRepository.getServiceRegistrationProperties() method.
registerService() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Registers this component as an OSGi service with the types provided by the AbstractSlingRepositoryManager.getServiceRegistrationInterfaces() method and properties provided by the AbstractSlingRepositoryManager.getServiceRegistrationProperties() method.
replaceAccessControlEntry(Session, String, Principal, String[], String[], String[]) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
replaceAccessControlEntry(Session, String, Principal, String[], String[], String[], String) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Replaces existing access control entries in the ACL for the specified principal and resourcePath.
REPOSITORY_URL_OVERRIDE_PROPERTY - Static variable in class org.apache.sling.jcr.base.util.RepositoryAccessor
Name of the property that the jcr client and server bundles to override their default configuration settings and connect to the specified repository instead (SLING-254 and SLING-260)
RepositoryAccessor - Class in org.apache.sling.jcr.base.util
Access a Repository via JNDI or RMI.
RepositoryAccessor() - Constructor for class org.apache.sling.jcr.base.util.RepositoryAccessor
 
RepositoryPrinter - Class in org.apache.sling.jcr.base.internal
The Printer Plugin
RepositoryPrinter(Repository, Map<String, Object>) - Constructor for class org.apache.sling.jcr.base.internal.RepositoryPrinter
 
RepositoryPrinterProvider - Class in org.apache.sling.jcr.base.internal
The repository provider listens for javax.jcr.Repository services and registers a web console plugin
RepositoryPrinterProvider() - Constructor for class org.apache.sling.jcr.base.internal.RepositoryPrinterProvider
 
RMI_PREFIX - Static variable in class org.apache.sling.jcr.base.util.RepositoryAccessor
Prefix for RMI Repository URLs
run() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 

S

SessionProxyHandler - Class in org.apache.sling.jcr.base
Deprecated.
as of API version 2.4 (bundle version 2.3)
SessionProxyHandler(NamespaceMappingSupport) - Constructor for class org.apache.sling.jcr.base.SessionProxyHandler
Deprecated.
 
SessionProxyHandler.SessionProxyInvocationHandler - Class in org.apache.sling.jcr.base
Deprecated.
 
SessionProxyHandler.SessionProxyInvocationHandler(Session, NamespaceMappingSupport, Class<?>[]) - Constructor for class org.apache.sling.jcr.base.SessionProxyHandler.SessionProxyInvocationHandler
Deprecated.
 
setup(BundleContext) - Method in class org.apache.sling.jcr.base.AbstractNamespaceMappingRepository
Deprecated.
 
setup(BundleContext, SlingRepository) - Method in class org.apache.sling.jcr.base.NamespaceMappingSupport
Deprecated.
Sets up the namespace mapping support.
setupRepository(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
This method is called after a repository has been acquired by AbstractSlingRepository.acquireRepository() but before the repository is registered as a service.
size(AccessControlList) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns the number of acl entries or 0 if the acl is empty.
start(BundleContext, String, boolean) - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
This method actually starts the backing repository instannce and registeres the repository service.
stop() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
This method must be called if overwritten by implementations !!

T

tearDown() - Method in class org.apache.sling.jcr.base.AbstractNamespaceMappingRepository
Deprecated.
 
tearDown(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Performs any cleanups before the repository is actually disposed off by the AbstractSlingRepository.disposeRepository(Repository) method.
tearDown() - Method in class org.apache.sling.jcr.base.NamespaceMappingSupport
Deprecated.
Terminates namespace mapping support.

U

unbindLog(LogService) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
unbindRepository(Repository, Map<String, Object>) - Method in class org.apache.sling.jcr.base.internal.RepositoryPrinterProvider
Unind a new repository.
unregisterNamespaces(Bundle) - Method in class org.apache.sling.jcr.base.internal.loader.Loader
Unregister namespaces defined in the bundle.
unregisterService(ServiceRegistration) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
Unregisters the service represented by the serviceRegistration.
unregisterService(ServiceRegistration) - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Unregisters the service represented by the serviceRegistration.
A B C D G I J L M N O P R S T U 

Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.