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
The AbstractNamespaceMappingRepository is an abstract implementation of the SlingRepository interface which provides default support for namespace mapping.
AbstractNamespaceMappingRepository() - Constructor for class org.apache.sling.jcr.base.AbstractNamespaceMappingRepository
 
AbstractSlingRepository - Class in org.apache.sling.jcr.base
The AbstractSlingRepository is an abstract implementation of the SlingRepository interface which provides default support for attached repositories as well as ensuring live repository connection, reconnecting if needed.
AbstractSlingRepository() - Constructor for class org.apache.sling.jcr.base.AbstractSlingRepository
 
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
Acquires the repository by calling the RepositoryAccessor.getRepositoryFromURL(String) with the value of the RepositoryAccessor.REPOSITORY_URL_OVERRIDE_PROPERTY framework or configuration property.
activate(ComponentContext) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
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
 
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

createProxy(Session) - Method in class org.apache.sling.jcr.base.SessionProxyHandler
Create a proxy for the session.

D

deactivate(ComponentContext) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
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
 
DEFAULT_ADMIN_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
DEFAULT_ANONYMOUS_PASS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
DEFAULT_ANONYMOUS_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
DEFAULT_POLL_ACTIVE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
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
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
 
dispose() - Method in class org.apache.sling.jcr.base.internal.loader.Loader
 
disposeRepository(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
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
 
getAnonCredentials(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
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
 
getDefaultWorkspace() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
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
 
getDescriptorKeys() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
getDescriptorValue(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
getDescriptorValues(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
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.AbstractNamespaceMappingRepository
Return a namespace aware session.
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
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
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
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

invoke(Object, Method, Object[]) - Method in class org.apache.sling.jcr.base.SessionProxyHandler.SessionProxyInvocationHandler
 
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.
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
isStandardDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository

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
 
log(int, String, Throwable) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
login() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Logs in as an anonymous user.
login(Credentials) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
login(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
login(Credentials, String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
loginAdministrative(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 

M

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

N

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
 
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
Ping our current repository and check that admin login (required by Sling) works.
pingRepository(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
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
 
PROPERTY_ADMIN_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
PROPERTY_ANONYMOUS_PASS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
PROPERTY_ANONYMOUS_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
PROPERTY_DEFAULT_WORKSPACE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
PROPERTY_POLL_ACTIVE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
PROPERTY_POLL_INACTIVE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 

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
Registers this component as an OSGi service with type javax.jcr.Repository and org.apache.sling.jcr.api.SlingRepository using the component properties as service registration properties.
replaceAccessControlEntry(Session, String, Principal, String[], String[], String[]) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Deprecated. use @link replaceAccessControlEntry(Session, String, Principal, String[], String[], String[], String) instead.
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
 

S

SessionProxyHandler - Class in org.apache.sling.jcr.base
The session proxy handler creates session proxies to handle the namespace mapping support if impersonate is called on the session.
SessionProxyHandler(AbstractNamespaceMappingRepository) - Constructor for class org.apache.sling.jcr.base.SessionProxyHandler
 
SessionProxyHandler.SessionProxyInvocationHandler - Class in org.apache.sling.jcr.base
 
SessionProxyHandler.SessionProxyInvocationHandler(Session, AbstractNamespaceMappingRepository, Class<?>[]) - Constructor for class org.apache.sling.jcr.base.SessionProxyHandler.SessionProxyInvocationHandler
 
setup(BundleContext) - Method in class org.apache.sling.jcr.base.AbstractNamespaceMappingRepository
 
setupRepository(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
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.

T

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

U

unbindLog(LogService) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
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
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-2012 The Apache Software Foundation. All Rights Reserved.