Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y 

A

AbstractAccessPostServlet - Class in org.apache.sling.jcr.jackrabbit.accessmanager.post
Base class for all the POST servlets for the AccessManager operations
AbstractAccessPostServlet() - Constructor for class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
 
AbstractAuthenticationFormServlet - Class in org.apache.sling.auth.core.spi
The AbstractAuthenticationFormServlet provides a basic implementation of a simple servlet to render a login form for authentication purposes.
AbstractAuthenticationFormServlet() - Constructor for class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
 
AbstractAuthenticationHandler - Class in org.apache.sling.auth.core.spi
Deprecated.
since Bundle 1.0.8; AuthenticationHandler implementations should extend DefaultAuthenticationFeedbackHandler directly and use the utility methods in the AuthUtil class.
AbstractAuthenticationHandler() - Constructor for class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
Deprecated.
 
AbstractGetAclServlet - Class in org.apache.sling.jcr.jackrabbit.accessmanager.post
 
AbstractGetAclServlet() - Constructor for class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractGetAclServlet
 
AbstractInjectAnnotationProcessor - Class in org.apache.sling.models.spi.injectorspecific
Default implementation of ModelAnnotationProcessor.
AbstractInjectAnnotationProcessor() - Constructor for class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
 
AbstractNamespaceMappingRepository - Class in org.apache.sling.jcr.base
Deprecated.
as of API version 2.3 (bundle version 2.3). Use NamespaceMappingSupport or AbstractSlingRepositoryManager and AbstractSlingRepository2 instead.
AbstractNamespaceMappingRepository() - Constructor for class org.apache.sling.jcr.base.AbstractNamespaceMappingRepository
Deprecated.
 
AbstractPostOperation - Class in org.apache.sling.servlets.post
The AbstractPostOperation class is a base implementation of the PostOperation service interface providing actual implementations with useful tooling and common functionality like preparing the change logs or saving or refreshing the JCR Session.
AbstractPostOperation() - Constructor for class org.apache.sling.servlets.post.AbstractPostOperation
 
AbstractPostResponse - Class in org.apache.sling.servlets.post
The AbstractPostResponse class provides a basic implementation of the PostResponse interface maintaining properties to be prepared for sending the response in an internal map.
AbstractPostResponse() - Constructor for class org.apache.sling.servlets.post.AbstractPostResponse
 
AbstractRegistrationSupport - Class in org.apache.sling.jcr.registration
The AbstractRegistrationSupport class is the base class for registration purposes of embedded repositories.
AbstractRegistrationSupport() - Constructor for class org.apache.sling.jcr.registration.AbstractRegistrationSupport
 
AbstractResource - Class in org.apache.sling.api.resource
The AbstractResource is an abstract implementation of the Resource interface.
AbstractResource() - Constructor for class org.apache.sling.api.resource.AbstractResource
 
AbstractResourceVisitor - Class in org.apache.sling.api.resource
The AbstractResourceVisitor helps in traversing a resource tree by decoupling the actual traversal code from application code.
AbstractResourceVisitor() - Constructor for class org.apache.sling.api.resource.AbstractResourceVisitor
 
AbstractScriptEngineFactory - Class in org.apache.sling.scripting.api
This abstract class can be used for own script engine factory implementations.
AbstractScriptEngineFactory() - Constructor for class org.apache.sling.scripting.api.AbstractScriptEngineFactory
 
AbstractServiceReferenceConfig - Class in org.apache.sling.engine.servlets
Deprecated. 
AbstractServiceReferenceConfig(ServletContext, ServiceReference, String) - Constructor for class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Deprecated.
Sets up this base configuration object.
AbstractSlingPostOperation - Class in org.apache.sling.servlets.post
Deprecated.
as of 2.0.8 (Bundle version 2.2.0) and replaced by AbstractPostOperation.
AbstractSlingPostOperation() - Constructor for class org.apache.sling.servlets.post.AbstractSlingPostOperation
Deprecated.
 
AbstractSlingRepository - Class in org.apache.sling.jcr.base
Deprecated.
as of API version 2.3 (bundle version 2.3). 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.2 interface (phasing AbstractSlingRepository2.loginAdministrative(String) out in favor of AbstractSlingRepository2.loginService(String, String)) which provides default support for attached repositories as well as namespace mapping support by wrapping sessions with namespace support (see AbstractSlingRepository2.getNamespaceAwareSession(Session)).
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
 
AbstractSlingScriptEngine - Class in org.apache.sling.scripting.api
 
AbstractSlingScriptEngine(ScriptEngineFactory) - Constructor for class org.apache.sling.scripting.api.AbstractSlingScriptEngine
 
accept(Resource) - Method in class org.apache.sling.api.resource.AbstractResourceVisitor
Visit the given resource and all its descendants.
accept(InstanceDescription) - Method in interface org.apache.sling.discovery.InstanceFilter
Returns true if this InstanceFilter selects the given InstanceDescription.
accepts(SlingHttpServletRequest) - Method in interface org.apache.sling.api.servlets.OptingServlet
Examines the request, and return true if this servlet is willing to handle the request.
AcceptsNullName - Interface in org.apache.sling.models.spi
Marker interface for an injector to declare that it ignores the name parameter.
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
 
AccessManagerPlugin - Interface in org.apache.sling.jcr.jackrabbit.server.security.accessmanager
A simplified AccessManager interface.
AccessManagerPluginFactory - Interface in org.apache.sling.jcr.jackrabbit.server.security.accessmanager
Implementations of this interface, provided as an OSGi service, will be used by PluggableDefaultAccessManager.
AccessRights() - Constructor for class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo.AccessRights
 
AccessSecurityException - Exception in org.apache.sling.api.security
Exception thrown by methods of ResourceAccessSecurity This exception is used to catch unpredictable situations in methods of ResourceAccessSecurity
AccessSecurityException() - Constructor for exception org.apache.sling.api.security.AccessSecurityException
Constructs a new instance of this class with null as its detail message.
AccessSecurityException(String) - Constructor for exception org.apache.sling.api.security.AccessSecurityException
Constructs a new instance of this class with the specified detail message.
AccessSecurityException(String, Throwable) - Constructor for exception org.apache.sling.api.security.AccessSecurityException
Constructs a new instance of this class with the specified detail message and root cause.
AccessSecurityException(Throwable) - Constructor for exception org.apache.sling.api.security.AccessSecurityException
Constructs a new instance of this class with the specified root cause.
accumulate(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
Accumulate values under a key.
acknowledgeJob(Event) - Static method in class org.apache.sling.event.EventUtil
acknowledgeJob(Event) - Static method in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new JobConsumer interface instead.
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(ComponentContext) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Activates this component thread-safely as follows: Set the OSGi ComponentContext field Call AbstractRegistrationSupport.doActivate() Register repositores bound before activation calling AbstractRegistrationSupport.bindRepository(String, Repository) for each such repository.
Adaptable - Interface in org.apache.sling.api.adapter
The Adaptable interface identifies objects which can be adapted to other types or representations of the same object.
ADAPTABLE_CLASSES - Static variable in interface org.apache.sling.api.adapter.AdapterFactory
The service registration property listing the fully qualified names of classes which can be adapted by this adapter factory (value is "adaptables").
ADAPTER_CLASSES - Static variable in interface org.apache.sling.api.adapter.AdapterFactory
The service registration property listing the fully qualified names of classes to which this factory can adapt adaptables (value is "adapters").
AdapterFactory - Interface in org.apache.sling.api.adapter
The AdapterFactory interface defines the API for helpers which may be provided to enhance the adaptability of adaptable objects.
AdapterManager - Interface in org.apache.sling.api.adapter
The AdapterManager defines the service interface for a manager for object adaption.
adaptTo(Class<AdapterType>) - Method in interface org.apache.sling.api.adapter.Adaptable
Adapts the adaptable to another type.
adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.adapter.SlingAdaptable
Calls into the registered AdapterManager to adapt this object to the desired type.
adaptTo(Iterator<Resource>, Class<T>) - Static method in class org.apache.sling.api.resource.ResourceUtil
Return an iterator for objects of the specified type.
adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling adaptTo on the wrapped resource.
adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
adaptTo(Class<AdapterType>) - Method in class org.apache.sling.api.wrappers.SlingHttpServletResponseWrapper
 
add() - Method in interface org.apache.sling.event.jobs.JobBuilder
Add the job.
add(List<String>) - Method in interface org.apache.sling.event.jobs.JobBuilder
Add the job.
add() - Method in interface org.apache.sling.event.jobs.JobBuilder.ScheduleBuilder
Finally add the job to the schedule
add(List<String>) - Method in interface org.apache.sling.event.jobs.JobBuilder.ScheduleBuilder
Finally add the job to the schedule
ADD_NODE - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
 
addAsyncTask(InstallTask) - Method in interface org.apache.sling.installer.api.tasks.InstallationContext
Deprecated.
addBindings(Bindings) - Method in interface org.apache.sling.scripting.api.BindingsValuesProvider
Add objects to the Bindings object.
addDisposalCallback(DisposalCallback) - Method in interface org.apache.sling.models.spi.DisposalCallbackRegistry
Register a callback.
addEntry(AccessControlList, Principal, Privilege[], boolean) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Same as AccessControlUtil.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.
addingService(ServiceReference) - Method in class org.apache.sling.commons.osgi.SortingServiceTracker
 
addJob(String, Object, Map<String, Serializable>, String, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
addJob(String, Map<String, Object>) - Method in interface org.apache.sling.event.jobs.JobManager
Add a new job If the topic is null or illegal, no job is created and null is returned.
addJob(String, String, Map<String, Object>) - Method in interface org.apache.sling.event.jobs.JobManager
Deprecated. 
addPeriodicJob(String, Object, Map<String, Serializable>, long, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
addPeriodicJob(String, Object, Map<String, Serializable>, long, boolean, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
addPrincipals(Set) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin
Enables to add additional Principal objects, such as groups or roles, to the Subject.
addProperty(Property) - Method in class org.apache.sling.commons.json.jcr.JsonJcrNode
 
addTaskToCurrentCycle(InstallTask) - Method in interface org.apache.sling.installer.api.tasks.InstallationContext
Schedule a task for execution in the current cycle.
addTaskToNextCycle(InstallTask) - Method in interface org.apache.sling.installer.api.tasks.InstallationContext
Deprecated. 
addValue(String, Value) - Method in class org.apache.sling.commons.json.jcr.JsonJcrNode
 
ALL - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
 
AMP - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '&'.
APOS - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '''.
append(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
Append values to the array under a key.
APPLICATION_CONTEXT - Static variable in interface org.apache.sling.api.security.ResourceAccessSecurity
Allowed value for the ResourceAccessSecurity.CONTEXT service registration property.
array() - Method in class org.apache.sling.commons.json.io.JSONWriter
Begin appending a new array.
ASYNC_ATTR_NAME - Static variable in class org.apache.sling.installer.api.tasks.InstallTask
Attribute which is set by the OSGi installer for asynchronous execution.
asyncProcessingFinished(JobExecutionResult) - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext
Report an async result.
asyncTaskFailed(InstallTask) - Method in interface org.apache.sling.installer.api.tasks.InstallationContext
Inform the installer about a failed async task.
AT(Date) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Create a schedule options to fire a job once at a specific date
AT(Date, int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Create a schedule options to fire a job period starting at a specific date
at(Date) - Method in interface org.apache.sling.event.jobs.JobBuilder.ScheduleBuilder
Schedule the job for a specific date.
ATTR_INCLUDE_CONTEXT_PATH - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the HttpServletRequest.getContextPath() of the request which included the servlet currently being active underlying the Servlet which included the servlet currently being active (value is "javax.servlet.include.context_path").
ATTR_INCLUDE_PATH_INFO - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the HttpServletRequest.getPathInfo() of the request which included the servlet currently being active underlying the Servlet which included the servlet currently being active (value is "javax.servlet.include.path_info").
ATTR_INCLUDE_QUERY_STRING - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the HttpServletRequest.getQueryString() of the request which included the servlet currently being active underlying the Servlet which included the servlet currently being active (value is "javax.servlet.include.query_string").
ATTR_INCLUDE_REQUEST_URI - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the HttpServletRequest.getRequestURI() of the request which included the servlet currently being active underlying the Servlet which included the servlet currently being active (value is "javax.servlet.include.request_uri").
ATTR_INCLUDE_SERVLET_PATH - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the HttpServletRequest.getServletPath() of the request which included the servlet currently being active underlying the Servlet which included the servlet currently being active (value is "javax.servlet.include.servlet_path").
ATTR_INSTALL_EXCLUDED - Static variable in interface org.apache.sling.installer.api.tasks.TaskResource
If this attribute is set and the resource has the state installed, it actually means that this resource has been processed but not installed.
ATTR_INSTALL_INFO - Static variable in interface org.apache.sling.installer.api.tasks.TaskResource
Additional installation information in human readable format.
ATTR_REQUEST_CONTENT - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the Resource underlying the Servlet which included the servlet currently being active (value is "org.apache.sling.api.include.resource").
ATTR_REQUEST_PATH_INFO - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the RequestPathInfo underlying the Servlet which included the servlet currently being active (value is "org.apache.sling.api.include.request_path_info").
ATTR_REQUEST_SERVLET - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the Servlet which included the servlet currently being active (value is "org.apache.sling.api.include.servlet").
ATTR_SCRIPT_RESOURCE_RESOLVER - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
The name of the script context attribute holding the ResourceResolver which has been used to resolve the script.
ATTR_SKIP_SESSION_HANDLING - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request attribute (not parameter) indicating that a post operation should not invoke session.save() upon completion.
AttributableResourceProvider - Interface in org.apache.sling.api.resource
The attributes provider is an extensions of a ResourceProvider.
AUTH_HANDLER_BROWSER_ONLY - Static variable in class org.apache.sling.auth.core.AuthConstants
Service Registration property which may be set by an AuthenticationHandler service to indicate whether its AuthenticationHandler.requestCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method supports non-browser requests (according to AuthUtil.isBrowserRequest(javax.servlet.http.HttpServletRequest) or not.
AUTH_INFO_LOGIN - Static variable in class org.apache.sling.auth.core.AuthConstants
Marker property in the AuthenticationInfo object returned by the AuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method indicating a first authentication considered to be a login.
AUTH_REQUIREMENTS - Static variable in class org.apache.sling.auth.core.AuthConstants
Any OSGi service may provide a sling.auth.requirements registration property which is used to dynamically extend the authentication requirements from the Authentication Requirements configuration.
AUTH_TYPE - Static variable in class org.apache.sling.auth.core.spi.AuthenticationInfo
The name of the special property providing the authentication type provided by the AuthenticationHandler.
AuthConstants - Class in org.apache.sling.auth.core
The AuthConstants provides a collection of constants used to configure and customize the Sling authentication infrastructure.
authenticate(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.AuthenticationHandler
Deprecated.
Extracts credential data from the request if at all contained.
authenticate(Credentials) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.AuthenticationPlugin
 
AUTHENTICATION_INFO_CREDENTIALS - Static variable in class org.apache.sling.jcr.resource.JcrResourceConstants
The name of the property providing the JCR credentials to be used by the resource resolver factory method instead of the user.name and user.password properties.
AUTHENTICATION_INFO_SESSION - Static variable in class org.apache.sling.jcr.resource.JcrResourceConstants
The name of the authentication info property containing a JCR Session to which a JCR based resource resolver should provide access.
AUTHENTICATION_INFO_WORKSPACE - Static variable in class org.apache.sling.jcr.resource.JcrResourceConstants
The name of the authentication info property containing the workspace name to which the JCR based resource resolver should provide access.
authenticationFailed(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in interface org.apache.sling.auth.core.spi.AuthenticationFeedbackHandler
Called if authentication failed with the credentials provided in the authInfo map.
authenticationFailed(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in class org.apache.sling.auth.core.spi.DefaultAuthenticationFeedbackHandler
This default implementation does nothing.
AuthenticationFeedbackHandler - Interface in org.apache.sling.auth.core.spi
The AuthenticationFeedbackHandler may be implemented by AuthenticationHandler services to request being informed on the success or failure of authentication.
AuthenticationHandler - Interface in org.apache.sling.auth.core.spi
The AuthenticationHandler interface defines the service API used by the authentication implementation to support plugin various ways of extracting credentials from the request.
AuthenticationHandler - Interface in org.apache.sling.engine.auth
Deprecated.
AuthenticationHandler.FAILURE_REASON_CODES - Enum in org.apache.sling.auth.core.spi
This enum indicates the supported detailed login failure reason codes: invalid_login: indicates username/password mismatch.
AuthenticationInfo - Class in org.apache.sling.auth.core.spi
The AuthenticationInfo conveys any authentication credentials and/or details extracted by the AuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method from the request.
AuthenticationInfo(String) - Constructor for class org.apache.sling.auth.core.spi.AuthenticationInfo
Creates an instance of this class with just the authentication type.
AuthenticationInfo(String, String) - Constructor for class org.apache.sling.auth.core.spi.AuthenticationInfo
Creates an instance of this class authenticating with the given type and userid.
AuthenticationInfo(String, String, char[]) - Constructor for class org.apache.sling.auth.core.spi.AuthenticationInfo
Creates an instance of this class authenticating with the given type and userid/password connecting.
AuthenticationInfo - Class in org.apache.sling.engine.auth
Deprecated.
AuthenticationInfo(String, Credentials) - Constructor for class org.apache.sling.engine.auth.AuthenticationInfo
Deprecated.
Creates an instance of this class with the given authentication type and credentials connecting to the default workspace as if the AuthenticationInfo.AuthenticationInfo(String, Credentials, String) method would be called with a null workspace name.
AuthenticationInfo(String, Credentials, String) - Constructor for class org.apache.sling.engine.auth.AuthenticationInfo
Deprecated.
Creates an instance of this class with the given authentication type and credentials.
AuthenticationInfoPostProcessor - Interface in org.apache.sling.auth.core.spi
Service interface which allows bundles to modify the AuthenticationInfo object after authentication has been performed.
AuthenticationPlugin - Interface in org.apache.sling.jcr.jackrabbit.server.security
Provide some of the functionality of the Authentication class without explicitly referencing classes in org.apache.jackrabbit.core.*
authenticationSucceeded(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in interface org.apache.sling.auth.core.spi.AuthenticationFeedbackHandler
Called if authentication succeeded with the credentials provided in the authInfo map.
authenticationSucceeded(HttpServletRequest, HttpServletResponse, AuthenticationInfo) - Method in class org.apache.sling.auth.core.spi.DefaultAuthenticationFeedbackHandler
This default implementation calls the DefaultAuthenticationFeedbackHandler.handleRedirect(HttpServletRequest, HttpServletResponse) method to optionally redirect the request after successful authentication.
AuthenticationSupport - Interface in org.apache.sling.auth.core
The AuthenticationSupport provides the service API used to implement the HttpContext.handleSecurity method as defined in the OSGi Http Service specification.
Authenticator - Interface in org.apache.sling.api.auth
The Authenticator interface defines the service interface which may be used by applications to enforce requests to be authenticated (see Authenticator.login(HttpServletRequest, HttpServletResponse)) or to end enforced authentication (see Authenticator.logout(HttpServletRequest, HttpServletResponse) ).
Authenticator - Interface in org.apache.sling.engine.auth
Deprecated.
AuthorizablePrivilegesInfo - Interface in org.apache.sling.jackrabbit.usermanager
 
AuthUtil - Class in org.apache.sling.auth.core
The AuthUtil provides utility functions for implementations of AuthenticationHandler services and users of the Sling authentication infrastructure.

B

back() - Method in class org.apache.sling.commons.json.JSONTokener
Back up one character.
BANG - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '!'.
BatchResourceRemover(int) - Constructor for class org.apache.sling.api.resource.ResourceUtil.BatchResourceRemover
 
BindingsValuesProvider - Interface in org.apache.sling.scripting.api
Service interface which allows for the Bindings object.
BindingsValuesProvidersByContext - Interface in org.apache.sling.scripting.api
Provides BindingsValuesProvider for specific contexts, based on their "context" service property.
bindLog(LogService) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
bindLog(LogService) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Binds the LogService
bindRepository(String, Repository) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Called to actually register a repository with the registry.
bindRepository(ServiceReference) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Registers the repository identified by the OSGi service reference under the name set as service property.
BND_LAST_MODIFIED - Static variable in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Name of the BND attribute that provides the bundle's last modified timestamp
BND_LAST_MODIFIED_MISSING - Static variable in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Value for BundleVersionInfo.getBundleLastModified() if corresponding header is not present
BUNDLE_START_LEVEL - Static variable in class org.apache.sling.installer.api.InstallableResource
Optional parameter in the dictionary if a bundle is installed.
BundleBundleVersionInfo - Class in org.apache.sling.commons.osgi.bundleversion
BundleVersionInfo based on a Bundle object
BundleBundleVersionInfo(Bundle) - Constructor for class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
bundleContext - Variable in class org.apache.sling.scripting.core.ScriptHelper
The bundle context.
BundleVersionInfo<T> - Class in org.apache.sling.commons.osgi.bundleversion
Provides bundle version information, which can be extracted from bundle files or Bundle objects.
BundleVersionInfo() - Constructor for class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
 

C

call(SlingBindings, String, Object...) - Method in interface org.apache.sling.api.scripting.SlingScript
Evaluates this script using the bound variables as global variables to the script and then calls the given method with the arguments.
canAccess(String) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.WorkspaceAccessManagerPlugin
Determines whether the subject of the current context is granted access to the given workspace.
canAddChildren(Node) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to add children to the specified node.
canAddChildren(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to add children to the specified path.
canAddGroup(Session) - Method in interface org.apache.sling.jackrabbit.usermanager.AuthorizablePrivilegesInfo
Checks whether the current user has been granted privileges to add a new group.
canAddUser(Session) - Method in interface org.apache.sling.jackrabbit.usermanager.AuthorizablePrivilegesInfo
Checks whether the current user has been granted privileges to add a new user.
cancel() - Method in interface org.apache.sling.event.jobs.consumer.JobConsumer.AsyncHandler
 
cancelJob(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated.
cancelJob(String, String) - Method in interface org.apache.sling.event.JobStatusProvider
cancelled() - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext.ResultBuilder
The job processing failed permanently.
cancelled() - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionResult
If this returns true the job processing failed permanently.
cancelTimedEvent(String) - Method in interface org.apache.sling.event.TimedEventStatusProvider
Deprecated.
Cancel this timed event.
canCreate(String, ResourceResolver) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
 
canDelete(Resource) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
 
canDelete(Node) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to delete the specified node.
canDelete(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to delete the specified path.
canDeleteChildren(Node) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to delete children to the specified node.
canDeleteChildren(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to delete children of the specified path.
canDeleteValue(Resource, String) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
 
canExecute(Resource) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
 
canHandle(Credentials) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin
Determine if this LoginModule can process this set of Credentials.
canModifyAccessControl(Node) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to modify the access control of the specified node.
canModifyAccessControl(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to modify the access control of the specified path.
canModifyProperties(Node) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to modify properties of the specified node.
canModifyProperties(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to modify properties of the specified path.
canRead(String) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
Determines whether the item at the specified absolute path can be read.
canReadAccessControl(Node) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to read the access control of the specified node.
canReadAccessControl(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to read the access control of the specified path.
canReadValue(Resource, String) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
 
canRemove(Session, String) - Method in interface org.apache.sling.jackrabbit.usermanager.AuthorizablePrivilegesInfo
Checks whether the current user has been granted privileges to remove the specified user or group.
canRunConcurrently(boolean) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Flag indicating whether the job can be run concurrently.
canSetValue(Resource, String) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
 
canUpdate(Resource) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
 
canUpdateGroupMembers(Session, String) - Method in interface org.apache.sling.jackrabbit.usermanager.AuthorizablePrivilegesInfo
Checks whether the current user has been granted privileges to update the membership of the specified group.
canUpdateProperties(Session, String) - Method in interface org.apache.sling.jackrabbit.usermanager.AuthorizablePrivilegesInfo
Checks whether the current user has been granted privileges to update the properties of the specified user or group.
CDL - Class in org.apache.sling.commons.json.util
This provides static methods to convert comma delimited text into a JSONArray, and to covert a JSONArray into comma delimited text.
CDL() - Constructor for class org.apache.sling.commons.json.util.CDL
 
changePassword(Session, String, String, String, String, List<Modification>) - Method in interface org.apache.sling.jackrabbit.usermanager.ChangeUserPassword
Update the password of a user in the repository
ChangeStateTask - Class in org.apache.sling.installer.api.tasks
Simple general task, setting the state of a registered resource.
ChangeStateTask(TaskResourceGroup, ResourceState) - Constructor for class org.apache.sling.installer.api.tasks.ChangeStateTask
Change the state of the task
ChangeStateTask(TaskResourceGroup, ResourceState, Map<String, Object>, String[]) - Constructor for class org.apache.sling.installer.api.tasks.ChangeStateTask
Change the state of the task
ChangeUserPassword - Interface in org.apache.sling.jackrabbit.usermanager
The ChangeUserPassword service api.
CHARACTER_ENCODING - Static variable in class org.apache.sling.api.resource.ResourceMetadata
The name of the optional property providing the character encoding of the resource if the resource is streamable and contains character data (value is "sling.characterEncoding").
checkoutIfNecessary(Node, List<Modification>, VersioningConfiguration) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
 
checkReferer(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
Check if the request is for this authentication handler.
ChildResource - Annotation Type in org.apache.sling.models.annotations.injectorspecific
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject a child resource
CHUNK_NODE_NAME - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for prefix for sling:chunk node name.
ClassLoaderWriter - Interface in org.apache.sling.commons.classloader
A class loader writer is a service allowing to dynamically generate classes and resources.
CLASSNAME - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
CLASSNAME - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
 
CLASSNAME - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
CLASSNAME - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
CLASSNAME - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
CLASSNAME - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
CLASSNAME - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
 
CLASSNAME - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersionHistory
 
cleanup() - Method in class org.apache.sling.scripting.core.ScriptHelper
Clean up this instance.
clear() - Method in class org.apache.sling.api.resource.ResourceMetadata
 
clear() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
clear() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
clear() - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
Clears all properties from the map with the exception of the AuthenticationInfo.AUTH_TYPE property.
clear() - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
clear() - Method in interface org.apache.sling.event.jobs.Queue
Remove all outstanding jobs from the queue.
clear() - Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
clear() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
clone() - Method in class org.apache.sling.api.resource.ResourceMetadata
 
clone(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns a new ResourceResolver instance based on the given authenticationInfo map and the original authentication info used to create this instance.
clone() - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
close() - Method in interface org.apache.sling.api.resource.DynamicResourceProvider
Close the resource provider.
close() - Method in interface org.apache.sling.api.resource.ResourceResolver
Close this resource resolver.
close() - Method in interface org.apache.sling.engine.RequestLog
Deprecated.
Closes this request log.
close() - Method in interface org.apache.sling.event.JobsIterator
Deprecated.
Releases this iterators resources immediately instead of waiting for this to happen when it is automatically closed.
close() - Method in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
Close this access manager.
close() - Method in class org.apache.sling.scripting.javascript.io.EspReader
Close the EspReader.
ClusterView - Interface in org.apache.sling.discovery
A ClusterView represents the instances of a cluster that are up and running and that all can see each other at a certain point in time.
collectResources() - Method in class org.apache.sling.commons.json.sling.ResourceTraversor
Recursive descent from startResource, collecting JSONObjects into startObject.
commit(ResourceResolver) - Method in interface org.apache.sling.api.resource.ModifyingResourceProvider
Commit all transient changes: create, delete and updates
commit() - Method in interface org.apache.sling.api.resource.ResourceResolver
Persist all pending changes.
compareTo(BundleVersionInfo<?>) - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Compare based on bundle version info, and for snapshots based on BundleVersionInfo.getBundleLastModified()
compareTo(InstallTask) - Method in class org.apache.sling.installer.api.tasks.InstallTask
All comparisons are based on getSortKey().
CompilationResult - Interface in org.apache.sling.commons.compiler
The compilation result allows clients of the java compiler to check for error messages, warnings (if not disabled by the options) and allows to access the compiled classes.
CompilationUnit - Interface in org.apache.sling.commons.compiler
This interface describes a compilation unit - usually a java class.
CompilationUnitWithSource - Interface in org.apache.sling.commons.compiler
Extension of the CompilationUnit interface which allows for the explicit declaration of the source file name.
compile(CompilationUnit[], Options) - Method in interface org.apache.sling.commons.compiler.JavaCompiler
Compile the compilation units.
CompilerMessage - Class in org.apache.sling.commons.compiler
This class encapsulates a message produced the compiler.
CompilerMessage(String, int, int, String) - Constructor for class org.apache.sling.commons.compiler.CompilerMessage
The error message constructor.
CompositeValueMap - Class in org.apache.sling.api.wrappers
An implementation of the ValueMap based on two ValueMaps: - One containing the properties - Another one containing the defaults to use in case the properties map does not contain the values.
CompositeValueMap(ValueMap, ValueMap) - Constructor for class org.apache.sling.api.wrappers.CompositeValueMap
Constructor
CompositeValueMap(ValueMap, ValueMap, boolean) - Constructor for class org.apache.sling.api.wrappers.CompositeValueMap
Constructor
config(Map<String, Serializable>) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Add optional configuration for the job.
ConfigProvider - Interface in org.apache.sling.commons.log.logback
Provides source for Logback configuration fragment.
ConfigurationConstants - Class in org.apache.sling.installer.factories.configuration
 
ConfigurationConstants() - Constructor for class org.apache.sling.installer.factories.configuration.ConfigurationConstants
 
containsKey(Object) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
containsKey(Object) - Method in class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
 
containsKey(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
containsKey(Object) - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
containsKey(Object) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
containsValue(Object) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
containsValue(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
containsValue(Object) - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
containsValue(Object) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
CONTENT_LENGTH - Static variable in class org.apache.sling.api.resource.ResourceMetadata
The name of the optional property providing the content length of the resource if the resource is streamable (value is "sling.contentLength").
CONTENT_TYPE - Static variable in class org.apache.sling.api.resource.ResourceMetadata
The name of the optional property providing the content type of the resource if the resource is streamable (value is "sling.contentType").
ContentImporter - Interface in org.apache.sling.jcr.contentloader
The ContentImporter service
ContentImportListener - Interface in org.apache.sling.jcr.contentloader
Listener interface to provide callbacks for all imported updates for interested parties.
CONTEXT - Static variable in interface org.apache.sling.api.security.ResourceAccessSecurity
The name of the service registration property containing the context of this service.
CONTEXT - Static variable in interface org.apache.sling.scripting.api.BindingsValuesProvider
The name of the multi-value service property that defines the context(s) to which a BindingsValuesProvider applies.
Cookie - Class in org.apache.sling.commons.json.http
Convert a web browser cookie specification to a JSONObject and back.
Cookie() - Constructor for class org.apache.sling.commons.json.http.Cookie
 
CookieList - Class in org.apache.sling.commons.json.http
Convert a web browser cookie list string to a JSONObject and back.
CookieList() - Constructor for class org.apache.sling.commons.json.http.CookieList
 
create(ResourceResolver, String, Map<String, Object>) - Method in interface org.apache.sling.api.resource.ModifyingResourceProvider
Create a new resource at the given path.
create(Resource, String, Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceResolver
Add a child resource to the given parent resource
create(Resource, int) - Static method in class org.apache.sling.commons.json.sling.JsonObjectCreator
Dump given resource in JSON, optionally recursing into its objects
create(ThreadPoolConfig) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
Create a new thread pool with this configuration.
create(ThreadPoolConfig, String) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
Create a new thread pool with this configuration.
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.
createAnnotationProcessor(Object, AnnotatedElement) - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessorFactory
 
createBindings() - Method in class org.apache.sling.scripting.api.AbstractSlingScriptEngine
 
createDistributableEvent(String, Dictionary<String, Object>) - Static method in class org.apache.sling.event.EventUtil
Create a distributable event.
createEvent(Bundle, ServiceReference, String, Map<String, Object>) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Create an osgi event with the given topic and properties.
CreateGroup - Interface in org.apache.sling.jackrabbit.usermanager
The CreateGroup service api.
createGroup(Session, String, Map<String, ?>, List<Modification>) - Method in interface org.apache.sling.jackrabbit.usermanager.CreateGroup
Create a new group for the repository
createHtmlResponse(SlingHttpServletRequest) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
Creates an instance of a HtmlResponse.
createJob(String) - Method in interface org.apache.sling.event.jobs.JobManager
Fluent API to create, start and schedule new jobs
createPath(String, String, String, Session, boolean) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Creates or gets the Node at the given Path.
createPath(Node, String, String, String, boolean) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Creates or gets the Node at the given Path.
createPostResponse(SlingHttpServletRequest) - Method in interface org.apache.sling.servlets.post.PostResponseCreator
 
createPostResponse(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.PostResponseWithErrorHandling
 
createProxy(Session) - Method in class org.apache.sling.jcr.base.SessionProxyHandler
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.
createTask(TaskResourceGroup) - Method in interface org.apache.sling.installer.api.tasks.InstallTaskFactory
Creates an InstallTask for the resource or null if the factory does not support the resource.
createUniqueChildName(Resource, String) - Static method in class org.apache.sling.api.resource.ResourceUtil
Create a unique name for a child of the parent.
CreateUser - Interface in org.apache.sling.jackrabbit.usermanager
The CreateUser service api.
createUser(Session, String, String, String, Map<String, ?>, List<Modification>) - Method in interface org.apache.sling.jackrabbit.usermanager.CreateUser
Create a new user for the repository
createValue(Object, Session) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Creates a JCR Value for the given object with the given Session.
CREATION_TIME - Static variable in class org.apache.sling.api.resource.ResourceMetadata
Returns the creation time of this resource in the repository in milliseconds (value is "sling.creationTime").
CRLF - Static variable in class org.apache.sling.commons.json.http.HTTP
Carriage return/line feed.
cron(String) - Method in interface org.apache.sling.event.jobs.JobBuilder.ScheduleBuilder
Schedule the job for according to the cron expression.
CUSTOM_FORM_PATH - Static variable in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
The path to the custom login form.

D

daily(int, int) - Method in interface org.apache.sling.event.jobs.JobBuilder.ScheduleBuilder
Schedule the job daily at the given time.
DATE_FORMAT_LOCALE - Static variable in class org.apache.sling.commons.json.jcr.JsonItemWriter
Used to format date values
deactivate(ComponentContext) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
This method must be called if overwritten by implementations !!
deactivate(ComponentContext) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Deactivates this component thread-safely as follows: Unregister repositores still bound calling AbstractRegistrationSupport.unbindRepository(String, Object) for each such repository.
decorate(Resource) - Method in interface org.apache.sling.api.resource.ResourceDecorator
Decorate a resource.
decorate(Resource, HttpServletRequest) - Method in interface org.apache.sling.api.resource.ResourceDecorator
Deprecated.
since 2.3.0 (and JCR Resource 2.1.0), this method will not be invoked.
DeepReadModifiableValueMapDecorator - Class in org.apache.sling.api.wrappers
A value map wrapper which implements deep reading of properties based on the resource tree and also supports ModifiableValueMap.
DeepReadModifiableValueMapDecorator(Resource, ValueMap) - Constructor for class org.apache.sling.api.wrappers.DeepReadModifiableValueMapDecorator
 
DeepReadValueMapDecorator - Class in org.apache.sling.api.wrappers
A value map wrapper which implements deep reading of properties based on the resource tree.
DeepReadValueMapDecorator(Resource, ValueMap) - Constructor for class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
 
Default - Annotation Type in org.apache.sling.models.annotations
Default value for an injection.
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_CHILD_NAME_KEY - Static variable in class org.apache.sling.commons.json.io.JSONRenderer.Options
 
DEFAULT_CHILDREN_KEY - Static variable in class org.apache.sling.commons.json.io.JSONRenderer.Options
 
DEFAULT_CONTEXT - Static variable in interface org.apache.sling.scripting.api.BindingsValuesProvider
The default value of the CONTEXT service property, used for compatibility with previous versions of this bundle that didn't require it.
DEFAULT_CREATE_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
The suffix to the resource path used to indicate to automatically generate the name of the new item to create during a content creation request (value is "/").
DEFAULT_FORM_PATH - Static variable in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
The path to the default login form.
DEFAULT_LOGIN_ADMIN_ENABLED - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
DEFAULT_OUT_INIT_STATEMENT - Static variable in class org.apache.sling.scripting.javascript.io.EspReader
Javascript statement that sets the "out" variable that's used to output data.
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).
DEFAULT_PRIORITY - Static variable in class org.apache.sling.installer.api.InstallableResource
Default resource priority
DEFAULT_THREADPOOL_NAME - Static variable in interface org.apache.sling.commons.threads.ThreadPoolManager
The default thread pool name
DEFAULT_VALUE_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating a default value for a property (value is "@DefaultValue").
DefaultAuthenticationFeedbackHandler - Class in org.apache.sling.auth.core.spi
 
DefaultAuthenticationFeedbackHandler() - Constructor for class org.apache.sling.auth.core.spi.DefaultAuthenticationFeedbackHandler
 
DefaultInjectionStrategy - Enum in org.apache.sling.models.annotations
 
defineNamespacePrefixes(Session) - Method in interface org.apache.sling.jcr.api.NamespaceMapper
This method is invoked whenever a new session is created.
dehexchar(char) - Static method in class org.apache.sling.commons.json.JSONTokener
Get the hex value of a character (base16).
delete(ResourceResolver, String) - Method in interface org.apache.sling.api.resource.ModifyingResourceProvider
Delete the resource at the given path.
delete(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
Delete the resource Deleting a non existing resource leads to no operation nor exception.
delete(Resource) - Method in class org.apache.sling.api.resource.ResourceUtil.BatchResourceRemover
 
delete(String) - Method in interface org.apache.sling.commons.classloader.ClassLoaderWriter
Delete the class/resource
DeleteAces - Interface in org.apache.sling.jcr.jackrabbit.accessmanager
The DeleteAces service api.
deleteAces(Session, String, String[]) - Method in interface org.apache.sling.jcr.jackrabbit.accessmanager.DeleteAces
Deletes one or more ACEs from the access control list of a resource.
deleteAces(Session, String, String[]) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.DeleteAcesServlet
 
DeleteAcesServlet - Class in org.apache.sling.jcr.jackrabbit.accessmanager.post
Sling Post Servlet implementation for deleting the ACE for a set of principals on a JCR resource.
DeleteAcesServlet() - Constructor for class org.apache.sling.jcr.jackrabbit.accessmanager.post.DeleteAcesServlet
 
DeleteAuthorizables - Interface in org.apache.sling.jackrabbit.usermanager
The DeleteAuthorizables service api.
deleteAuthorizables(Session, Resource, String[], List<Modification>) - Method in interface org.apache.sling.jackrabbit.usermanager.DeleteAuthorizables
Deletes one or more users or groups from the repository
DeleteGroup - Interface in org.apache.sling.jackrabbit.usermanager
The DeleteGroup service api.
deleteGroup(Session, String, List<Modification>) - Method in interface org.apache.sling.jackrabbit.usermanager.DeleteGroup
Deletes a group from the repository
DeleteUser - Interface in org.apache.sling.jackrabbit.usermanager
The DeleteUser service api.
deleteUser(Session, String, List<Modification>) - Method in interface org.apache.sling.jackrabbit.usermanager.DeleteUser
Deletes a user from the repository
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.
didCompile() - Method in interface org.apache.sling.commons.compiler.CompilationResult
Was a compilation required or were all classes recent?
DiscoveryService - Interface in org.apache.sling.discovery
The discovery service can be used to get the current topology view.
DisposalCallback - Interface in org.apache.sling.models.spi
Callback interface which can be implemented by Injectors to perform some action when a created object is destroyed.
DisposalCallbackRegistry - Interface in org.apache.sling.models.spi
Interface which allows for the registration of DisposalCallback listeners.
dispose() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Deprecated.
This method is deprecated since version 2.1 and will be removed. It should never be called by clients.
dispose() - Method in class org.apache.sling.scripting.core.ScriptHelper
Deprecated.
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.
doActivate() - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Performs additional activation tasks.
doDeactivate() - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Performs additional deactivation tasks.
doDelete(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
doGeneric(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Called by the SlingSafeMethodsServlet.service(SlingHttpServletRequest, SlingHttpServletResponse) method to handle a request for an HTTP method, which is not known and handled by this class or its extension.
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
Prepares and returns the login form.
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractGetAclServlet
 
doHead(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Handles the HEAD method.
DOING_AUTH - Static variable in class org.apache.sling.auth.core.spi.AuthenticationInfo
A special instance of this class which may be returned from the AuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method to inform the caller, that a response has been sent to the client to request for credentials.
DOING_AUTH - Static variable in class org.apache.sling.engine.auth.AuthenticationInfo
Deprecated.
This object is returned by the AuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method to indicate an ongoing authentication transaction.
doInit(CallbackHandler, Session, Map) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin
 
done() - Method in interface org.apache.sling.api.request.RequestProgressTracker
Call this when done processing the request - only the first call of this method is processed, all further calls to this method are ignored.
doOptions(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Handles the OPTIONS method by setting the HTTP Allow header on the response depending on the methods declared in this class.
doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
Prepares and returns the login form.
doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
 
doPut(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Actually performs the desired operation filling progress into the changes list and preparing and further information in the response.
doRun(SlingHttpServletRequest, HtmlResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Deprecated.
 
doRun(SlingHttpServletRequest, PostResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Deprecated.
doSend(HttpServletResponse) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
 
doSend(HttpServletResponse) - Method in class org.apache.sling.servlets.post.HtmlResponse
Writes the response to the given writer and replaces all ${var} patterns by the value of the respective property.
doSend(HttpServletResponse) - Method in class org.apache.sling.servlets.post.JSONResponse
 
doTrace(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Handles the TRACE method by just returning the list of all header values in the response body.
doubleToString(double) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Produce a string from a double.
doubleToString(double) - Static method in class org.apache.sling.commons.json.JSONObject
Produce a string from a double using JSONRenderer.doubleToString(double)
dropCredentials(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.AuthenticationHandler
Drops any credential and authentication details from the request and asks the client to do the same.
dump(PrintWriter) - Method in interface org.apache.sling.api.request.RequestProgressTracker
Dumps the process timer entries to the given writer, one entry per line.
dump(NodeIterator, Writer) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Dump all Nodes of given NodeIterator in JSON
dump(Node, Writer, int) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Dump given node in JSON, optionally recursing into its child nodes
dump(Node, Writer, int, boolean) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Dump given node in JSON, optionally recursing into its child nodes
dump(Property, Writer) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Dump given property in JSON
dump(Node, JSONWriter, int, int) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Dump given node in JSON, optionally recursing into its child nodes
dumpSingleNode(Node, JSONWriter, int, int) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Dump a single node
dumpValue(JSONWriter, Value) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Writes the given value to the JSON writer.
DynamicClassLoader - Interface in org.apache.sling.commons.classloader
A dynamic class loader is a class loader which might get invalid over time.
DynamicClassLoaderManager - Interface in org.apache.sling.commons.classloader
The dynamic class loader manager is a central service managing all dynamic class loaders.
DynamicClassLoaderProvider - Interface in org.apache.sling.commons.classloader
Deprecated.
The dynamic class loader provider is not supported anymore and any service implementing this is not considered for dynamic class loading anymore!
DynamicResourceProvider - Interface in org.apache.sling.api.resource
A dynamic resource provider is an extension of a resource provider which is only supported if the resource provider has been created through a ResourceProviderFactory.

E

ECMA_DATE_FORMAT - Static variable in class org.apache.sling.commons.json.jcr.JsonItemWriter
Used to format date values
elements() - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
EMPTY - Static variable in interface org.apache.sling.api.resource.ValueMap
Empty immutable value map.
endArray() - Method in class org.apache.sling.commons.json.io.JSONWriter
End an array.
endObject() - Method in class org.apache.sling.commons.json.io.JSONWriter
End an object.
EngineConstants - Class in org.apache.sling.engine
The CoreConstants interface provides some symbolic constants for well known constant strings in Sling.
EngineConstants() - Constructor for class org.apache.sling.engine.EngineConstants
 
entity - Static variable in class org.apache.sling.commons.json.xml.XMLTokener
The table of entity values.
Entry(Resource, JSONObject) - Constructor for class org.apache.sling.commons.json.sling.ResourceTraversor.Entry
 
entrySet() - Method in class org.apache.sling.api.resource.ResourceMetadata
 
entrySet() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
entrySet() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
entrySet() - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
entrySet() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
EQ - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '='.
equals(Object) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
equals(Object) - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
equals(Object) - Method in class org.apache.sling.installer.api.tasks.InstallTask
 
equivalentValues(Object) - Method in class org.apache.sling.scripting.javascript.helper.ModuleObject
 
ERROR_EXCEPTION - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the exception thrown causing the error handler to be called (value is "javax.servlet.error.exception").
ERROR_EXCEPTION_TYPE - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the fully qualified class name of the exception thrown causing the error handler to be called (value is "javax.servlet.error.exception_type").
ERROR_MESSAGE - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the message of the error situation (value is "javax.servlet.error.message").
ERROR_REQUEST_URI - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the URL requested by the client during whose processing the error handling was caused (value is "javax.servlet.error.request_uri").
ERROR_SERVLET_NAME - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the name of the servlet which caused the error handling (value is "javax.servlet.error.servlet_name").
ERROR_STATUS - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute containing the status code sent to the client (value is "javax.servlet.error.status_code").
ErrorHandler - Interface in org.apache.sling.engine.servlets
The ErrorHandler defines the interface of the service used by the Sling to handle calls to HttpServletResponse.sendError and to handle uncaught Throwables.
escape(String) - Static method in class org.apache.sling.commons.json.http.Cookie
Produce a copy of a string in which the characters '+', '%', '=', ';' and control characters are replaced with "%hh".
escape(String) - Static method in class org.apache.sling.commons.json.xml.XML
Replace special characters with XML escapes:
escapeKeyName(String) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
Handles key name escaping by taking into consideration if it contains a registered prefix
escapeXml(String) - Static method in class org.apache.sling.api.request.ResponseUtil
Escape xml text
escapeXml(String) - Static method in class org.apache.sling.engine.ResponseUtil
Deprecated.
Escape xml text
EspReader - Class in org.apache.sling.scripting.javascript.io
The EspReader is a FilterReader which takes JSP like input and produces plain ECMA script output.
EspReader(Reader) - Constructor for class org.apache.sling.scripting.javascript.io.EspReader
Create an EspReader on top of the given baseReader.
eval(SlingBindings) - Method in interface org.apache.sling.api.scripting.SlingScript
Evaluates this script using the bound variables as global variables to the script.
eval(String, ScriptContext) - Method in class org.apache.sling.scripting.api.AbstractSlingScriptEngine
 
EventPropertiesMap - Class in org.apache.sling.event
Deprecated.
EventAdmin supports creating events with maps now as well.
EventPropertiesMap(Event) - Constructor for class org.apache.sling.event.EventPropertiesMap
Deprecated.
Construct a new map out of an event object.
EventPropertiesMap(Map<String, Object>) - Constructor for class org.apache.sling.event.EventPropertiesMap
Deprecated.
Construct a new map out of another map.
EventPropertiesMap() - Constructor for class org.apache.sling.event.EventPropertiesMap
Deprecated.
Construct a new map.
EventUtil - Class in org.apache.sling.event
The EventUtil class is an utility class for clustered environments.
EventUtil() - Constructor for class org.apache.sling.event.EventUtil
 
EventUtil.JobPriority - Enum in org.apache.sling.event
Deprecated.
Use JobUtil.JobPriority
execIdCall(IdFunctionObject, Context, Scriptable, Scriptable, Object[]) - Method in class org.apache.sling.scripting.javascript.helper.SlingGlobal
 
execute(JobContext) - Method in interface org.apache.sling.commons.scheduler.Job
Execute this job.
execute(Runnable) - Method in interface org.apache.sling.commons.threads.ThreadPool
Execute a runnable
execute(InstallationContext) - Method in class org.apache.sling.installer.api.tasks.ChangeStateTask
 
execute(InstallationContext) - Method in class org.apache.sling.installer.api.tasks.InstallTask
This is the heart of the task - it performs the actual task.
exitDebugger() - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
ExportsObject - Class in org.apache.sling.scripting.javascript.helper
 
ExportsObject(Scriptable) - Constructor for class org.apache.sling.scripting.javascript.helper.ExportsObject
 
EXPR(String) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Create a schedule options to schedule the job based on the expression
externalizePath(SlingHttpServletRequest, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
Returns an external form of the given path prepending the context path and appending a display extension.
externalizePath(SlingHttpServletRequest, String) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Returns an external form of the given path prepending the context path and appending a display extension.
extractCredentials(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.AuthenticationHandler
Extracts credential data from the request if at all contained.

F

FAIL_AUTH - Static variable in class org.apache.sling.auth.core.spi.AuthenticationInfo
A special instance of this class which may be returned from the AuthenticationHandler.extractCredentials(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method to inform the caller that credential extraction failed for some reason.
failed() - Method in interface org.apache.sling.event.jobs.consumer.JobConsumer.AsyncHandler
 
failed() - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext.ResultBuilder
The job processing failed and might be retried.
failed(long) - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext.ResultBuilder
The job processing failed and might be retried.
failed() - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionResult
If this returns true the job processing failed but might be retried..
FAILURE_REASON - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
Name of the request attribute which may be set by the AuthenticationHandler.extractCredentials(HttpServletRequest, HttpServletResponse) method if AuthenticationInfo.FAIL_AUTH is returned.
FAILURE_REASON_CODE - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
Name of the request attribute which may be set by the AuthenticationHandler.extractCredentials(HttpServletRequest, HttpServletResponse) method if AuthenticationInfo.FAIL_AUTH is returned.
FileBundleVersionInfo - Class in org.apache.sling.commons.osgi.bundleversion
BundleVersionInfo based on a bundle jar file
FileBundleVersionInfo(File) - Constructor for class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
Filter - Annotation Type in org.apache.sling.models.annotations
Provide a filter on an @Inject.
FILTER_NAME - Static variable in class org.apache.sling.engine.EngineConstants
The name of the service to be used for registering filters with the SlingRequestProcessor.
FILTER_ORDER - Static variable in class org.apache.sling.engine.EngineConstants
Deprecated.
Use "service.ranking" (org.osgi.framework.Constants.SERVICE_RANKING) instead
FILTER_SCOPE - Static variable in class org.apache.sling.engine.EngineConstants
Deprecated.
FILTER_SCOPE_COMPONENT - Static variable in class org.apache.sling.engine.EngineConstants
Filter scope value identifying a component level filter.
FILTER_SCOPE_ERROR - Static variable in class org.apache.sling.engine.EngineConstants
Filter scope value identifying an error level filter.
FILTER_SCOPE_FORWARD - Static variable in class org.apache.sling.engine.EngineConstants
Filter scope value identifying a forward level filter.
FILTER_SCOPE_INCLUDE - Static variable in class org.apache.sling.engine.EngineConstants
Filter scope value identifying an include level filter.
FILTER_SCOPE_REQUEST - Static variable in class org.apache.sling.engine.EngineConstants
Filter scope value identifying a request level filter.
findInstances(InstanceFilter) - Method in interface org.apache.sling.discovery.TopologyView
Searches through this topology and picks those accepted by the provided InstanceFilter - and returns them without any particular order
findJob(String, Map<String, Object>) - Method in interface org.apache.sling.event.jobs.JobManager
findJobs(JobManager.QueryType, String, long, Map<String, Object>...) - Method in interface org.apache.sling.event.jobs.JobManager
Return all jobs of a given type.
findResources(ResourceResolver, String, String) - Method in interface org.apache.sling.api.resource.QueriableResourceProvider
Searches for resources using the given query formulated in the given language.
findResources(String, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Searches for resources using the given query formulated in the given language.
findResourceSuperType(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
findScript(ResourceResolver, String) - Method in interface org.apache.sling.api.scripting.SlingScriptResolver
Deprecated.
Finds the SlingScript for the given name.
findVersionableAncestor(Node) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
 
finishedJob(Event) - Static method in class org.apache.sling.event.EventUtil
Deprecated.
finishedJob(Event) - Static method in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new JobConsumer interface instead.
fireJob(Object, Map<String, Serializable>) - Method in interface org.apache.sling.commons.scheduler.Scheduler
fireJob(Object, Map<String, Serializable>, int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
fireJobAt(String, Object, Map<String, Serializable>, Date) - Method in interface org.apache.sling.commons.scheduler.Scheduler
fireJobAt(String, Object, Map<String, Serializable>, Date, int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
FLUSH - Static variable in class org.apache.sling.api.scripting.SlingBindings
The name of the global scripting variable indicating whether the output used by the script should be flushed after the script evaluation ended normally (value is "flush").
forceRemoveJob(String) - Method in interface org.apache.sling.event.jobs.JobManager
forceRemoveJob(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated.
Cancel this job.
forceRemoveJob(String, String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated.
Cancel this job.
format(Calendar) - Static method in class org.apache.sling.commons.json.jcr.JsonItemWriter
 
FormReason - Enum in org.apache.sling.auth.form
 
forward(String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
forward(String, String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Helper method to forward the request to a Servlet or script for the given path and requestDispatcherOptions.
forward(String, RequestDispatcherOptions) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Helper method to forward the request to a Servlet or script for the given path and options.
forward(Resource) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
forward(Resource, String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Helper method to forward the request to a Servlet or script for the given resource and requestDispatcherOptions.
forward(Resource, RequestDispatcherOptions) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Helper method to forward the request to a Servlet or script for the given resource and options.
forward(String) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
forward(String, String) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
forward(String, RequestDispatcherOptions) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
forward(Resource) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
forward(Resource, String) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
forward(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.scripting.core.ScriptHelper
 

G

get() - Method in interface org.apache.sling.api.request.RequestParameter
Returns the contents of the parameter as an array of bytes.
get(String, Class<T>) - Method in interface org.apache.sling.api.resource.ValueMap
Get a named property and convert it into the given type.
get(String, T) - Method in interface org.apache.sling.api.resource.ValueMap
Get a named property and convert it into the given type.
get(String, Class<ObjectType>) - Method in class org.apache.sling.api.scripting.SlingBindings
Helper method to get an object with a given type from this map.
get(String, Class<T>) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
Get a named property and convert it into the given type.
get(String, T) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
Get a named property and convert it into the given type.
get(Object) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
get(String, Class<T>) - Method in class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
 
get(String, T) - Method in class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
 
get(Object) - Method in class org.apache.sling.api.wrappers.DeepReadValueMapDecorator
 
get(String, Class<T>) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
Get a named property and convert it into the given type.
get(String, T) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
Get a named property and convert it into the given type.
get(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
get(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the object value associated with an index.
get(String) - Method in class org.apache.sling.commons.json.JSONObject
Get the value object associated with a key.
get(String) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
Get a thread pool.
get(Object) - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
get(String, Class<T>) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
get(String, T) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
get(Object) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
get(String, Scriptable) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
get(int, Scriptable) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
 
get(String, Scriptable) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
 
get(String, Scriptable) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
Gets the value of a (Javascript) property or child node.
get(String, Scriptable) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
getAbsolutePathWithinSlingHome(String) - Method in interface org.apache.sling.settings.SlingSettingsService
Utility method to generate an absolute path within Sling Home.
getAccessControlEntries(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractGetAclServlet
 
getAccessControlEntries(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.GetAclServlet
 
getAccessControlEntries(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.GetEffectiveAclServlet
 
getAccessControlList(AccessControlManager, String, boolean) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
Returns an AccessControlList to edit for the node at the given resourcePath.
getAccessControlManager(Session) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns the AccessControlManager for the given session.
getAccessManager() - Method in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPluginFactory
 
GetAcl - Interface in org.apache.sling.jcr.jackrabbit.accessmanager
The GetAcl service api.
getAcl(Session, String) - Method in interface org.apache.sling.jcr.jackrabbit.accessmanager.GetAcl
Gets the access control list for a resource.
getAcl(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.GetAclServlet
 
GetAclServlet - Class in org.apache.sling.jcr.jackrabbit.accessmanager.post
Sling GET servlet implementation for dumping the declared ACL of a resource to JSON.
GetAclServlet() - Constructor for class org.apache.sling.jcr.jackrabbit.accessmanager.post.GetAclServlet
 
getActiveResource() - Method in interface org.apache.sling.installer.api.tasks.TaskResourceGroup
Return the first resource if it either needs to be installed or uninstalled.
getActiveResourceCount() - Method in interface org.apache.sling.installer.api.jmx.InstallerMBean
Count of Active resource groups.
getActiveResources() - Method in interface org.apache.sling.installer.api.info.InstallationState
Active resource groups These resource groups are currently in processing.
getAdapter(Object, Class<AdapterType>) - Method in interface org.apache.sling.api.adapter.AdapterFactory
Adapt the given object to the adaptable type.
getAdapter(Object, Class<AdapterType>) - Method in interface org.apache.sling.api.adapter.AdapterManager
Returns an adapter object of the requested AdapterType for the given adaptable object.
getAddSelectors() - Method in class org.apache.sling.api.request.RequestDispatcherOptions
Returns the RequestDispatcherOptions.OPT_ADD_SELECTORS option or null if not set.
getAdministrativeCredentials(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
getAdministrativeResourceProvider(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceProviderFactory
Deprecated.
as of 2.4 (bundle version 2.5.0) because of inherent security issues. Implementations may implement this method at their discretion but must support the new service based resource provider generation in the ResourceProviderFactory.getResourceProvider(Map) method honoring the ResourceProviderFactory.SERVICE_BUNDLE and ResourceResolverFactory.SUBSERVICE properties.
getAdministrativeResourceResolver(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceResolverFactory
Deprecated.
as of 2.4 (bundle version 2.5.0) because of inherent security issues. Services requiring specific permissions should use the ResourceResolverFactory.getServiceResourceResolver(Map) instead.
getAlias() - Method in interface org.apache.sling.installer.api.info.ResourceGroup
Get the current alias for this group.
getAlias() - Method in interface org.apache.sling.installer.api.tasks.TaskResourceGroup
Get the current alias for this group.
getAllJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
getAllowedRequestMethods(Map<String, Method>) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
Helper method called by SlingSafeMethodsServlet.doOptions(SlingHttpServletRequest, SlingHttpServletResponse) to calculate the value of the Allow header sent as the response to the HTTP OPTIONS request.
getAllowedRequestMethods(Map<String, Method>) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Helper method called by SlingSafeMethodsServlet.doOptions(SlingHttpServletRequest, SlingHttpServletResponse) to calculate the value of the Allow header sent as the response to the HTTP OPTIONS request.
getAnonCredentials(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
getApplicationId(Event) - Static method in class org.apache.sling.event.EventUtil
Return the application id the event was created at.
getApplicationIds() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Deprecated.
This information is not used anymore
getApplyToResources(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Returns an iterator on Resource instances addressed in the SlingPostConstants.RP_APPLY_TO request parameter.
getAt() - Method in interface org.apache.sling.event.jobs.ScheduleInfo
Return the scheduled execution date for a schedule of type date.
getAttribute(ResourceResolver, String) - Method in interface org.apache.sling.api.resource.AttributableResourceProvider
Returns the value of the given resource provider attribute or null if the attribute is not set or not visible (as e.g.
getAttribute(String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns the value of the given resource resolver attribute or null if the attribute is not set (or not visible as is the case of the ResourceResolverFactory.PASSWORD or other security sensitive attributes).
getAttribute(String) - Method in interface org.apache.sling.installer.api.info.Resource
Get the value of an attribute.
getAttribute(String) - Method in interface org.apache.sling.installer.api.tasks.TaskResource
Get the value of an attribute.
getAttributeNames(ResourceResolver) - Method in interface org.apache.sling.api.resource.AttributableResourceProvider
Returns a collection of attribute names whose value can be retrieved calling the AttributableResourceProvider.getAttribute(ResourceResolver, String) method.
getAttributeNames() - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns an iterator of attribute names whose value can be retrieved calling the ResourceResolver.getAttribute(String) method.
getAttributeOrParameter(HttpServletRequest, String, String) - Static method in class org.apache.sling.auth.core.AuthUtil
Returns the value of the named request attribute or parameter as a string as follows: If there is a request attribute of that name, which is a non-empty string, it is returned.If there is a non-empty request parameter of that name, this parameter is returned.
getAttributeOrParameter(HttpServletRequest, String, String) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
getAttributes() - Method in interface org.apache.sling.commons.osgi.ManifestHeader.Entry
The attributes specified for this entry.
getAttributes() - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
getAttributes() - Method in class org.apache.sling.installer.api.tasks.TransformationResult
Attributes include the bundle symbolic name, bundle version, etc.
getAttributeValue(String) - Method in interface org.apache.sling.commons.osgi.ManifestHeader.Entry
 
getAttributeValue(String) - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
getAuthentication(Principal, Credentials) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin
Return a PluggableAuthentication object that can authenticate the give Principal and Credentials.
getAuthType() - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
Returns the authentication type stored as the AuthenticationInfo.AUTH_TYPE property in this map.
getAuthType() - Method in class org.apache.sling.engine.auth.AuthenticationInfo
Deprecated.
Returns type of authentication provisioning.
getAverageProcessingTime() - Method in interface org.apache.sling.event.jobs.Statistics
The average processing time of a job - this only counts finished jobs.
getAverageProcessingTime() - Method in interface org.apache.sling.event.jobs.TopicStatistics
The average processing time of a job - this only counts finished jobs.
getAverageWaitingTime() - Method in interface org.apache.sling.event.jobs.Statistics
The average waiting time of a job in the queue.
getAverageWaitingTime() - Method in interface org.apache.sling.event.jobs.TopicStatistics
The average waiting time of a job in the queue.
getBatchResourceRemover(int) - Static method in class org.apache.sling.api.resource.ResourceUtil
Create a batch resource remover.
getBindingsValuesProviders(ScriptEngineFactory, String) - Method in interface org.apache.sling.scripting.api.BindingsValuesProvidersByContext
Retrieve the current BindingsValuesProvider for the supplied ScriptEngineFactory and context.
getBlockPolicy() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Retrieve the block policy of the thread pool.
getBlockPolicy() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
getBlockPolicy() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return the block policy.
getBoolean(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the boolean value associated with an index.
getBoolean(String) - Method in class org.apache.sling.commons.json.JSONObject
Get the boolean value associated with a key.
getBundleLastModified() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
getBundleLastModified() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Return the bundle last modification time, based on the BND_LAST_MODIFIED manifest header, if available.
getBundleLastModified() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
getBundleSymbolicName() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
getBundleSymbolicName() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Return the bundle symbolic name, null if not available
getBundleSymbolicName() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
getCharacterEncoding() - Method in class org.apache.sling.api.resource.ResourceMetadata
Returns the ResourceMetadata.CHARACTER_ENCODING property if not null and a String instance.
getChild(String) - Method in class org.apache.sling.api.resource.AbstractResource
Returns the indicated child of this resource.
getChild(String) - Method in interface org.apache.sling.api.resource.Resource
Returns the child at the given relative path of this resource or null if no such child exists.
getChild(String) - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling getChild on the wrapped resource.
getChildren() - Method in class org.apache.sling.api.resource.AbstractResource
 
getChildren() - Method in interface org.apache.sling.api.resource.Resource
Returns an iterable of the direct children of this resource.
getChildren(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns an Iterable of Resource objects loaded from the children of the given Resource.
getChildren() - Method in class org.apache.sling.api.resource.ResourceWrapper
 
getClassLoader() - Method in interface org.apache.sling.commons.classloader.ClassLoaderWriter
Get a dynamic class loader.
getClassLoader(ClassLoader) - Method in interface org.apache.sling.commons.classloader.DynamicClassLoaderProvider
Deprecated.
Return the class loader used for dynamic class loading.
getClassName() - Method in interface org.apache.sling.scripting.javascript.SlingWrapper
The name of the JavaScript host object "class"
getClassName() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
getClassName() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
 
getClassName() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
getClassName() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
getClassName() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
getClassName() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
getClassName() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
 
getClassName() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersionHistory
 
getClientRepositoryFactory() - Method in class org.apache.sling.jcr.base.util.RepositoryAccessor
Returns the ClientRepositoryFactory to access the remote JCR repository over RMI.
getClusterView() - Method in interface org.apache.sling.discovery.InstanceDescription
Returns the ClusterView of which this instance is part of.
getClusterViews() - Method in interface org.apache.sling.discovery.TopologyView
Provides the collection of ClusterViews.
getColumn() - Method in class org.apache.sling.commons.compiler.CompilerMessage
Return the column number of the program text originating this message
getComparableForServiceRanking(Map<String, Object>) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Create a comparable object out of the service properties.
getComparableForServiceRanking(Map<String, Object>) - Static method in class org.apache.sling.commons.osgi.ServiceUtil
Create a comparable object out of the service properties.
getComponentContext() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
getComponentContext() - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Returns the OSGi ComponentContext of this component.
getConfigSource() - Method in interface org.apache.sling.commons.log.logback.ConfigProvider
 
getConfiguration() - Method in interface org.apache.sling.commons.scheduler.JobContext
Get the configuration provided when the job was scheduled.
getConfiguration() - Method in interface org.apache.sling.commons.threads.ThreadPool
The thread pool configuration.
getConfiguration() - Method in interface org.apache.sling.event.jobs.Queue
Get the corresponding configuration.
getContentLength() - Method in class org.apache.sling.api.resource.ResourceMetadata
Returns the ResourceMetadata.CONTENT_LENGTH property if not null and a long.
getContentType() - Method in interface org.apache.sling.api.request.RequestParameter
Returns the content type passed by the browser or null if not defined.
getContentType() - Method in class org.apache.sling.api.resource.ResourceMetadata
Returns the ResourceMetadata.CONTENT_TYPE property if not null and a String instance.
getContextPath(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
Return the context path for r, using the appropriate request attribute if the request is an included one.
getContextPath(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
Returns the context path for the authentication form request.
getCookie(String) - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns the named cookie from the HTTP request or null if no such cookie exists in the request.
getCookie(String) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getCount() - Method in class org.apache.sling.commons.json.sling.ResourceTraversor
 
getCreated() - Method in interface org.apache.sling.event.jobs.Job
This property is set by the job handling and contains a calendar object specifying the date and time when this job has been created.
getCreatedInstance() - Method in interface org.apache.sling.event.jobs.Job
This property is set by the job handling and contains the Sling instance ID of the instance where this job has been created.
getCreationTime() - Method in class org.apache.sling.api.resource.ResourceMetadata
Returns the ResourceMetadata.CREATION_TIME property if not null and a long.
getCredentials() - Method in class org.apache.sling.engine.auth.AuthenticationInfo
Deprecated.
Returns the credentials extracted from the client request to use for authentication.
getCurrentJobs(String) - Method in interface org.apache.sling.event.JobStatusProvider
getCurrentJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
getCustomFormPath() - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
Returns the path to the custom login form to load through the class loader of this instance using Class.getResourceAsStream.
getDayOfMonth() - Method in interface org.apache.sling.event.jobs.ScheduleInfo
If the job is scheduled monthly, returns the day of the month
getDayOfWeek() - Method in interface org.apache.sling.event.jobs.ScheduleInfo
If the job is scheduled weekly, returns the day of the week
getDeclaredAccessRights(Node) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Returns the mapping of declared access rights that have been set for the resource at the given path.
getDeclaredAccessRights(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Returns the mapping of declared access rights that have been set for the resource at the given path.
getDeclaredAccessRightsForPrincipal(Node, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Returns the declared access rights for the specified Node for the given principalId.
getDeclaredAccessRightsForPrincipal(Session, String, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Returns the declared access rights for the resource at the specified path for the given principalId.
getDefault() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
 
getDefault() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor
Tries to get the default value from the annotation.
getDefaultFormPath() - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
Returns the path to the default login form to load through the class loader of this instance using Class.getResourceAsStream.
getDefaultValue(Class) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
getDefaultValue(Class) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
getDefaultValue(Class) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
getDefaultWorkspace() - Method in interface org.apache.sling.jcr.api.SlingRepository
Returns the default workspace to use on login.
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.
getDenied() - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo.AccessRights
 
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
 
getDestination() - Method in class org.apache.sling.servlets.post.Modification
 
getDictionary() - Method in class org.apache.sling.installer.api.InstallableResource
Return this resource's dictionary.
getDictionary() - Method in interface org.apache.sling.installer.api.tasks.RegisteredResource
Return this resource's dictionary.
getDigest() - Method in class org.apache.sling.installer.api.InstallableResource
Return this resource's digest.
getDigest() - Method in interface org.apache.sling.installer.api.tasks.RegisteredResource
Return this resource's digest.
getDigest() - Method in class org.apache.sling.installer.api.UpdateResult
Return this resource's digest.
getDirectives() - Method in interface org.apache.sling.commons.osgi.ManifestHeader.Entry
The directives for this entry.
getDirectives() - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
getDirectiveValue(String) - Method in interface org.apache.sling.commons.osgi.ManifestHeader.Entry
 
getDirectiveValue(String) - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
getDouble(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the double value associated with an index.
getDouble(String) - Method in class org.apache.sling.commons.json.JSONObject
Get the double value associated with a key.
getDynamicClassLoader() - Method in interface org.apache.sling.commons.classloader.DynamicClassLoaderManager
The dynamic class loader.
getEffectiveAccessRights(Node) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Returns the mapping of effective access rights that have been set for the resource at the given path.
getEffectiveAccessRights(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Returns the mapping of effective access rights that have been set for the resource at the given path.
getEffectiveAccessRightsForPrincipal(Node, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Returns the effective access rights for the specified Node for the given principalId.
getEffectiveAccessRightsForPrincipal(Session, String, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Returns the effective access rights for the resource at the specified path for the given principalId.
GetEffectiveAcl - Interface in org.apache.sling.jcr.jackrabbit.accessmanager
The GetAcl service api.
getEffectiveAcl(Session, String) - Method in interface org.apache.sling.jcr.jackrabbit.accessmanager.GetEffectiveAcl
Gets the effective access control list for a resource.
getEffectiveAcl(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.GetEffectiveAclServlet
 
GetEffectiveAclServlet - Class in org.apache.sling.jcr.jackrabbit.accessmanager.post
Sling GET servlet implementation for dumping the declared ACL of a resource to JSON.
GetEffectiveAclServlet() - Constructor for class org.apache.sling.jcr.jackrabbit.accessmanager.post.GetEffectiveAclServlet
 
getEngineName() - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
 
getEngineVersion() - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
 
getEntityId() - Method in interface org.apache.sling.installer.api.tasks.RegisteredResource
Return the identifier of the OSGi "entity" that this resource represents, for example "bundle:SID" where SID is the bundle's symbolic ID, or "config:PID" where PID is config's PID.
getEntries() - Method in class org.apache.sling.commons.osgi.ManifestHeader
Return the entries for this header.
getError() - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Returns any recorded error or null
getError() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns any recorded error or null
getError() - Method in class org.apache.sling.servlets.post.JSONResponse
 
getError() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns any recorded error or null
getErrors() - Method in interface org.apache.sling.commons.compiler.CompilationResult
Return a list of error messages that occured during compilation.
getExecutorActiveCount() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Retrieve the active count from the pool's Executor.
getExecutorCompletedTaskCount() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Retrieve the completed task count from the pool's Executor.
getExecutorCorePoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Retrieve the core pool size from the pool's Executor.
getExecutorLargestPoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Retrieve the largest pool size from the pool's Executor.
getExecutorMaximumPoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Retrieve the maximum pool size from the pool's Executor.
getExecutorPoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Retrieve the pool size from the pool's Executor.
getExecutorTaskCount() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Retrieve the task count from the pool's Executor.
getExports() - Method in class org.apache.sling.scripting.javascript.helper.ModuleScope
 
getExpression() - Method in interface org.apache.sling.event.jobs.ScheduleInfo
If the schedule is a cron expression, return the expression.
getExtension() - Method in interface org.apache.sling.api.request.RequestPathInfo
Returns the extension from the URL or null if the request URL does not contain an extension.
getExtension(String) - Method in interface org.apache.sling.commons.mime.MimeTypeProvider
Returns the primary name extension to which the given mimeType maps.
getExtension(String) - Method in interface org.apache.sling.commons.mime.MimeTypeService
Returns the primary name extension to which the given mimeType maps.
getExtensions() - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
 
getFactory() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
getFactory() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return the thread pool factory.
getFactory() - Method in class org.apache.sling.scripting.api.AbstractSlingScriptEngine
 
getFile() - Method in class org.apache.sling.commons.compiler.CompilerMessage
Return the filename associated with this compiler message.
getFileName() - Method in interface org.apache.sling.api.request.RequestParameter
Returns the original filename in the client's filesystem, as provided by the browser (or other client software).
getFileName() - Method in interface org.apache.sling.commons.compiler.CompilationUnitWithSource
 
getFilter() - Method in exception org.apache.sling.api.scripting.InvalidServiceFilterSyntaxException
 
getFinishedDate() - Method in interface org.apache.sling.event.jobs.Job
If the job is cancelled or succeeded, this method will return the finish date.
getFinishedProgressStep() - Method in interface org.apache.sling.event.jobs.Job
If the job is in processing, return the optional information about the finished steps.
getFlush() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.FLUSH property if not null and a boolean.
getForceResourceType() - Method in class org.apache.sling.api.request.RequestDispatcherOptions
Returns the RequestDispatcherOptions.OPT_FORCE_RESOURCE_TYPE option or null if not set.
getForm(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
Returns the form to be sent back to the client for login providing an optional informational message and the optional target to redirect to after successfully logging in.
getGranted() - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo.AccessRights
 
getHostObjectClasses() - Method in interface org.apache.sling.scripting.javascript.RhinoHostObjectProvider
Returns an array of classes implementing the Rhino Scriptable interface.
getHourOfDay() - Method in interface org.apache.sling.event.jobs.ScheduleInfo
Return the hour of the day for daily and weekly scheduled jobs
getId() - Method in interface org.apache.sling.discovery.ClusterView
Returns an id of this cluster view
getId() - Method in interface org.apache.sling.event.jobs.Job
Unique job ID.
getId() - Method in class org.apache.sling.installer.api.InstallableResource
Return this data's id.
getId() - Method in class org.apache.sling.installer.api.tasks.TransformationResult
Get the new unique id
getIds() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
 
getIds() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
getImportedClasses() - Method in interface org.apache.sling.scripting.javascript.RhinoHostObjectProvider
Returns an array of classes, which are transparently converted into ECMAScript host objects in the global scope.
getImportedPackages() - Method in interface org.apache.sling.scripting.javascript.RhinoHostObjectProvider
Returns an array of Java package names to define name spaces in the global scope.
getInitParameter(String) - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Deprecated.
 
getInitParameterNames() - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Deprecated.
 
getInputStream() - Method in interface org.apache.sling.api.request.RequestParameter
Returns an InputStream that can be used to retrieve the contents of the file.
getInputStream(String) - Method in interface org.apache.sling.commons.classloader.ClassLoaderWriter
Get the input stream for a class or resource handled by the underlying class loader.
getInputStream() - Method in class org.apache.sling.installer.api.InstallableResource
Return an input stream with the data of this resource.
getInputStream() - Method in interface org.apache.sling.installer.api.tasks.RegisteredResource
Return an input stream with the data of this resource.
getInputStream() - Method in class org.apache.sling.installer.api.tasks.TransformationResult
Get the new input stream
getInstallationState() - Method in interface org.apache.sling.installer.api.info.InfoProvider
Return the current installation state.
getInstalledResourceCount() - Method in interface org.apache.sling.installer.api.jmx.InstallerMBean
Count of Installed resource groups.
getInstalledResources() - Method in interface org.apache.sling.installer.api.info.InstallationState
Installed resource groups These resources groups are processed.
getInstances() - Method in interface org.apache.sling.discovery.ClusterView
Provides the list of InstanceDescriptions with a stable ordering.
getInstances() - Method in interface org.apache.sling.discovery.TopologyView
Provides the set of InstanceDescriptions in the entire topology, without any particular order
getInt(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the int value associated with an index.
getInt(String) - Method in class org.apache.sling.commons.json.JSONObject
Get the int value associated with a key.
getItemPath(SlingHttpServletRequest) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
Returns the path of the resource of the request as the item path.
getItemPath(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Returns the path of the resource of the request as the item path.
getJob(String, Map<String, Object>) - Method in interface org.apache.sling.event.jobs.JobManager
Find a job - either scheduled or active.
getJobById(String) - Method in interface org.apache.sling.event.jobs.JobManager
Return a job based on the unique id.
getJobByName(String) - Method in interface org.apache.sling.event.jobs.JobManager
Deprecated. 
getJobCreated(Event) - Static method in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
getJobPriority() - Method in interface org.apache.sling.event.jobs.Job
Deprecated. 
getJobProperties() - Method in interface org.apache.sling.event.jobs.ScheduledJobInfo
Return the optional job topics.
getJobState() - Method in interface org.apache.sling.event.jobs.Job
Get the job state
getJobTopic() - Method in interface org.apache.sling.event.jobs.ScheduledJobInfo
Return the job topic.
getJSONArray(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the JSONArray associated with an index.
getJSONArray(String) - Method in class org.apache.sling.commons.json.JSONObject
Get the JSONArray value associated with a key.
getJSONObject(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the JSONObject associated with an index.
getJSONObject(String) - Method in class org.apache.sling.commons.json.JSONObject
Get the JSONObject value associated with a key.
getJSONObject() - Method in class org.apache.sling.commons.json.sling.ResourceTraversor
 
getKeepAliveTime() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return the configured keep alive time.
getKeepAliveTime() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
getKeepAliveTime() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return the keep alive time.
getLanguage() - Method in exception org.apache.sling.api.resource.QuerySyntaxException
 
getLastActivatedJobDate() - Method in interface org.apache.sling.event.jobs.jmx.StatisticsMBean
 
getLastActivatedJobTime() - Method in interface org.apache.sling.event.jobs.Statistics
The time a job has been started last.
getLastActivatedJobTime() - Method in interface org.apache.sling.event.jobs.TopicStatistics
The time a job has been started last.
getLastChange() - Method in interface org.apache.sling.installer.api.info.Resource
When did the last change happen?
getLastFinishedJobDate() - Method in interface org.apache.sling.event.jobs.jmx.StatisticsMBean
 
getLastFinishedJobTime() - Method in interface org.apache.sling.event.jobs.Statistics
The time a job has been finished/failed/cancelled last.
getLastFinishedJobTime() - Method in interface org.apache.sling.event.jobs.TopicStatistics
The time a job has been finished/failed/cancelled last.
getLastModified(String) - Method in interface org.apache.sling.commons.classloader.ClassLoaderWriter
Return the last modified for the class or resource.
getLastModified() - Method in interface org.apache.sling.commons.compiler.CompilationUnit
Return the last modified for the compilation unit.
getLeader() - Method in interface org.apache.sling.discovery.ClusterView
Provides the InstanceDescription belonging to the leader instance.
getLine() - Method in class org.apache.sling.commons.compiler.CompilerMessage
Return the line number of the program text originating this message
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.
getLocalInstance() - Method in interface org.apache.sling.discovery.TopologyView
Provides the InstanceDescription belonging to this instance.
getLocation() - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Returns the location of the modification.
getLocation() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the location of the modification.
getLocation() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the location of the modification.
getLog() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.LOG property if not null and a org.slf4j.Logger instance.
getLoginResource(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
Returns any resource target to redirect to after successful authentication.
getLoginResource(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
Deprecated.
getLong(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the long value associated with an index.
getLong(String) - Method in class org.apache.sling.commons.json.JSONObject
Get the long value associated with a key.
getMainClassName() - Method in interface org.apache.sling.commons.compiler.CompilationUnit
Returns the name of the top level public type.
getMaxParallel() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the max number of parallel processes.
getMaxPeakRecursionDepth() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the maximum peak recursive execution depth since last resetting the statistics.
getMaxPoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return the configured maximum pool size.
getMaxPoolSize() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
getMaxPoolSize() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return the maximum pool size
getMaxRequestDurationMsec() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the time in milliseconds used by the longest request since last resetting the statistics.
getMaxRetries() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the max number of retries, -1 for endless retry!
getMaxServletCallCount() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the maximum servlet call count since last resetting the statistics.
getMeanPeakRecursionDepth() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the mean peak recursive execution depth since last resetting the statistics.
getMeanRequestDurationMsec() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the mean request processing time in milliseconds since resetting the statistics.
getMeanServletCallCount() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the mean servlet call count since last resetting the statistics.
getMessage() - Method in class org.apache.sling.commons.compiler.CompilerMessage
Return the message
getMessage() - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionResult
Return the optional message.
getMessages() - Method in interface org.apache.sling.api.request.RequestProgressTracker
Returns an Iterator of tracking entries.
getMethodCallSyntax(String, String, String...) - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
 
getMimeType(String) - Method in interface org.apache.sling.commons.mime.MimeTypeProvider
Returns the MIME type of the extension of the given name.
getMimeType(String) - Method in interface org.apache.sling.commons.mime.MimeTypeService
Returns the MIME type of the extension of the given name.
getMimeTypes() - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
 
getMinPeakRecursionDepth() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the minimal peak recursive execution depth since last resetting the statistics.
getMinPoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return the minimum pool size.
getMinPoolSize() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
getMinPoolSize() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return the minimum pool size.
getMinRequestDurationMsec() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the time in milliseconds used by the shortest request since last resetting the statistics.
getMinServletCallCount() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the minimum servlet call count since last resetting the statistics.
getMinuteOfHour() - Method in interface org.apache.sling.event.jobs.ScheduleInfo
Return the minute of the hour for daily, weekly and hourly scheduled jobs.
getModificationTime() - Method in class org.apache.sling.api.resource.ResourceMetadata
Returns the ResourceMetadata.MODIFICATION_TIME property if not null and a long.
getModuleName() - Method in class org.apache.sling.scripting.javascript.helper.ModuleScope
 
getMonthOfYear() - Method in interface org.apache.sling.event.jobs.ScheduleInfo
If the job is scheduled yearly, returns the month of the year
getName() - Method in interface org.apache.sling.api.request.RequestParameter
 
getName() - Method in class org.apache.sling.api.resource.AbstractResource
Returns the name of this resource.
getName() - Method in interface org.apache.sling.api.resource.Resource
Returns the name of this resource.
getName(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Deprecated.
since 2.1.0, use Resource.getName() instead
getName(String) - Static method in class org.apache.sling.api.resource.ResourceUtil
Utility method returns the name of the given path, which is normalized by ResourceUtil.normalize(String) before resolving the name.
getName() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling getName on the wrapped resource.
getName() - Method in class org.apache.sling.commons.osgi.ManifestHeader.NameValuePair
 
getName() - Method in interface org.apache.sling.commons.scheduler.JobContext
Get the name of the scheduled job.
getName() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return the name of the thread pool
getName() - Method in interface org.apache.sling.commons.threads.ThreadPool
The name of the thread pool.
getName() - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Deprecated.
Returns the name of this configuration object.
getName(ServiceReference) - Static method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Deprecated.
Looks for a name value in the service reference properties.
getName() - Method in interface org.apache.sling.event.jobs.jmx.StatisticsMBean
 
getName() - Method in interface org.apache.sling.event.jobs.Job
Deprecated. 
getName() - Method in interface org.apache.sling.event.jobs.Queue
Get the queue name.
getName(ServiceReference) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Returns the name property from the service properties or null if no such property exists or the property is an empty string.
getName() - Method in interface org.apache.sling.models.spi.Injector
Return a logical name for the injector.
getName() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
 
getName() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor
Tries to get the name value from the annotation.
getNames() - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
 
getNamespaceAwareSession(Session) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
Wraps the given session with support for name spaces defined by bundles deployed in the OSGi framework.
getNamespaceAwareSession(Session) - Method in class org.apache.sling.jcr.base.NamespaceMappingSupport
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
Returns the NamespaceMapper services used by the NamespaceMappingSupport.getNamespaceAwareSession(Session) method to define custom namespaces on sessions.
getNative(String, Scriptable) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableBase
 
getNewView() - Method in class org.apache.sling.discovery.TopologyEvent
Returns the view which is currently (i.e.
getNextActiveResource() - Method in interface org.apache.sling.installer.api.tasks.TaskResourceGroup
If there is more than the active resource in the group, return the second resource from the group.
getNextScheduledExecution() - Method in interface org.apache.sling.event.jobs.ScheduledJobInfo
Return the next scheduled execution date.
getNodeName(SlingHttpServletRequest, String, boolean, NodeNameGenerator) - Method in interface org.apache.sling.servlets.post.NodeNameGenerator
Get the to-be-created node name from the request.
getNumberOfActiveJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of jobs currently in processing.
getNumberOfCancelledJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of permanently failing or cancelled jobs.
getNumberOfCancelledJobs() - Method in interface org.apache.sling.event.jobs.TopicStatistics
Number of permanently failing or cancelled jobs.
getNumberOfFailedJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of failing jobs.
getNumberOfFailedJobs() - Method in interface org.apache.sling.event.jobs.TopicStatistics
Number of failing jobs.
getNumberOfFinishedJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of successfully finished jobs.
getNumberOfFinishedJobs() - Method in interface org.apache.sling.event.jobs.TopicStatistics
Number of successfully finished jobs.
getNumberOfJobs() - Method in interface org.apache.sling.event.jobs.Statistics
getNumberOfProcessedJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of already processed jobs.
getNumberOfProcessedJobs() - Method in interface org.apache.sling.event.jobs.TopicStatistics
Number of already processed jobs.
getNumberOfQueuedJobs() - Method in interface org.apache.sling.event.jobs.Statistics
Number of jobs currently waiting in a queue.
getNumberOfRetries() - Method in interface org.apache.sling.event.jobs.Job
The property to track the retry maximum retry count for jobs.
getOldView() - Method in class org.apache.sling.discovery.TopologyEvent
Returns the view which was valid up until now.
getOrCreateResource(ResourceResolver, String, String, String, boolean) - Static method in class org.apache.sling.api.resource.ResourceUtil
Creates or gets the resource at the given path.
getOrCreateResource(ResourceResolver, String, Map<String, Object>, String, boolean) - Static method in class org.apache.sling.api.resource.ResourceUtil
Creates or gets the resource at the given path.
getOut() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.OUT property if not null and a PrintWriter instance.
getOutputStatement(String) - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
 
getOutputStream(String) - Method in interface org.apache.sling.commons.classloader.ClassLoaderWriter
Get the output stream for a class or resource handled by the underlying class loader.
getOwnThreadPoolSize() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the size for the optional thread pool for this queue.
getParameter(String) - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
 
getParent() - Method in class org.apache.sling.api.resource.AbstractResource
Returns the parent resource of this resource.
getParent() - Method in interface org.apache.sling.api.resource.Resource
Returns the parent resource or null if this resource represents the root of the resource tree.
getParent(String) - Static method in class org.apache.sling.api.resource.ResourceUtil
Utility method returns the parent path of the given path, which is normalized by ResourceUtil.normalize(String) before resolving the parent.
getParent(String, int) - Static method in class org.apache.sling.api.resource.ResourceUtil
Utility method returns the ancestor's path at the given level relative to path, which is normalized by ResourceUtil.normalize(String) before resolving the ancestor.
getParent(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Deprecated.
since 2.1.0, use Resource.getParent() instead
getParent() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling getParent on the wrapped resource.
getParentLocation() - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Returns the parent location of the modification.
getParentLocation() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the parent location of the modification.
getParentLocation() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the parent location of the modification.
getParentResourceType(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns the super type of the given resource.
getParentResourceType(String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns the super type of the given resource type.
getPassword() - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
Returns the password stored as the ResourceResolverFactory.PASSWORD property or null if the password is not set in this map.
getPath() - Method in interface org.apache.sling.api.resource.Resource
Returns the absolute path of this resource in the resource tree.
getPath() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling getPath on the wrapped resource.
getPath() - Method in class org.apache.sling.api.resource.SyntheticResource
 
getPath() - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Returns the absolute path of the item upon which the request operated.
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.
getPath() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
Deprecated. 
getPath() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the absolute path of the item upon which the request operated.
getPath() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the absolute path of the item upon which the request operated.
getPathInfo(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
Return the context path for r, using the appropriate request attribute if the request is an included one.
getPid() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return the configuration pid of the thread pool.
getPosition() - Method in interface org.apache.sling.event.jobs.JobsIterator
Deprecated.
Returns the current position within the iterator.
getPrincipal(Credentials) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin
Return a Principal object, or null.
getPrincipalManager(Session) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns the PrincipalManager for the given session.
getPriority() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return the configured priority of the thread pool.
getPriority() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
getPriority() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return the priority for the threads.
getPriority() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
getPriority() - Method in class org.apache.sling.installer.api.InstallableResource
Return the priority of this resource.
getPriority() - Method in interface org.apache.sling.installer.api.tasks.RegisteredResource
Return the priority of this resource.
getPriority() - Method in class org.apache.sling.installer.api.UpdateResult
Return the priority of this resource.
getPrivilegeSetDisplayName(Locale) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo.AccessRights
 
getProcessingStarted() - Method in interface org.apache.sling.event.jobs.Job
This property is set by the job handling and contains a calendar object specifying the date and time when this job has been started.
getProgram(String...) - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
 
getProgressETA() - Method in interface org.apache.sling.event.jobs.Job
If the job is in processing, return the optional ETA for this job.
getProgressLog() - Method in interface org.apache.sling.event.jobs.Job
This method returns the optional progress log from the last job processing.
getProgressStepCount() - Method in interface org.apache.sling.event.jobs.Job
If the job is in processing, return the optional progress step count if available.
getProperties() - Method in interface org.apache.sling.discovery.InstanceDescription
Returns a Map containing all properties of this instance.
getProperty(String, Class<Type>) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Returns the generic response property with the given name and type or null if no such property exists or the property is not of the requested type.
getProperty(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Returns the generic response property with the given name and type or null if no such property exists.
getProperty(Object, double) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
since 2.0.4, use OsgiUtil.toDouble(Object, double) instead
getProperty(String) - Method in interface org.apache.sling.discovery.InstanceDescription
Returns the value of a particular property.
getProperty(String) - Method in interface org.apache.sling.discovery.PropertyProvider
Retrieves a property that is subsequently set on the local instance and broadcast to the TopologyView instances.
getProperty(String) - Method in interface org.apache.sling.event.jobs.Job
Get the value of a property.
getProperty(String, Class<T>) - Method in interface org.apache.sling.event.jobs.Job
Get a named property and convert it into the given type.
getProperty(String, T) - Method in interface org.apache.sling.event.jobs.Job
Get a named property and convert it into the given type.
getProperty(String, Class<Type>) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the generic response property with the given name and type or null if no such property exists or the property is not of the requested type.
getProperty(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the generic response property with the given name and type or null if no such property exists.
getProperty(String) - Method in class org.apache.sling.servlets.post.JSONResponse
 
getPropertyName() - Method in exception org.apache.sling.api.resource.PersistenceException
Get the property name related to this exception.
getPropertyNames() - Method in interface org.apache.sling.event.jobs.Job
Get all property names.
getQuery() - Method in exception org.apache.sling.api.resource.QuerySyntaxException
 
getQueryString(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
Return the query string for r, using the appropriate request attribute if the request is an included one.
getQueue(String) - Method in interface org.apache.sling.event.jobs.JobManager
Return a queue with a specific name (if running)
getQueueName() - Method in interface org.apache.sling.event.jobs.Job
The name of the job queue processing this job.
getQueueNames() - Method in interface org.apache.sling.event.jobs.jmx.QueuesMBean
 
getQueues() - Method in interface org.apache.sling.event.jobs.JobManager
Return an iterator for all available queues.
getQueueSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return the configured queue size.
getQueueSize() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
getQueueSize() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return the queue size.
getRanking() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Get the ranking of this configuration.
getReadableResource(Resource) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
If supplied Resource can be read, return it (or a wrapped variant of it).
getReader() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.READER property if not null and a Reader instance.
getReason(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
Returns an informational message according to the value provided in the j_reason request parameter.
getRedirectUrl(HttpServletRequest, AbstractPostResponse) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
compute redirect URL (SLING-126)
getReferer() - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Returns the referer as from the 'referer' request header.
getReferer() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the referer as from the 'referer' request header.
getReferer() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the referer previously set by PostResponse.setReferer(String)
getReplaceSelectors() - Method in class org.apache.sling.api.request.RequestDispatcherOptions
Returns the RequestDispatcherOptions.OPT_REPLACE_SELECTORS option or null if not set.
getReplaceSuffix() - Method in class org.apache.sling.api.request.RequestDispatcherOptions
Returns the RequestDispatcherOptions.OPT_REPLACE_SUFFIX option or null if not set.
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
getRequest() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.REQUEST property if not null and a SlingHttpServletRequest instance.
getRequest() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Returns the SlingHttpServletRequest representing the input of the request.
getRequest() - Method in class org.apache.sling.scripting.core.ScriptHelper
 
getRequestDispatcher(String, RequestDispatcherOptions) - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given resource.
getRequestDispatcher(Resource) - Method in interface org.apache.sling.api.SlingHttpServletRequest
getRequestDispatcher(Resource) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getRequestDispatcher(String, RequestDispatcherOptions) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getRequestParameter(String) - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns the value of a request parameter as a RequestParameter, or null if the parameter does not exist.
getRequestParameter(String) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getRequestParameterList() - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns the request parameters as instances of the RequestParameter interface in the order or the request where the query string parameters are first and the POST request parameters are second.
getRequestParameterList() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getRequestParameterMap() - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns a Map of the parameters of this request.
getRequestParameterMap() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getRequestParameters(String) - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns an array of RequestParameter objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getRequestParameters(String) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getRequestPathInfo() - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns the RequestPathInfo pertaining to this request.
getRequestPathInfo() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getRequestProgressTracker() - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns the RequestProgressTracker of this request.
getRequestProgressTracker() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getRequestsCount() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the number of requests collected since last resetting the statistics.
getRequestURI(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
Return the request URI for r, using the appropriate request attribute if the request is an included one.
getResolutionPath() - Method in class org.apache.sling.api.resource.ResourceMetadata
Returns the ResourceMetadata.RESOLUTION_PATH property if not null and a String instance.
getResolutionPathInfo() - Method in class org.apache.sling.api.resource.ResourceMetadata
Returns the ResourceMetadata.RESOLUTION_PATH_INFO property if not null and a String instance.
getResource() - Method in exception org.apache.sling.api.resource.ResourceNotFoundException
 
getResource(ResourceResolver, HttpServletRequest, String) - Method in interface org.apache.sling.api.resource.ResourceProvider
Deprecated.
since 2.2.0 (and JCR Resource 2.1.0), this method will not be invoked.
getResource(ResourceResolver, String) - Method in interface org.apache.sling.api.resource.ResourceProvider
Returns a resource from this resource provider or null if the resource provider cannot find it.
getResource(String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns a Resource object for data located at the given path.
getResource(Resource, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns a Resource object for data located at the given path.
getResource() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the Resource wrapped by this instance.
getResource() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.RESOURCE property if not null and a Resource instance.
getResource() - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns the Resource object on whose behalf the servlet acts.
getResource() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getResource(HttpServletRequest) - Method in class org.apache.sling.auth.core.spi.AbstractAuthenticationFormServlet
Returns the path to the resource to which the request should be redirected after successfully completing the form or an empty string if there is no resource request parameter.
getResource() - Method in class org.apache.sling.installer.api.tasks.InstallTask
Return the corresponding resource - depending on the task this might be null.
getResourceBundle(Locale) - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns the resource bundle for the given locale.
getResourceBundle(String, Locale) - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns the resource bundle of the given base name for the given locale.
getResourceBundle(Locale) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getResourceBundle(String, Locale) - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getResourceGroup() - Method in class org.apache.sling.installer.api.tasks.InstallTask
Return the corresponding resource - depending on the task this might be null.
getResourceId() - Method in class org.apache.sling.installer.api.UpdateResult
Return just the resource id (everything in the url after the colon)
getResourceIsMoved() - Method in class org.apache.sling.installer.api.UpdateResult
Has this resource been moved or added?
getResourceMetadata() - Method in interface org.apache.sling.api.resource.Resource
Returns the metadata of this resource.
getResourceMetadata() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling getResourceMetadata on the wrapped resource.
getResourceMetadata() - Method in class org.apache.sling.api.resource.SyntheticResource
Returns a resource metadata object containing just the path of this resource as the ResourceMetadata.RESOLUTION_PATH property.
getResourcePath() - Method in interface org.apache.sling.api.request.RequestPathInfo
Return the "resource path" part of the URL, what comes before selectors, extension and suffix.
getResourcePath() - Method in exception org.apache.sling.api.resource.PersistenceException
Get the resource path related to this exception.
getResourceProvider(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceProviderFactory
Returns a new ResourceProvider instance with further configuration taken from the given authenticationInfo map.
getResourceResolver() - Method in interface org.apache.sling.api.resource.Resource
Returns the ResourceResolver from which this resource has been retrieved.
getResourceResolver(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceResolverFactory
Returns a new ResourceResolver instance with further configuration taken from the given authenticationInfo map.
getResourceResolver() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling getResourceResolver on the wrapped resource.
getResourceResolver() - Method in class org.apache.sling.api.resource.SyntheticResource
Returns the ResourceResolver with which this synthetic resource is related or null if none.
getResourceResolver() - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns the ResourceResolver which resolved the resource of this request.
getResourceResolver() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getResourceResolver(Session) - Method in interface org.apache.sling.jcr.resource.JcrResourceResolverFactory
Deprecated.
Returns a ResourceResolver for the given session.
getResources() - Method in interface org.apache.sling.installer.api.info.ResourceGroup
Get all resources for this group.
getResourceSuperType() - Method in interface org.apache.sling.api.resource.Resource
Returns the super type of the resource if the resource defines its own super type.
getResourceSuperType(ResourceResolver, String) - Static method in class org.apache.sling.api.resource.ResourceUtil
getResourceSuperType() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling getResourceSuperType on the wrapped resource.
getResourceSuperType() - Method in class org.apache.sling.api.resource.SyntheticResource
Synthetic resources by default do not have a resource super type.
getResourceSuperType(ResourceResolver, String) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
getResourceSuperType(Resource) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
getResourceType() - Method in class org.apache.sling.api.resource.NonExistingResource
 
getResourceType() - Method in interface org.apache.sling.api.resource.Resource
The resource type is meant to point to rendering/processing scripts, editing dialogs, etc.
getResourceType() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling getResourceType on the wrapped resource.
getResourceType() - Method in class org.apache.sling.api.resource.SyntheticResource
 
getResourceType() - Method in class org.apache.sling.installer.api.tasks.TransformationResult
Get the new resource type
getResponse() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.RESPONSE property if not null and a SlingHttpServletResponse instance.
getResponse() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Returns the SlingHttpServletResponse representing the output of the request.
getResponse() - Method in class org.apache.sling.scripting.core.ScriptHelper
 
getResponseContentType() - Method in interface org.apache.sling.api.SlingHttpServletRequest
Returns the framework preferred content type for the response.
getResponseContentType() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getResponseContentTypes() - Method in interface org.apache.sling.api.SlingHttpServletRequest
Gets a list of content types which the framework accepts for the response.
getResponseContentTypes() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
 
getResultMessage() - Method in interface org.apache.sling.event.jobs.Job
This method returns the message from the last job processing, regardless whether the processing failed, succeeded or was cancelled.
getRetryCount() - Method in interface org.apache.sling.event.jobs.Job
On first execution the value of this property is zero.
getRetryDelayInMs() - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionResult
Return the retry delay in ms
getRetryDelayInMs() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the retry delay in ms
getRunModes() - Method in interface org.apache.sling.settings.SlingSettingsService
Return the set of activate run modes.
getScheduledEvent(String, String, String) - Method in interface org.apache.sling.event.TimedEventStatusProvider
Deprecated.
Return the scheduled event with the given id.
getScheduledEvents(String, Map<String, Object>...) - Method in interface org.apache.sling.event.TimedEventStatusProvider
Deprecated.
Return a list of currently scheduled events.
getScheduledJobs() - Method in interface org.apache.sling.event.jobs.JobManager
Return all available job schedules.
getScheduledJobs(String, long, Map<String, Object>...) - Method in interface org.apache.sling.event.jobs.JobManager
Return all matching available job schedules.
getScheduledJobs(String) - Method in interface org.apache.sling.event.JobStatusProvider
getScheduledJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
getSchedules() - Method in interface org.apache.sling.event.jobs.ScheduledJobInfo
Get all schedules for this job
getScheme() - Method in interface org.apache.sling.installer.api.tasks.RegisteredResource
Return the scheme from where the artifact is originated.
getScheme() - Method in class org.apache.sling.installer.api.UpdateResult
Return the scheme of the provider.
getScript() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Returns the SlingScript being called to handle the request.
getScript() - Method in class org.apache.sling.scripting.core.ScriptHelper
 
getScriptName() - Method in exception org.apache.sling.api.scripting.ScriptEvaluationException
 
getScriptResource() - Method in interface org.apache.sling.api.scripting.SlingScript
Returns the Resource providing the script source code.
getSearchPath() - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns the search path used by the ResourceResolver.getResource(String) method to search for resources by relative path.
getSelectors() - Method in interface org.apache.sling.api.request.RequestPathInfo
Returns the selectors decoded from the request URL as an array of strings.
getSelectorString() - Method in interface org.apache.sling.api.request.RequestPathInfo
Returns the selectors decoded from the request URL as string.
getService(Class<ServiceType>) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Lookup a single service
getService(Class<ServiceType>) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
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().
getServiceResourceResolver(Map<String, Object>) - Method in interface org.apache.sling.api.resource.ResourceResolverFactory
Returns a new ResourceResolver instance with privileges assigned to the service provided by the calling bundle.
getServices(Class<ServiceType>, String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Lookup one or several services
getServices(Class<ServiceType>, String) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
getServiceUserID(Bundle, String) - Method in interface org.apache.sling.serviceusermapping.ServiceUserMapper
Returns the ID of a user to access the data store on behalf of the service.
getServiceUserMapper() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Returns the ServiceUserMapper service to map the service name to a service user name.
getServletContext() - Method in class org.apache.sling.api.request.SlingRequestEvent
Gets the actual servlet context object as ServletContext
getServletContext() - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Deprecated.
 
getServletInfo() - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Returns the simple class name of this servlet class.
getServletName(Servlet) - Static method in class org.apache.sling.api.request.RequestUtil
Utility method to return a name for the given servlet.
getServletName(Servlet) - Static method in class org.apache.sling.engine.RequestUtil
Deprecated.
Utility method to return a name for the given servlet.
getServletPath(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
Return the servlet path for r, using the appropriate request attribute if the request is an included one.
getServletRequest() - Method in class org.apache.sling.api.request.SlingRequestEvent
Gets the actual request object as ServletRequest
getShutdownWaitTimeMs() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return the configured shutdown wait time in milliseconds.
getShutdownWaitTimeMs() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
getShutdownWaitTimeMs() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return the shutdown wait time in ms.
getSize() - Method in interface org.apache.sling.api.request.RequestParameter
Returns the size in bytes of the parameter.
getSize() - Method in interface org.apache.sling.event.jobs.JobsIterator
Deprecated.
Returns the total number of jobs.
getSling() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.SLING property if not null and a SlingScriptHelper instance.
getSlingDescription() - Method in interface org.apache.sling.settings.SlingSettingsService
Return the optional description of the instance.
getSlingHome() - Method in interface org.apache.sling.settings.SlingSettingsService
Returns the value of the SlingSettingsService.SLING_HOME_URL property.
getSlingHomePath() - Method in interface org.apache.sling.settings.SlingSettingsService
Returns the value of the SlingSettingsService.SLING_HOME property.
getSlingId() - Method in interface org.apache.sling.discovery.InstanceDescription
The identifier of the running Sling instance.
getSlingId() - Method in interface org.apache.sling.engine.SlingSettingsService
Deprecated.
The identifier of the running Sling instance.
getSlingId() - Method in interface org.apache.sling.settings.SlingSettingsService
The identifier of the running Sling instance.
getSlingName() - Method in interface org.apache.sling.settings.SlingSettingsService
Return the optional name of the instance.
getSlingRepositoryManager() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
 
getSlingRequest() - Method in class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
Return the original SlingHttpServletRequest object wrapped by this.
getSlingResponse() - Method in class org.apache.sling.api.wrappers.SlingHttpServletResponseWrapper
Return the original SlingHttpServletResponse object wrapped by this.
getSortedServiceReferences() - Method in class org.apache.sling.commons.osgi.SortingServiceTracker
Return a sorted list of the services references.
getSortedServices() - Method in class org.apache.sling.commons.osgi.SortingServiceTracker
Return a sorted list of the services.
getSortKey() - Method in class org.apache.sling.installer.api.tasks.ChangeStateTask
 
getSortKey() - Method in class org.apache.sling.installer.api.tasks.InstallTask
Tasks are sorted according to this key.
getSource() - Method in interface org.apache.sling.commons.compiler.CompilationUnit
Return an input stream for the contents.
getSource() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
getSource() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Return the source of information: underlying File or Bundle
getSource() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
getSource() - Method in interface org.apache.sling.installer.api.event.InstallationEvent
Return the source of the event.
getSource() - Method in class org.apache.sling.servlets.post.Modification
 
getSourceVersion() - Method in class org.apache.sling.commons.compiler.Options
 
getStandardDeviationDurationMsec() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the standard deviation of requests since resetting the statistics.
getStandardDeviationPeakRecursionDepth() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the standard deviation of peak recursive execution depth since last resetting the statistics.
getStandardDeviationServletCallCount() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Returns the standard deviation servlet call counts since last resetting the statistics.
getStartDate() - Method in interface org.apache.sling.event.jobs.jmx.StatisticsMBean
 
getStartTime() - Method in interface org.apache.sling.event.jobs.Statistics
The time this service has been started
getState(String) - Method in interface org.apache.sling.event.jobs.Queue
For monitoring purposes and possible extensions from the different queue types.
getState() - Method in interface org.apache.sling.installer.api.info.Resource
Get the current state of the resource.
getState() - Method in interface org.apache.sling.installer.api.tasks.TaskResource
Get the current state of the resource.
getStateInfo() - Method in interface org.apache.sling.event.jobs.Queue
Return some information about the current state of the queue.
getStaticType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableBase
 
getStaticType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
getStaticType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
getStaticType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
getStaticType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
 
getStaticType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersionHistory
 
getStatistics() - Method in interface org.apache.sling.event.jobs.JobManager
Return statistics information about all queues.
getStatistics() - Method in interface org.apache.sling.event.jobs.Queue
Return statistics information about this queue.
getStatusCode() - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Returns the status code of this instance.
getStatusCode() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns the status code of this instance.
getStatusCode() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the status code of this instance.
getStatusMessage() - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
 
getStatusMessage() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
 
getStatusMessage() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns the status message or null if no has been set with the PostResponse.setStatus(int, String) method.
getString() - Method in interface org.apache.sling.api.request.RequestParameter
Returns the contents of the parameter as a String, using the default character encoding.
getString(String) - Method in interface org.apache.sling.api.request.RequestParameter
Returns the contents of the parameter as a String, using the specified encoding.
getString(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the string associated with an index.
getString(String) - Method in class org.apache.sling.commons.json.JSONObject
Get the string associated with a key.
getSuffix() - Method in interface org.apache.sling.api.request.RequestPathInfo
Returns the suffix part of the URL or null if the request URL does not contain a suffix.
getSuffixResource() - Method in interface org.apache.sling.api.request.RequestPathInfo
Returns the resource addressed by the suffix or null if the request does not have a suffix or the suffix does not address an accessible resource.
getSupportedPrivileges(Node) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Return the supported Privileges for the specified node.
getSupportedPrivileges(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Returns the supported privileges for the specified path.
getSuspendedSince() - Method in interface org.apache.sling.installer.api.jmx.InstallerMBean
Determines the time since when the installer is in suspended state
getTargetInstance() - Method in interface org.apache.sling.event.jobs.Job
This property is set by the job handling and contains the Sling instance ID of the instance where this job should be processed.
getTargetVersion() - Method in class org.apache.sling.commons.compiler.Options
 
getTemporaryAttribute(String) - Method in interface org.apache.sling.installer.api.tasks.TaskResource
Get the value of a temporary attribute.
getThreadPriority() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the thread priority for the job thread
getThreadResourceResolver() - Method in interface org.apache.sling.api.resource.ResourceResolverFactory
Returns the ResourceResolver for the current thread.
getTopic() - Method in interface org.apache.sling.event.jobs.Job
The job topic.
getTopic() - Method in interface org.apache.sling.event.jobs.TopicStatistics
The topic this statistics is about.
getTopics() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
The list of topics this queue is bound to.
getTopicStatistics() - Method in interface org.apache.sling.event.jobs.JobManager
Return statistics information about job topics.
getTopology() - Method in interface org.apache.sling.discovery.DiscoveryService
Returns the topology that was last discovered by this service.
getType() - Method in class org.apache.sling.api.request.SlingRequestEvent
get the type of the event, eg.
getType() - Method in class org.apache.sling.discovery.TopologyEvent
Returns the type of this event
getType() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Return the queue type.
getType() - Method in interface org.apache.sling.event.jobs.ScheduleInfo
Return the scheduling type
getType() - Method in interface org.apache.sling.installer.api.event.InstallationEvent
Return the event type.
getType() - Method in class org.apache.sling.installer.api.InstallableResource
Return the type of this resource.
getType() - Method in interface org.apache.sling.installer.api.tasks.RegisteredResource
Return the type of this resource.
getType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
getType() - Method in class org.apache.sling.servlets.post.Modification
 
getUntransformedResources() - Method in interface org.apache.sling.installer.api.info.InstallationState
Return all untransformed resources
getURL() - Method in interface org.apache.sling.installer.api.tasks.RegisteredResource
Return this data's URL.
getURL() - Method in class org.apache.sling.installer.api.UpdateResult
Return this data's url.
getUser() - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
Returns the user name stored as the ResourceResolverFactory.USER property or null if the user is not set in this map.
getUserID() - Method in interface org.apache.sling.api.resource.ResourceResolver
Get the user ID, if any, associated with this resource resolver.
getUserManager(Session) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns the UserManager for the given session.
getValue(String) - Method in interface org.apache.sling.api.request.RequestParameterMap
Returns the first value for the named parameter or null if none
getValue() - Method in interface org.apache.sling.commons.osgi.ManifestHeader.Entry
The value of the entry.
getValue() - Method in class org.apache.sling.commons.osgi.ManifestHeader.NameValuePair
 
getValue() - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
getValue(Object, String, Type, AnnotatedElement, DisposalCallbackRegistry) - Method in interface org.apache.sling.models.spi.Injector
Produce a value for an injection point.
getValueMap() - Method in class org.apache.sling.api.resource.AbstractResource
This method calls Adaptable.adaptTo(Class) with the ValueMap class as an argument.
getValueMap() - Method in interface org.apache.sling.api.resource.Resource
Returns a value map for this resource.
getValueMap(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Deprecated.
getValueMap() - Method in class org.apache.sling.api.resource.ResourceWrapper
 
getValues(String) - Method in interface org.apache.sling.api.request.RequestParameterMap
Returns all values for the named parameter or null if none
getVersion() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
getVersion() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Return the bundle version, null if not available
getVersion() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
getVersion() - Method in interface org.apache.sling.installer.api.info.Resource
Return the version of the artifact.
getVersion() - Method in interface org.apache.sling.installer.api.tasks.TaskResource
Return the version of the artifact.
getVersion() - Method in class org.apache.sling.installer.api.tasks.TransformationResult
Get the version
getVersioningConfiguration(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Get the versioning configuration.
getVia() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
 
getVia() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor
Tries to get the via value from the annotation.
getWarnings() - Method in interface org.apache.sling.commons.compiler.CompilationResult
Return a list of warnings that occured during compilation.
getWorkspaceAccessManager() - Method in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
Returns the WorkspaceAccessManagerPlugin to be used for checking Workspace access.
getWorkspaceName() - Method in class org.apache.sling.engine.auth.AuthenticationInfo
Deprecated.
Returns the name of the workspace the user contained in this instance wishes to connect to.
getWrappedClasses() - Method in interface org.apache.sling.scripting.javascript.SlingWrapper
The list of Java classes wrapped by this wrapper
getWrappedClasses() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
getWrappedClasses() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
getWrappedClasses() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
getWrappedClasses() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
getWrappedClasses() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
getWrappedClasses() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
 
getWrappedClasses() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersionHistory
 
getWrappedObject() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableBase
 
getWrappedObject() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
getWrappedObject() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
getWrappedObject() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
getWrappedObject() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
 
getWrappedObject() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersionHistory
 
getXmlEscapingWriter(Writer) - Static method in class org.apache.sling.api.request.ResponseUtil
Return a Writer that writes escaped XML text to target
getXmlEscapingWriter(Writer) - Static method in class org.apache.sling.engine.ResponseUtil
Deprecated.
Return a Writer that writes escaped XML text to target
GT - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '>'.

H

handleError(int, String, SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface org.apache.sling.engine.servlets.ErrorHandler
Called to render a response for a HTTP status code.
handleError(Throwable, SlingHttpServletRequest, SlingHttpServletResponse) - Method in interface org.apache.sling.engine.servlets.ErrorHandler
Called to render a response for an uncaught Throwable.
handleIfModifiedSince(SlingHttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.api.request.RequestUtil
Checks if the request contains a if-last-modified-since header and if the the request's underlying resource has a jcr:lastModified property.
handleMethodNotImplemented(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Helper method which causes an appropriate HTTP response to be sent for an unhandled HTTP request method.
handleOperation(SlingHttpServletRequest, AbstractPostResponse, List<Modification>) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
Extending Servlet should implement this operation to do the work
handleOperation(SlingHttpServletRequest, AbstractPostResponse, List<Modification>) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.DeleteAcesServlet
 
handleOperation(SlingHttpServletRequest, AbstractPostResponse, List<Modification>) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.ModifyAceServlet
 
handleRedirect(HttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.auth.core.spi.DefaultAuthenticationFeedbackHandler
Handles an optional request for a redirect after successful authentication and true if the request has been redirected.
handleRemoval(String, String, String) - Method in interface org.apache.sling.installer.api.UpdateHandler
Handle the remove of a resource
handleSecurity(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.AuthenticationSupport
Handles security on behalf of a custom OSGi Http Service HttpContext instance extracting credentials from the request using any registered AuthenticationHandler services.
handleTopologyEvent(TopologyEvent) - Method in interface org.apache.sling.discovery.TopologyEventListener
Inform the service about an event in the topology - or in the discovery of the topology.
handleUpdate(String, String, String, Dictionary<String, Object>, Map<String, Object>) - Method in interface org.apache.sling.installer.api.UpdateHandler
Handle the update of a resource
handleUpdate(String, String, String, InputStream, Map<String, Object>) - Method in interface org.apache.sling.installer.api.UpdateHandler
Handle the update of a resource
has(String) - Method in class org.apache.sling.commons.json.JSONObject
Determine if the JSONObject contains a specific key.
has(int, Scriptable) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
 
has(String, Scriptable) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
 
has(String, Scriptable) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
hasChanges(ResourceResolver) - Method in interface org.apache.sling.api.resource.ModifyingResourceProvider
Are there any transient changes?
hasChanges() - Method in interface org.apache.sling.api.resource.ResourceResolver
Are there any pending changes?
hasChildren() - Method in class org.apache.sling.api.resource.AbstractResource
Checks to see if there are direct children of this resource by invoking ResourceResolver.hasChildren(Resource).
hasChildren() - Method in interface org.apache.sling.api.resource.Resource
Checks if the resource has any child resources.
hasChildren(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
Checks if the specified resource has any direct child resources.
hasChildren() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling hasChildren on the wrapped resource.
hasDefault() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
 
hasDefault() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor
 
hasFeature(Context, int) - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
hashCode() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
hashCode() - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
hashCode() - Method in class org.apache.sling.installer.api.tasks.InstallTask
 
hasItemPathPrefix(String) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Returns true if the name starts with either of the prefixes ./, ../ and /.
HEADER_ACCEPT - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
HEADER_ETAG - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
HEADER_IF_MATCH - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
HEADER_IF_MODIFIED_SINCE - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
HEADER_LAST_MODIFIED - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
hourly(int) - Method in interface org.apache.sling.event.jobs.JobBuilder.ScheduleBuilder
Schedule the job hourly at the given minute.
HtmlResponse - Class in org.apache.sling.api.servlets
Deprecated.
use org.apache.sling.servlets.post.HtmlResponse instead.
HtmlResponse() - Constructor for class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Creates a new html response with default settings, which is null for almost all properties except the HtmlResponse.isCreateRequest() which defaults to false.
HtmlResponse - Class in org.apache.sling.servlets.post
The HtmlResponse is an AbstractPostResponse preparing the response in HTML (actually XHTML) such that it can be interpreted as a plain response in a browser or as XML response in an Ajax request.
HtmlResponse() - Constructor for class org.apache.sling.servlets.post.HtmlResponse
 
HTTP - Class in org.apache.sling.commons.json.http
Convert an HTTP header to a JSONObject and back.
HTTP() - Constructor for class org.apache.sling.commons.json.http.HTTP
 
HttpConstants - Class in org.apache.sling.api.servlets
HTTP-related constants
HttpConstants() - Constructor for class org.apache.sling.api.servlets.HttpConstants
 
HTTPTokener - Class in org.apache.sling.commons.json.http
The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.
HTTPTokener(String) - Constructor for class org.apache.sling.commons.json.http.HTTPTokener
Construct an XMLTokener from a string.

I

impersonate(Principal, Credentials) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin
Returns a code indicating either the status of the impersonation attempt, or LoginModulePlugin.IMPERSONATION_DEFAULT if the impersonation should be handled by DefaultLoginModule.impersonate(java.security.Principal, javax.jcr.Credentials) .
IMPERSONATION_DEFAULT - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin
 
IMPERSONATION_FAILED - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin
 
IMPERSONATION_SUCCESS - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.LoginModulePlugin
 
ImplementationPicker - Interface in org.apache.sling.models.spi
Defines a strategy to choose an implementation for a model if multiple are registered for the same interface or super class.
importContent(Node, String, InputStream, ImportOptions, ContentImportListener) - Method in interface org.apache.sling.jcr.contentloader.ContentImporter
Import content into the repository by parsing the provided content stream.
ImportOptions - Class in org.apache.sling.jcr.contentloader
Encapsulates the options for the content import.
ImportOptions() - Constructor for class org.apache.sling.jcr.contentloader.ImportOptions
 
include(String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
include(String, String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Helper method to include the result of processing the request for the given path and requestDispatcherOptions.
include(String, RequestDispatcherOptions) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Helper method to include the result of processing the request for the given path and options.
include(Resource) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
include(Resource, String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Helper method to include the result of processing the request for the given resource and requestDispatcherOptions.
include(Resource, RequestDispatcherOptions) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Helper method to include the result of processing the request for the given resource and options.
include(String) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
include(String, String) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
include(String, RequestDispatcherOptions) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
include(Resource) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
include(Resource, String) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
include(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
INCLUDE_CONTEXT_PATH - Static variable in class org.apache.sling.api.wrappers.SlingRequestPaths
Attribute name used by the RequestDispatcher to indicate the context path of the included request, as a String.
INCLUDE_PATH_INFO - Static variable in class org.apache.sling.api.wrappers.SlingRequestPaths
Attribute name used by the RequestDispatcher to indicate the path info of the included request, as a String.
INCLUDE_QUERY_STRING - Static variable in class org.apache.sling.api.wrappers.SlingRequestPaths
Attribute name used by the RequestDispatcher to indicate the query string of the included request, as a String.
INCLUDE_REQUEST_URI - Static variable in class org.apache.sling.api.wrappers.SlingRequestPaths
Attribute name used by the RequestDispatcher to indicate the request URI of the included request, as a String.
INCLUDE_SERVLET_PATH - Static variable in class org.apache.sling.api.wrappers.SlingRequestPaths
Attribute name used by the RequestDispatcher to indicate the servlet path of the included request, as a String.
incrementProgressCount(int) - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext
Update the progress by additionally marking the provided number of steps as finished.
InfoProvider - Interface in org.apache.sling.installer.api.info
The info provider delivers information about the current state of the OSGi installer
init(ManifestHeader.NameValuePair[], ManifestHeader.NameValuePair[]) - Method in class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
init(Subject, Session) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
Initialize this access manager.
init(Scriptable, boolean) - Static method in class org.apache.sling.scripting.javascript.helper.SlingGlobal
 
initProgress(int, long) - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext
Indicate that the job executor is able to report the progress.
initStandardObjects(ScriptableObject, boolean) - Method in class org.apache.sling.scripting.javascript.helper.SlingContext
 
InjectAnnotation - Annotation Type in org.apache.sling.models.spi.injectorspecific
Declares an annotation as a custom inject annotation.
InjectAnnotationProcessor - Interface in org.apache.sling.models.spi.injectorspecific
Processor for injector-specific annotations.
InjectAnnotationProcessorFactory - Interface in org.apache.sling.models.spi.injectorspecific
 
Injector - Interface in org.apache.sling.models.spi
Service interface for pluggable value injectors.
InstallableResource - Class in org.apache.sling.installer.api
A piece of data that can be installed by the OsgiInstaller Currently the OSGi installer supports bundles and configurations, but it can be extended by additional task factories supporting other formats.
InstallableResource(String, InputStream, Dictionary<String, Object>, String, String, Integer) - Constructor for class org.apache.sling.installer.api.InstallableResource
Create a data object - this is a simple constructor just using the values as they are provided.
INSTALLATION_HINT - Static variable in class org.apache.sling.installer.api.InstallableResource
Optional parameter in the dictionary if a resource (not a dict) is installed.
InstallationContext - Interface in org.apache.sling.installer.api.tasks
Context for the installation tasks.
InstallationEvent - Interface in org.apache.sling.installer.api.event
Optional listener which can be used to monitor the activities of the installer.
InstallationEvent.TYPE - Enum in org.apache.sling.installer.api.event
 
InstallationListener - Interface in org.apache.sling.installer.api.event
Optional listener which can be used to monitor the activities of the installer.
InstallationState - Interface in org.apache.sling.installer.api.info
The state of the OSGi installer at a given time.
InstallerMBean - Interface in org.apache.sling.installer.api.jmx
 
InstallTask - Class in org.apache.sling.installer.api.tasks
Base class for tasks that can be executed by the OsgiInstaller.
InstallTask(TaskResourceGroup) - Constructor for class org.apache.sling.installer.api.tasks.InstallTask
Constructor for the task
InstallTaskFactory - Interface in org.apache.sling.installer.api.tasks
The install task factory creates a task for a given resource.
InstanceDescription - Interface in org.apache.sling.discovery
An InstanceDescription represents and contains information about an instance that is part of a TopologyView.
InstanceFilter - Interface in org.apache.sling.discovery
Used to filter InstanceDescriptions in a TopologyView.
INTERNAL_CONTINUE_RESOLVING - Static variable in class org.apache.sling.api.resource.ResourceMetadata
Returns whether the resource resolver should continue to search for a resource.
internalGetAcl(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractGetAclServlet
 
internalPut(String, Object) - Method in class org.apache.sling.api.resource.ResourceMetadata
 
InvalidServiceFilterSyntaxException - Exception in org.apache.sling.api.scripting
Thrown when an invalid service filter is used
InvalidServiceFilterSyntaxException(String, String) - Constructor for exception org.apache.sling.api.scripting.InvalidServiceFilterSyntaxException
 
InvalidServiceFilterSyntaxException(String, String, Throwable) - Constructor for exception org.apache.sling.api.scripting.InvalidServiceFilterSyntaxException
 
invoke(Object, Method, Object[]) - Method in class org.apache.sling.jcr.base.SessionProxyHandler.SessionProxyInvocationHandler
 
isA(Resource, String) - Static method in class org.apache.sling.api.resource.ResourceUtil
isActive() - Method in interface org.apache.sling.installer.api.jmx.InstallerMBean
Indicates that whether the installer is currently active
isAjaxRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.AuthUtil
Returns true if the request is to be considered an AJAX request placed using the XMLHttpRequest browser host object.
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.
isAsynchronousTask() - Method in class org.apache.sling.installer.api.tasks.InstallTask
If this an asynchronous task it should return true The OSGi installer will set the attribute InstallTask.ASYNC_ATTR_NAME with an integer value.
isAutoCheckin() - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
isAutoCheckout() - Method in class org.apache.sling.jcr.contentloader.ImportOptions
Specifies whether versionable nodes is automatically checked out when necessary.
isAutoCheckout() - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
isBrowserRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.AuthUtil
Returns true if the given request can be assumed to be sent by a client browser such as Firefix, Internet Explorer, etc.
isBundle() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
isBundle() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
True if the provided data is a valid bundle
isBundle() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
isCheckin() - Method in class org.apache.sling.jcr.contentloader.ImportOptions
Specifies whether versionable nodes is automatically checked in at the end of the import operation.
isCheckinOnNewVersionableNode() - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
isCreateRequest() - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Returns true if this was a create request.
isCreateRequest() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns true if this was a create request.
isCreateRequest() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns true if this was a create request.
isCurrent() - Method in interface org.apache.sling.discovery.TopologyView
Checks if this TopologyView is currently valid - or if the service knows of a topology change just going on (or another uncertainty about the topology such as IOException etc)
isDaemon() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return whether or not the thread pool creates daemon threads.
isDaemon() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
isDaemon() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return if daemon threads should be created.
isDebugging() - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
isDisableLoginAdministrative() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
Returns whether to disable the SlingRepository.loginAdministrative method or not.
isEmpty() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
isEmpty() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
isEmpty() - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
isEmpty(AccessControlList) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns true if AccessControlList acl does not yet define any entries.
isEmpty() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
isFormField() - Method in interface org.apache.sling.api.request.RequestParameter
Determines whether or not this instance represents a simple form field or an uploaded file.
isGenerateDebugInfo() - Method in class org.apache.sling.commons.compiler.Options
 
isGranted(String, int) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
Determines whether the specified permissions are granted on the item with the specified absPath (i.e.
isIgnoredImportProvider(String) - Method in class org.apache.sling.jcr.contentloader.ImportOptions
Check if the import provider for the given file extension should be ignored.
isIncluded(HttpServletRequest) - Static method in class org.apache.sling.api.wrappers.SlingRequestPaths
True if r is an included request, in which case it has the INCLUDE_REQUEST_URI attribute
isJobEvent(Event) - Static method in class org.apache.sling.event.EventUtil
Deprecated.
isJobEvent(Event) - Static method in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
isJobProcessingEnabled() - Method in interface org.apache.sling.event.jobs.JobManager
Deprecated.
This method always returns true
isKeepJobs() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Whether successful jobs are kept for a complete history
isLeader() - Method in interface org.apache.sling.discovery.InstanceDescription
If an instance is part of a cluster, it can potentially be a leader of that cluster - this information is queried here.
isLive() - Method in interface org.apache.sling.api.resource.DynamicResourceProvider
Returns true if this resource provider has not been closed yet and can still be used.
isLive() - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns true if this resource resolver has not been closed yet.
isLive() - Method in interface org.apache.sling.commons.classloader.DynamicClassLoader
Is this class loader still alive/valid?
isLocal() - Method in interface org.apache.sling.discovery.InstanceDescription
Determines whether this InstanceDescription is representing the local instance.
isLocal(Event) - Static method in class org.apache.sling.event.EventUtil
Is this a local event?
isLocalQueue() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Deprecated.
This information is not used anymore
isMethodValid(Method, String) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
Returns true if method is not null and the method is not defined in the class named by className.
isNonExistingResource(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Returns true if the resource res is a non-existing resource.
isNull(int) - Method in class org.apache.sling.commons.json.JSONArray
Determine if the value is null.
isNull(String) - Method in class org.apache.sling.commons.json.JSONObject
Determine if the value associated with the key is null or if there is no value.
isOptional() - Method in class org.apache.sling.models.spi.injectorspecific.AbstractInjectAnnotationProcessor
 
isOptional() - Method in interface org.apache.sling.models.spi.injectorspecific.InjectAnnotationProcessor
Tries to get the information whether the injection is optional.
isOverwrite() - Method in class org.apache.sling.jcr.contentloader.ImportOptions
Specifies whether imported nodes should overwrite existing nodes.
isPreferRunOnCreationInstance() - Method in interface org.apache.sling.event.jobs.QueueConfiguration
Prefer to run the job on the same instance it was created on.
isPropertyOverwrite() - Method in class org.apache.sling.jcr.contentloader.ImportOptions
Specifies whether imported properties should overwrite existing properties.
isRedirectValid(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
Returns true if the given redirect target is valid according to the following list of requirements: The target is neither null nor an empty string The target is not an URL which is identified by the character sequence :// separating the scheme from the host The target is normalized such that it contains no consecutive slashes and no path segment contains a single or double dot The target must be prefixed with the servlet context path If a ResourceResolver is available as a request attribute the target (without the servlet context path prefix) must resolve to an existing resource If a ResourceResolver is not available as a request attribute the target must be an absolute path starting with a slash character does not contain any of the characters <, >, ', or " in plain or URL encoding
isRedirectValid(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
Deprecated.
This method has been introduced after Bundle release 1.0.6 but has been replaced with AuthUtil.isRedirectValid(HttpServletRequest, String). Use the latter method.
isResourceType(String) - Method in class org.apache.sling.api.resource.AbstractResource
Returns true if this resource is of the given resource type or if any of the super resource types equals the given resource type.
isResourceType(String) - Method in interface org.apache.sling.api.resource.Resource
Returns true if the resource type or any of the resource's super type(s) equals the given resource type.
isResourceType(Resource, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns true if the resource type or any of the resource's super type(s) equals the given resource type.
isResourceType(String) - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling isResourceType on the wrapped resource.
isSendError(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.PostResponseWithErrorHandling
 
isSessionSaveRequired(Session, SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Check whether commit to the resource resolver should be called.
isSetStatus(SlingHttpServletRequest) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
 
isShutdownGraceful() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return whether or not the thread pool is configured to shutdown gracefully.
isShutdownGraceful() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
isShutdownGraceful() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Should this pool shutdown graceful.
isSingleValueDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
isSingleValueDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
 
isSkipCheckin(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Check if checkin should be skipped
isSkipSessionHandling(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Check whether changes should be written back
isSnapshot() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleBundleVersionInfo
 
isSnapshot() - Method in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
True if the bundle version indicates a snapshot
isSnapshot() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
isStandardDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
isStandardDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository2
 
isStarResource(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Returns true if the resource res is a "star resource".
isStopped() - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext
If a job is stoppable, it should periodically check this method and stop processing if the method return true.
isSuccessful() - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Returns true if no error is set and if the status code is one of the 2xx codes.
isSuccessful() - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Returns true if no error is set and if the status code is one of the 2xx codes.
isSuccessful() - Method in interface org.apache.sling.servlets.post.PostResponse
Returns true if no error is set and if the status code is one of the 2xx codes.
isSuspended() - Method in interface org.apache.sling.event.jobs.Queue
Is the queue currently suspended?
isSuspended() - Method in interface org.apache.sling.event.jobs.ScheduledJobInfo
Is the processing currently suspended?
isSyntheticResource(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Returns true if the resource res is a synthetic resource.
isTidy() - Method in class org.apache.sling.commons.json.io.JSONWriter
Checks if the output is nicely formatted.
isUsed() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
Return whether or not the thread pool is in use.
isValidateRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.AuthUtil
Returns true if the the client just asks for validation of submitted username/password credentials.
isValidateRequest(HttpServletRequest) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
Deprecated.
isVersionable(Node) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
 
ITEM_PREFIX_ABSOLUTE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Prefix for properties addressing repository items with an absolute path (value is "/").
ITEM_PREFIX_RELATIVE_CURRENT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Prefix for properties addressing repository items with a path relative to the current request item (value is "./").
ITEM_PREFIX_RELATIVE_PARENT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Prefix for properties addressing repository items with a path relative to the parent of the request item (value is "../").

J

JavaCompiler - Interface in org.apache.sling.commons.compiler
The JavaCompiler provides platform independant Java compilation support.
JcrModifiablePropertyMap - Class in org.apache.sling.jcr.resource
This implementation of the value map allows to change the properties and save them later on.
JcrModifiablePropertyMap(Node) - Constructor for class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
Constructor
JcrModifiablePropertyMap(Node, ClassLoader) - Constructor for class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
Constructor
JcrPropertyMap - Class in org.apache.sling.jcr.resource
An implementation of the value map based on a JCR node.
JcrPropertyMap(Node) - Constructor for class org.apache.sling.jcr.resource.JcrPropertyMap
Constructor
JcrPropertyMap(Node, ClassLoader) - Constructor for class org.apache.sling.jcr.resource.JcrPropertyMap
Constructor
JcrResourceConstants - Class in org.apache.sling.jcr.resource
The JcrResourceConstants interface provides constant values.
JcrResourceConstants() - Constructor for class org.apache.sling.jcr.resource.JcrResourceConstants
 
JcrResourceResolverFactory - Interface in org.apache.sling.jcr.resource
Deprecated.
Since 2.1. Use the ResourceResolverFactory
JcrResourceUtil - Class in org.apache.sling.jcr.resource
The JcrResourceUtil class provides helper methods used throughout this bundle.
JcrResourceUtil() - Constructor for class org.apache.sling.jcr.resource.JcrResourceUtil
 
JNDI_PREFIX - Static variable in class org.apache.sling.jcr.base.util.RepositoryAccessor
Prefix for JNDI Repository URLs
Job - Interface in org.apache.sling.commons.scheduler
A job is executed by the Scheduler service.
Job - Interface in org.apache.sling.event.jobs
A job Property Types In general all scalar types and all serializable classes are supported as property types.
Job.JobState - Enum in org.apache.sling.event.jobs
The current job state.
JOB_ID - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
JobBuilder - Interface in org.apache.sling.event.jobs
This is a builder interface to build jobs and scheduled jobs.
JobBuilder.ScheduleBuilder - Interface in org.apache.sling.event.jobs
This is a builder interface for creating schedule information
JobConsumer - Interface in org.apache.sling.event.jobs.consumer
A job consumer consumes a job.
JobConsumer.AsyncHandler - Interface in org.apache.sling.event.jobs.consumer
If the consumer decides to process the job asynchronously, this handler interface can be used to notify finished processing.
JobConsumer.JobResult - Enum in org.apache.sling.event.jobs.consumer
 
JobContext - Interface in org.apache.sling.commons.scheduler
The context for a Job.
JobExecutionContext - Interface in org.apache.sling.event.jobs.consumer
 
JobExecutionContext.ResultBuilder - Interface in org.apache.sling.event.jobs.consumer
 
JobExecutionResult - Interface in org.apache.sling.event.jobs.consumer
The status of a job after it has been processed by a JobExecutor.
JobExecutor - Interface in org.apache.sling.event.jobs.consumer
A job executor consumes a job.
JobManager - Interface in org.apache.sling.event.jobs
The job manager is the heart of the job event handling.
JobManager.QueryType - Enum in org.apache.sling.event.jobs
The requested job types for the query.
JobProcessor - Interface in org.apache.sling.event
Deprecated.
Use org.apache.sling.event.jobs.JobProcessor
JobProcessor - Interface in org.apache.sling.event.jobs
Deprecated.
- Use the new JobConsumer interface instead.
JobsIterator - Interface in org.apache.sling.event.jobs
JobsIterator - Interface in org.apache.sling.event
Deprecated. 
JobStatusProvider - Interface in org.apache.sling.event
Deprecated. 
JobUtil - Class in org.apache.sling.event.jobs
Deprecated. 
JobUtil.JobPriority - Enum in org.apache.sling.event.jobs
Deprecated. 
join(JSONArray, String) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Make a string from the contents of this JSONArray.
join(String) - Method in class org.apache.sling.commons.json.JSONArray
Make a string from the contents of this JSONArray using JSONRenderer.join(org.apache.sling.commons.json.JSONArray, java.lang.String)
jsConstructor(Object) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
jsConstructor(Object) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
 
jsConstructor(Object) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsConstructor(Object) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
jsConstructor(Object) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsConstructor(Object) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
jsConstructor(Object) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
 
jsConstructor(Object) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersionHistory
 
JSFUNC_PREFIX - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableBase
 
jsFunction_adaptTo(Context, Scriptable, Object[], Function) - Static method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Implements the adaptTo() method for JavaScript scripts.
jsFunction_addNode(String, String) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getBaseVersion() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getCheckedOut() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getChildren() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getDefinition() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getDepth() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getIndex() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getLock() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getLocked() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getMetadata() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Deprecated.
since 2.1.0 because the method is named incorrectly.
jsFunction_getMixinNodeTypes() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getModified() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getName() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getNew() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getNode(String) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getNodes(String) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getObject() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Helper method to easily retrieve the default adapted object of the resource.
jsFunction_getParent() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getPath() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getPath() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Mapps getPath() method as getPath() method.
jsFunction_getPrimaryItem() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getPrimaryNodeType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getProperties() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getProperty(String) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getReferences() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getResourceMetadata() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Maps getResourceMetadata() to getResourceMetadata method.
jsFunction_getResourceResolver() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Maps getResourceResolver() to resourceResolver property.
jsFunction_getResourceSuperType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Maps getResourceSuperType() to the getResourceSuperType() method.
jsFunction_getResourceType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Maps getResourceType() to the getResourceType() method.
jsFunction_getSession() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getUUID() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_getVersionHistory() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_hasNode(String) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_print(Context, Scriptable, Object[], Function) - Static method in class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
jsFunction_printf(Context, Scriptable, Object[], Function) - Static method in class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
jsFunction_println(Context, Scriptable, Object[], Function) - Static method in class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
jsFunction_remove() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsFunction_toString() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsFunction_valueOf(String) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsFunction_write(Context, Scriptable, Object[], Function) - Static method in class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
jsGet_boolean() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_date() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_definition() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_depth() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_double() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_length() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_lengths() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_long() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_meta() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Deprecated.
since 2.1.0 because it maps the method name incorrectly.
jsGet_modified() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_name() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_new() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_node() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_parent() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_path() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_path() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Mapps getPath() method as path property.
jsGet_resourceMetadata() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Maps getResourceMetadata() to resourceMetadata property.
jsGet_resourceResolver() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Maps getResourceResolver() to getResourceResolver method.
jsGet_resourceSuperType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Maps getResourceSuperType() to resourceSuperType property.
jsGet_resourceType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Maps getResourceType() to resourceType property.
jsGet_session() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_stream() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_string() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_type() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
Deprecated.
since 2.1.0 because it maps the method name incorrectly.
jsGet_value() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_values() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
json - Variable in class org.apache.sling.commons.json.sling.ResourceTraversor.Entry
 
JSONArray - Class in org.apache.sling.commons.json
A JSONArray is an ordered sequence of values.
JSONArray() - Constructor for class org.apache.sling.commons.json.JSONArray
Construct an empty JSONArray.
JSONArray(JSONTokener) - Constructor for class org.apache.sling.commons.json.JSONArray
Construct a JSONArray from a JSONTokener.
JSONArray(String) - Constructor for class org.apache.sling.commons.json.JSONArray
Construct a JSONArray from a source sJSON text.
JSONArray(Collection<?>) - Constructor for class org.apache.sling.commons.json.JSONArray
Construct a JSONArray from a Collection.
JSONException - Exception in org.apache.sling.commons.json
The JSONException is thrown by the JSON.org classes then things are amiss.
JSONException(String) - Constructor for exception org.apache.sling.commons.json.JSONException
Constructs a JSONException with an explanatory message.
JSONException(Throwable) - Constructor for exception org.apache.sling.commons.json.JSONException
 
JSONException(String, Throwable) - Constructor for exception org.apache.sling.commons.json.JSONException
 
JsonItemWriter - Class in org.apache.sling.commons.json.jcr
Dumps JCR Items as JSON data.
JsonItemWriter(Set<String>) - Constructor for class org.apache.sling.commons.json.jcr.JsonItemWriter
Create a JsonItemWriter
JsonJcrNode - Class in org.apache.sling.commons.json.jcr
This class makes it easy to create a JSON object out of a JCR node.
JsonJcrNode(Node) - Constructor for class org.apache.sling.commons.json.jcr.JsonJcrNode
Creates a JSONObject out of node.
JsonJcrNode(Node, Set<String>) - Constructor for class org.apache.sling.commons.json.jcr.JsonJcrNode
Creates a JSONObject out of node.
JSONObject - Class in org.apache.sling.commons.json
A JSONObject is an unordered collection of name/value pairs.
JSONObject() - Constructor for class org.apache.sling.commons.json.JSONObject
Construct an empty JSONObject.
JSONObject(JSONObject, String[]) - Constructor for class org.apache.sling.commons.json.JSONObject
Construct a JSONObject from a subset of another JSONObject.
JSONObject(JSONTokener) - Constructor for class org.apache.sling.commons.json.JSONObject
Construct a JSONObject from a JSONTokener.
JSONObject(Map<String, ?>) - Constructor for class org.apache.sling.commons.json.JSONObject
Construct a JSONObject from a Map.
JSONObject(Object, String[]) - Constructor for class org.apache.sling.commons.json.JSONObject
Construct a JSONObject from an Object, using reflection to find the public members.
JSONObject(String) - Constructor for class org.apache.sling.commons.json.JSONObject
Construct a JSONObject from a string.
JsonObjectCreator - Class in org.apache.sling.commons.json.sling
Creates a JSONObject from a resource
JsonObjectCreator() - Constructor for class org.apache.sling.commons.json.sling.JsonObjectCreator
 
JSONRenderer - Class in org.apache.sling.commons.json.io
Various JSON-to-String primitives, used by other classes when outputting/formatting JSON.
JSONRenderer() - Constructor for class org.apache.sling.commons.json.io.JSONRenderer
 
JSONRenderer.Options - Class in org.apache.sling.commons.json.io
Rendering options
JSONResponse - Class in org.apache.sling.servlets.post
The JSONResponse is an AbstractPostResponse preparing the response in JSON.
JSONResponse() - Constructor for class org.apache.sling.servlets.post.JSONResponse
 
JSONResponse.JSONResponseException - Exception in org.apache.sling.servlets.post
 
JSONResponseException(String, Throwable) - Constructor for exception org.apache.sling.servlets.post.JSONResponse.JSONResponseException
 
JSONResponseException(Throwable) - Constructor for exception org.apache.sling.servlets.post.JSONResponse.JSONResponseException
 
JSONString - Interface in org.apache.sling.commons.json
The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object).
JSONStringer - Class in org.apache.sling.commons.json.io
JSONStringer provides a quick and convenient way of producing JSON text.
JSONStringer() - Constructor for class org.apache.sling.commons.json.io.JSONStringer
Make a fresh JSONStringer.
JSONTokener - Class in org.apache.sling.commons.json
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(String) - Constructor for class org.apache.sling.commons.json.JSONTokener
Construct a JSONTokener from a string.
JSONWriter - Class in org.apache.sling.commons.json.io
JSONWriter provides a quick and convenient way of producing JSON text.
JSONWriter(Writer) - Constructor for class org.apache.sling.commons.json.io.JSONWriter
Make a fresh JSONWriter.

K

key(String) - Method in class org.apache.sling.commons.json.io.JSONWriter
Append a key.
KEY_ADDITIONAL_CLASS_LOADER - Static variable in class org.apache.sling.commons.compiler.Options
The key for the additional class loader.
KEY_CLASS_LOADER - Static variable in class org.apache.sling.commons.compiler.Options
The key for the class loader.
KEY_CLASS_LOADER_WRITER - Static variable in class org.apache.sling.commons.compiler.Options
The key for the class loader writer.
KEY_FORCE_COMPILATION - Static variable in class org.apache.sling.commons.compiler.Options
The key to force the compilation - even if the class files are more recent.
KEY_GENERATE_DEBUG_INFO - Static variable in class org.apache.sling.commons.compiler.Options
The key for the generate debug info flag.
KEY_IGNORE_WARNINGS - Static variable in class org.apache.sling.commons.compiler.Options
The key to ignore warnings - if this option is turned on, the resulting compilation result does not get the warnings issued by the compiler.
KEY_SOURCE_VERSION - Static variable in class org.apache.sling.commons.compiler.Options
The key for the source version.
KEY_TARGET_VERSION - Static variable in class org.apache.sling.commons.compiler.Options
The key for the target version.
keys() - Method in class org.apache.sling.commons.json.JSONObject
Get an enumeration of the keys of the JSONObject.
keys() - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
keySet() - Method in class org.apache.sling.api.resource.ResourceMetadata
 
keySet() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
keySet() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
keySet() - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
keySet() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 

L

LANGUAGES - Static variable in interface org.apache.sling.api.resource.QueriableResourceProvider
The name of the service registration property containing the supported languages of the resource provider (value is "provider.query.languages").
length() - Method in class org.apache.sling.commons.json.JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - Method in class org.apache.sling.commons.json.JSONObject
Get the number of keys stored in the JSONObject.
listChildren() - Method in class org.apache.sling.api.resource.AbstractResource
Returns an iterator on the direct child resources.
listChildren() - Method in interface org.apache.sling.api.resource.Resource
Returns an iterator of the direct children of this resource.
listChildren(Resource) - Method in interface org.apache.sling.api.resource.ResourceProvider
Returns an Iterator of Resource objects loaded from the children of the given Resource.
listChildren(Resource) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns an Iterator of Resource objects loaded from the children of the given Resource.
listChildren(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Deprecated.
since 2.1.0, use Resource.listChildren() instead
listChildren() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns the value of calling listChildren on the wrapped resource.
loadCompiledClass(String) - Method in interface org.apache.sling.commons.compiler.CompilationResult
Try to load the compiled class.
loadTestContent() - Method in interface org.apache.sling.jcr.jackrabbit.server.TestContentLoader
 
lock() - Method in class org.apache.sling.api.resource.ResourceMetadata
Make this object read-only.
log(String) - Method in interface org.apache.sling.api.request.RequestProgressTracker
Creates an entry with the given message
log(String, Object...) - Method in interface org.apache.sling.api.request.RequestProgressTracker
Creates an entry with a message constructed from the given MessageFormat format evaluated using the given formatting arguments.
LOG - Static variable in class org.apache.sling.api.scripting.SlingBindings
The name of the global scripting variable providing a logger which may be used for logging purposes (value is "log").
log(String, Object...) - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext
Log a message.
log(String, Object...) - Method in interface org.apache.sling.installer.api.tasks.InstallationContext
Make an entry into the audit log - this should be invoked by the tasks whenever something has been installed/uninstalled etc.
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.
 
log(int, String, Throwable) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Logs a message with optional Throwable stack trace to the log service or stderr if no log service is available.
log - Variable in class org.apache.sling.servlets.post.AbstractPostOperation
default log
login(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.api.auth.Authenticator
Tries to login a request user for the current request.
login(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.Authenticator
Deprecated.
Finds an AuthenticationHandler for the given request and call its AuthenticationHandler.requestAuthentication(HttpServletRequest, HttpServletResponse) method to initiate an authentication process with the client to login to Sling.
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 a namespace aware session by calling AbstractSlingRepository2.getNamespaceAwareSession(Session) with the session returned from the repository..
LOGIN_RESOURCE - Static variable in interface org.apache.sling.api.auth.Authenticator
Name of the request attribute which may be set by the application to indicate to the Authenticator.login(HttpServletRequest, HttpServletResponse) method to which resource access should actually be authenticated.
loginAdministrative(String) - Method in interface org.apache.sling.jcr.api.SlingRepository
Deprecated.
as of 2.2 (bundle version 2.2.0) because of inherent security issues. Services requiring specific permissions should use the SlingRepository.loginService(String, String) instead.
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.
LoginException - Exception in org.apache.sling.api.resource
Exception thrown by ResourceResolverFactory.getAdministrativeResourceResolver(java.util.Map) , ResourceResolverFactory.getResourceResolver(java.util.Map) , and ResourceResolver.clone(java.util.Map) if a resource resolver cannot be created because the credential data is not valid.
LoginException() - Constructor for exception org.apache.sling.api.resource.LoginException
Constructs a new instance of this class with null as its detail message.
LoginException(String) - Constructor for exception org.apache.sling.api.resource.LoginException
Constructs a new instance of this class with the specified detail message.
LoginException(String, Throwable) - Constructor for exception org.apache.sling.api.resource.LoginException
Constructs a new instance of this class with the specified detail message and root cause.
LoginException(Throwable) - Constructor for exception org.apache.sling.api.resource.LoginException
Constructs a new instance of this class with the specified root cause.
LoginModulePlugin - Interface in org.apache.sling.jcr.jackrabbit.server.security
Provide login module functionality that extends DefaultLoginModule for a specific type of Credentials.
loginService(String, String) - Method in interface org.apache.sling.jcr.api.SlingRepository
Returns a session to the given workspace with privileges assigned to the service provided by the calling bundle.
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.
logout(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.api.auth.Authenticator
Logs out if the current request is authenticated.
logTimer(String) - Method in interface org.apache.sling.api.request.RequestProgressTracker
Logs an entry with the message set to the name of the timer and the number of milliseconds elapsed since the timer start.
logTimer(String, String, Object...) - Method in interface org.apache.sling.api.request.RequestProgressTracker
Logs an entry with the message constructed from the given MessageFormat pattern evaluated using the given arguments and the number of milliseconds elapsed since the timer start.
LT - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '<'.

M

makeContext() - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
ManifestHeader - Class in org.apache.sling.commons.osgi
This is a helper class to parse manifest header entries.
ManifestHeader() - Constructor for class org.apache.sling.commons.osgi.ManifestHeader
 
ManifestHeader.Entry - Interface in org.apache.sling.commons.osgi
A header can have several entries separated by comma.
ManifestHeader.NameValuePair - Class in org.apache.sling.commons.osgi
Directives and attributes are simple name/value pairs.
ManifestHeader.PathImpl - Class in org.apache.sling.commons.osgi
 
map(String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns a path mapped from the (resource) path applying the reverse mapping used by the ResourceResolver.resolve(String) such that when the path is given to the ResourceResolver.resolve(String) method the same resource is returned.
map(HttpServletRequest, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Returns an URL mapped from the (resource) path applying the reverse mapping used by the ResourceResolver.resolve(HttpServletRequest, String) such that when the path is given to the ResourceResolver.resolve(HttpServletRequest, String) method the same resource is returned.
mark(int) - Method in class org.apache.sling.scripting.javascript.io.EspReader
Mark the present position in the stream.
markSupported() - Method in class org.apache.sling.scripting.javascript.io.EspReader
Tell whether this stream supports the mark() operation, which it does not.
mayService(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
Tries to handle the request by calling a Java method implemented for the respective HTTP request method.
mayService(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Tries to handle the request by calling a Java method implemented for the respective HTTP request method.
message(String) - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext.ResultBuilder
Add an optional processing message.
METHOD_CONNECT - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
METHOD_DELETE - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
METHOD_GET - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
METHOD_HEAD - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
METHOD_OPTIONS - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
METHOD_POST - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
METHOD_PUT - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
METHOD_TRACE - Static variable in class org.apache.sling.api.servlets.HttpConstants
 
MimeTypeProvider - Interface in org.apache.sling.commons.mime
The MimeTypeProvider interface defines an API for services which are asked for MIME type mappings for unknown MIME types or extensions.
MimeTypeService - Interface in org.apache.sling.commons.mime
The MimeTypeService defines the service applications can call to resolve file names to MIME types and derive default file name extensions from MIME types.
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
mode - Variable in class org.apache.sling.commons.json.io.JSONWriter
The current mode.
Model - Annotation Type in org.apache.sling.models.annotations
Mark a class as adaptable via Sling Models.
ModifiableThreadPoolConfig - Class in org.apache.sling.commons.threads
This is a modifiable thread pool configuration that can be instantiated and then configured to create a new thread pool.
ModifiableThreadPoolConfig() - Constructor for class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Create a new default configuration.
ModifiableThreadPoolConfig(ThreadPoolConfig) - Constructor for class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Clone an existing configuration
ModifiableValueMap - Interface in org.apache.sling.api.resource
The ModifiableValueMap is an extension of the ValueMap which allows to modify and persist properties.
ModifiableValueMapDecorator - Class in org.apache.sling.api.wrappers
ModifiableValueMapDecorator decorates another Map to provide a basic implementation for the additional methods of a ModifiableValueMap.
ModifiableValueMapDecorator(Map<String, Object>) - Constructor for class org.apache.sling.api.wrappers.ModifiableValueMapDecorator
Creates a new wrapper around a given map.
Modification - Class in org.apache.sling.servlets.post
 
Modification(ModificationType, String, String) - Constructor for class org.apache.sling.servlets.post.Modification
 
MODIFICATION_TIME - Static variable in class org.apache.sling.api.resource.ResourceMetadata
Returns the last modification time of this resource in the repository in milliseconds (value is "sling.modificationTime").
ModificationType - Enum in org.apache.sling.servlets.post
 
modifiedService(ServiceReference, Object) - Method in class org.apache.sling.commons.osgi.SortingServiceTracker
 
ModifyAce - Interface in org.apache.sling.jcr.jackrabbit.accessmanager
The ModifyAce service api.
modifyAce(Session, String, String, Map<String, String>, String) - Method in interface org.apache.sling.jcr.jackrabbit.accessmanager.ModifyAce
Add or modify the access control entry for the specified user or group.
modifyAce(Session, String, String, Map<String, String>, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.ModifyAceServlet
 
ModifyAceServlet - Class in org.apache.sling.jcr.jackrabbit.accessmanager.post
Sling Post Servlet implementation for modifying the ACEs for a principal on a JCR resource.
ModifyAceServlet() - Constructor for class org.apache.sling.jcr.jackrabbit.accessmanager.post.ModifyAceServlet
 
ModifyingResourceProvider - Interface in org.apache.sling.api.resource
A modifying resource provider is an extension of a resource provider which is only supported if the resource provider has been created through a ResourceProviderFactory.
ModuleObject - Class in org.apache.sling.scripting.javascript.helper
 
ModuleScope - Class in org.apache.sling.scripting.javascript.helper
 
ModuleScope(Scriptable, String) - Constructor for class org.apache.sling.scripting.javascript.helper.ModuleScope
 
monthly(int, int, int) - Method in interface org.apache.sling.event.jobs.JobBuilder.ScheduleBuilder
Schedule the job monthly, the time needs to be specified in addition.
more() - Method in class org.apache.sling.commons.json.JSONTokener
Determine if the source string still contains characters that next() can consume.

N

name(String) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Sets the name of the job.
NAME - Static variable in interface org.apache.sling.engine.SlingRequestProcessor
The name of the SlingRequestProcessor service.
names() - Method in class org.apache.sling.commons.json.JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
NAMESPACE_PREFIX - Static variable in class org.apache.sling.api.SlingConstants
The namespace prefix used throughout Sling (value is "sling").
NAMESPACE_URI_ROOT - Static variable in class org.apache.sling.api.SlingConstants
The namespace URI prefix to be used by Sling projects to define namespaces (value is "http://sling.apache.org/").
NamespaceMapper - Interface in org.apache.sling.jcr.api
This interface is used to customize the namespace mapping of a session.
NamespaceMappingSupport - Class in org.apache.sling.jcr.base
The NamespaceMappingSupport is an abstract base class for implementing support for dynamic namespace mapping in SlingRepository instances.
NamespaceMappingSupport() - Constructor for class org.apache.sling.jcr.base.NamespaceMappingSupport
 
NameValuePair(String, String) - Constructor for class org.apache.sling.commons.osgi.ManifestHeader.NameValuePair
 
next() - Method in class org.apache.sling.commons.json.JSONTokener
Get the next character in the source string.
next(char) - Method in class org.apache.sling.commons.json.JSONTokener
Consume the next character, and check that it matches a specified character.
next(int) - Method in class org.apache.sling.commons.json.JSONTokener
Get the next n characters.
nextCDATA() - Method in class org.apache.sling.commons.json.xml.XMLTokener
Get the text in the CDATA block.
nextClean() - Method in class org.apache.sling.commons.json.JSONTokener
Get the next char in the string, skipping whitespace and comments (slashslash, slashstar, and hash).
nextContent() - Method in class org.apache.sling.commons.json.xml.XMLTokener
Get the next XML outer token, trimming whitespace.
nextEntity(char) - Method in class org.apache.sling.commons.json.xml.XMLTokener
Return the next entity.
nextMeta() - Method in class org.apache.sling.commons.json.xml.XMLTokener
Returns the next XML meta token.
nextString(char) - Method in class org.apache.sling.commons.json.JSONTokener
Return the characters up to the next close quote character.
nextTo(char) - Method in class org.apache.sling.commons.json.JSONTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class org.apache.sling.commons.json.JSONTokener
Get the text up but not including one of the specified delimeter characters or the end of line, whichever comes first.
nextToken() - Method in class org.apache.sling.commons.json.http.HTTPTokener
Get the next token or string.
nextToken() - Method in class org.apache.sling.commons.json.xml.XMLTokener
Get the next XML Token.
nextValue() - Method in class org.apache.sling.commons.json.JSONTokener
Get the next value.
NoAuthenticationHandlerException - Exception in org.apache.sling.api.auth
The NoAuthenticationHandlerException is thrown to indicate that the Authenticator.login(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method could not find a way to authenticate the request user.
NoAuthenticationHandlerException() - Constructor for exception org.apache.sling.api.auth.NoAuthenticationHandlerException
 
NoAuthenticationHandlerException - Exception in org.apache.sling.engine.auth
Deprecated.
NoAuthenticationHandlerException() - Constructor for exception org.apache.sling.engine.auth.NoAuthenticationHandlerException
Deprecated.
 
NodeNameGenerator - Interface in org.apache.sling.servlets.post
Service interface which allows for custom node name generation for * resources.
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
 
NONE - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
 
NonExistingResource - Class in org.apache.sling.api.resource
Simple helper class representing nonexisting resources.
NonExistingResource(ResourceResolver, String) - Constructor for class org.apache.sling.api.resource.NonExistingResource
Create a new non existing resource.
NOPSTATUS_VALUE_DEFAULT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
The default response status sent back by a SlingPostConstants.OPERATION_NOP if the SlingPostConstants.RP_NOP_STATUS parameter is not provided or the parameter value cannot be converted into a valid response status code (value is 200).
normalize(String) - Static method in class org.apache.sling.api.resource.ResourceUtil
Resolves relative path segments '.' and '..' in the absolute path.
NOTIFICATION_PROPERTY_JOB_ID - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
Use NotificationConstants#NOTIFICATION_PROPERTY_JOB_ID
NOTIFICATION_PROPERTY_JOB_ID - Static variable in class org.apache.sling.event.jobs.NotificationConstants
Property containing the unique job ID.
NOTIFICATION_PROPERTY_JOB_NAME - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
NOTIFICATION_PROPERTY_JOB_TOPIC - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
Use NotificationConstants#NOTIFICATION_PROPERTY_JOB_TOPIC
NOTIFICATION_PROPERTY_JOB_TOPIC - Static variable in class org.apache.sling.event.jobs.NotificationConstants
Property containing the job topic.
NotificationConstants - Class in org.apache.sling.event.jobs
This class contains constants for event notifications
NOW() - Method in interface org.apache.sling.commons.scheduler.Scheduler
Create a schedule options to fire a job immediately and only once.
NOW(int, long) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Create a schedule options to fire a job immediately more than once.
NT_SLING_CHUNK_MIXIN - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for the sling:chunks mixin.
NT_SLING_CHUNK_NODETYPE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for the sling:chunk node type.
NT_SLING_CHUNK_OFFSET - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for the sling:offset property.
NT_SLING_CHUNKS_LENGTH - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for the sling:length property.
NT_SLING_FILE_LENGTH - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Constant for the sling:fileLength property.
NT_SLING_FOLDER - Static variable in class org.apache.sling.jcr.resource.JcrResourceConstants
Constant for the sling:Folder node type
NT_SLING_ORDERED_FOLDER - Static variable in class org.apache.sling.jcr.resource.JcrResourceConstants
Constant for the sling:OrderedFolder node type
NULL - Static variable in class org.apache.sling.commons.json.JSONObject
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.
numberToString(Number) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Produce a string from a Number.
numberToString(Number) - Static method in class org.apache.sling.commons.json.JSONObject
Produce a string from a Number.

O

object() - Method in class org.apache.sling.commons.json.io.JSONWriter
Begin appending a new object.
ok() - Method in interface org.apache.sling.event.jobs.consumer.JobConsumer.AsyncHandler
 
onChange(String, String...) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Records a generic change of the given type.
onChange(String, String...) - Method in class org.apache.sling.servlets.post.HtmlResponse
Records a generic change of the given type.
onChange(String, String...) - Method in class org.apache.sling.servlets.post.JSONResponse
 
onChange(ModificationType, String) - Static method in class org.apache.sling.servlets.post.Modification
 
onChange(ModificationType, String, String) - Static method in class org.apache.sling.servlets.post.Modification
 
onChange(String, String...) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a generic change of the given type with arguments.
onCheckin(String) - Method in interface org.apache.sling.jcr.contentloader.ContentImportListener
A versionable Node has been checked in.
onCheckin(String) - Static method in class org.apache.sling.servlets.post.Modification
 
onCheckout(String) - Method in interface org.apache.sling.jcr.contentloader.ContentImportListener
A versionable Node has been checked out.
onCheckout(String) - Static method in class org.apache.sling.servlets.post.Modification
 
onContextCreated(Context) - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
onCopied(String, String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Records a 'copied' change.
onCopied(String, String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Records a 'copied' change.
onCopied(String, String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'copied' change.
onCopied(String, String) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a 'copied' change.
onCopy(String, String) - Method in interface org.apache.sling.jcr.contentloader.ContentImportListener
An Item has been copied to a new location.
onCreate(String) - Method in interface org.apache.sling.jcr.contentloader.ContentImportListener
A Node has been created.
onCreated(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Records a 'created' change
onCreated(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Records a 'created' change
onCreated(String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'created' change
onCreated(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a 'created' change
onDelete(String) - Method in interface org.apache.sling.jcr.contentloader.ContentImportListener
An Item has been deleted.
onDeleted(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Records a 'deleted' change
onDeleted(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Records a 'deleted' change
onDeleted(String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'deleted' change
onDeleted(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a 'deleted' change
onDisposed() - Method in interface org.apache.sling.models.spi.DisposalCallback
Callback method for when an object is destroyed.
onEvent(SlingRequestEvent) - Method in interface org.apache.sling.api.request.SlingRequestListener
This method is called from the Sling application for every EventType appearing during the dispatching of a Sling request
onEvent(InstallationEvent) - Method in interface org.apache.sling.installer.api.event.InstallationListener
Receive an installation event.
onInstancesOnly(String[]) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
List of Sling IDs this job should be run on.
onLeaderOnly(boolean) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Flag indicating whether the job should only be run on the leader.
onModified(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Records a 'modified' change
onModified(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Records a 'modified' change
onModified(String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'modified' change
onModified(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a 'modified' change
onModify(String) - Method in interface org.apache.sling.jcr.contentloader.ContentImportListener
Content has been updated.
onMove(String, String) - Method in interface org.apache.sling.jcr.contentloader.ContentImportListener
An Item has been moved to a new location.
onMoved(String, String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Records a 'moved' change.
onMoved(String, String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Records a 'moved' change.
onMoved(String, String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'moved' change.
onMoved(String, String) - Method in interface org.apache.sling.servlets.post.PostResponse
Records a 'moved' change.
onOrder(String, String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'order' change.
onReorder(String, String) - Method in interface org.apache.sling.jcr.contentloader.ContentImportListener
A child Node has been reordered.
onSingleInstanceOnly(boolean) - Method in interface org.apache.sling.commons.scheduler.ScheduleOptions
Flag indicating whether the job should only be run on a single instance in a cluster This defaults to false.
OPERATION_CHECKIN - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined checkin operation (value is "checkin").
OPERATION_CHECKOUT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined checkout operation (value is "checkout").
OPERATION_COPY - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined copy operation (value is "copy").
OPERATION_DELETE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined delete operation (value is "delete").
OPERATION_IMPORT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined import operation (value is "import").
OPERATION_MODIFY - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined modify operation (value is "modify").
OPERATION_MOVE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined move operation (value is "move")
OPERATION_NOP - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined null operation (value is "nop").
opt(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional object value associated with an index.
opt(String) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional value associated with a key.
OPT_ADD_SELECTORS - Static variable in class org.apache.sling.api.request.RequestDispatcherOptions
When dispatching, add the value provided by this option to the RequestPathInfo selectors.
OPT_FORCE_RESOURCE_TYPE - Static variable in class org.apache.sling.api.request.RequestDispatcherOptions
When dispatching, use the value provided by this option as the resource type, instead of the one defined by the Resource.
OPT_REPLACE_SELECTORS - Static variable in class org.apache.sling.api.request.RequestDispatcherOptions
When dispatching, replace RequestPathInfo selectors by the value provided by this option.
OPT_REPLACE_SUFFIX - Static variable in class org.apache.sling.api.request.RequestDispatcherOptions
When dispatching, replace the RequestPathInfo suffix by the value provided by this option
optBoolean(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(int, boolean) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(String) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional boolean associated with a key.
optBoolean(String, boolean) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional boolean associated with a key.
optDouble(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional double value associated with an index.
optDouble(int, double) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional double value associated with an index.
optDouble(String) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a number.
optDouble(String, double) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
OptingServlet - Interface in org.apache.sling.api.servlets
The OptingServlet interface may be implemented by Servlets used by Sling which may choose to not handle all requests for which they would be selected based on their registration properties.
optInt(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional int value associated with an index.
optInt(int, int) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional int value associated with an index.
optInt(String) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number.
optInt(String, int) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
Optional - Annotation Type in org.apache.sling.models.annotations
Marker annotation for optional injections.
Options - Class in org.apache.sling.commons.compiler
Options for the compilation process.
Options() - Constructor for class org.apache.sling.commons.compiler.Options
Default options with the following presets: - generate debug info : true
Options(Options) - Constructor for class org.apache.sling.commons.compiler.Options
Create a new options object based on an existing one.
options() - Method in class org.apache.sling.commons.json.io.JSONRenderer
Return an Options object with default values
optJSONArray(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional JSONArray associated with an index.
optJSONArray(String) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional JSONArray associated with a key.
optJSONObject(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional JSONObject associated with an index.
optJSONObject(String) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional JSONObject associated with a key.
optLong(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional long value associated with an index.
optLong(int, long) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional long value associated with an index.
optLong(String) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional long value associated with a key, or zero if there is no such key or if the value is not a number.
optLong(String, long) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optString(int) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional string value associated with an index.
optString(int, String) - Method in class org.apache.sling.commons.json.JSONArray
Get the optional string associated with an index.
optString(String) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional string associated with a key.
optString(String, String) - Method in class org.apache.sling.commons.json.JSONObject
Get an optional string associated with a key.
ORDER_AFTER - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Possible value of the SlingPostConstants.RP_ORDER parameter indicating that the node by moved immediately after the sibbling whose name is contained in the SlingPostConstants.RP_ORDER parameter (value is "after ").
ORDER_BEFORE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Possible value of the SlingPostConstants.RP_ORDER parameter indicating that the node by moved immediately before the sibbling whose name is contained in the SlingPostConstants.RP_ORDER parameter (value is "before ").
ORDER_FIRST - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Possible value of the SlingPostConstants.RP_ORDER parameter indicating that the node by moved to the first position amongst its sibblings (value is "first").
ORDER_LAST - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Possible value of the SlingPostConstants.RP_ORDER parameter indicating that the node by moved to the last position amongst its sibblings (value is "last").
orderNode(SlingHttpServletRequest, Item, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Orders the given node according to the specified command.
org.apache.sling.adapter - package org.apache.sling.adapter
 
org.apache.sling.api - package org.apache.sling.api
 
org.apache.sling.api.adapter - package org.apache.sling.api.adapter
 
org.apache.sling.api.auth - package org.apache.sling.api.auth
 
org.apache.sling.api.request - package org.apache.sling.api.request
 
org.apache.sling.api.resource - package org.apache.sling.api.resource
 
org.apache.sling.api.scripting - package org.apache.sling.api.scripting
 
org.apache.sling.api.security - package org.apache.sling.api.security
 
org.apache.sling.api.servlets - package org.apache.sling.api.servlets
 
org.apache.sling.api.wrappers - package org.apache.sling.api.wrappers
 
org.apache.sling.auth.core - package org.apache.sling.auth.core
Provides the authentication helper service as well as a number of utility functions in the AuthUtil class.
org.apache.sling.auth.core.spi - package org.apache.sling.auth.core.spi
Provides API to be implemented by provides of authentication mechanisms.
org.apache.sling.auth.form - package org.apache.sling.auth.form
 
org.apache.sling.commons.classloader - package org.apache.sling.commons.classloader
 
org.apache.sling.commons.compiler - package org.apache.sling.commons.compiler
 
org.apache.sling.commons.json - package org.apache.sling.commons.json
 
org.apache.sling.commons.json.http - package org.apache.sling.commons.json.http
 
org.apache.sling.commons.json.io - package org.apache.sling.commons.json.io
 
org.apache.sling.commons.json.jcr - package org.apache.sling.commons.json.jcr
 
org.apache.sling.commons.json.sling - package org.apache.sling.commons.json.sling
 
org.apache.sling.commons.json.util - package org.apache.sling.commons.json.util
 
org.apache.sling.commons.json.xml - package org.apache.sling.commons.json.xml
 
org.apache.sling.commons.log.logback - package org.apache.sling.commons.log.logback
Provides configuration support for the Logback based logging in Sling
org.apache.sling.commons.mime - package org.apache.sling.commons.mime
Provides the MimeTypeService service used by client to resolve MIME type information as well as the MimeTypeProvider service interface for providers to extend the MIME type setup provided by the MimeTypeService.
org.apache.sling.commons.osgi - package org.apache.sling.commons.osgi
 
org.apache.sling.commons.osgi.bundleversion - package org.apache.sling.commons.osgi.bundleversion
 
org.apache.sling.commons.scheduler - package org.apache.sling.commons.scheduler
 
org.apache.sling.commons.threads - package org.apache.sling.commons.threads
 
org.apache.sling.commons.threads.jmx - package org.apache.sling.commons.threads.jmx
 
org.apache.sling.discovery - package org.apache.sling.discovery
Provides a service to interface which may be implemented by applications to get notified on cluster topology changes.
org.apache.sling.engine - package org.apache.sling.engine
 
org.apache.sling.engine.auth - package org.apache.sling.engine.auth
Provides the original authentication handler service API initially bundled with the Sling Engine bundle.
org.apache.sling.engine.jmx - package org.apache.sling.engine.jmx
 
org.apache.sling.engine.servlets - package org.apache.sling.engine.servlets
 
org.apache.sling.event - package org.apache.sling.event
 
org.apache.sling.event.jobs - package org.apache.sling.event.jobs
 
org.apache.sling.event.jobs.consumer - package org.apache.sling.event.jobs.consumer
 
org.apache.sling.event.jobs.jmx - package org.apache.sling.event.jobs.jmx
 
org.apache.sling.installer.api - package org.apache.sling.installer.api
 
org.apache.sling.installer.api.event - package org.apache.sling.installer.api.event
 
org.apache.sling.installer.api.info - package org.apache.sling.installer.api.info
 
org.apache.sling.installer.api.jmx - package org.apache.sling.installer.api.jmx
 
org.apache.sling.installer.api.tasks - package org.apache.sling.installer.api.tasks
 
org.apache.sling.installer.factories.configuration - package org.apache.sling.installer.factories.configuration
 
org.apache.sling.jackrabbit.usermanager - package org.apache.sling.jackrabbit.usermanager
 
org.apache.sling.jcr.api - package org.apache.sling.jcr.api
 
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.util - package org.apache.sling.jcr.base.util
 
org.apache.sling.jcr.contentloader - package org.apache.sling.jcr.contentloader
 
org.apache.sling.jcr.jackrabbit.accessmanager - package org.apache.sling.jcr.jackrabbit.accessmanager
 
org.apache.sling.jcr.jackrabbit.accessmanager.post - package org.apache.sling.jcr.jackrabbit.accessmanager.post
 
org.apache.sling.jcr.jackrabbit.server - package org.apache.sling.jcr.jackrabbit.server
 
org.apache.sling.jcr.jackrabbit.server.security - package org.apache.sling.jcr.jackrabbit.server.security
 
org.apache.sling.jcr.jackrabbit.server.security.accessmanager - package org.apache.sling.jcr.jackrabbit.server.security.accessmanager
 
org.apache.sling.jcr.registration - package org.apache.sling.jcr.registration
The org.apache.sling.jcr.registration package exports the AbstractRegistrationSupport class which may be extended by service exposing JCR Repository services in any one non-OSGi registry such as RMI or JNDI.
org.apache.sling.jcr.resource - package org.apache.sling.jcr.resource
 
org.apache.sling.models.annotations - package org.apache.sling.models.annotations
 
org.apache.sling.models.annotations.injectorspecific - package org.apache.sling.models.annotations.injectorspecific
 
org.apache.sling.models.spi - package org.apache.sling.models.spi
 
org.apache.sling.models.spi.injectorspecific - package org.apache.sling.models.spi.injectorspecific
 
org.apache.sling.scripting.api - package org.apache.sling.scripting.api
 
org.apache.sling.scripting.core - package org.apache.sling.scripting.core
 
org.apache.sling.scripting.javascript - package org.apache.sling.scripting.javascript
 
org.apache.sling.scripting.javascript.helper - package org.apache.sling.scripting.javascript.helper
 
org.apache.sling.scripting.javascript.io - package org.apache.sling.scripting.javascript.io
 
org.apache.sling.scripting.javascript.wrapper - package org.apache.sling.scripting.javascript.wrapper
 
org.apache.sling.serviceusermapping - package org.apache.sling.serviceusermapping
 
org.apache.sling.servlets.post - package org.apache.sling.servlets.post
 
org.apache.sling.settings - package org.apache.sling.settings
 
OsgiAction - Class in org.apache.sling.commons.log.logback
The action class needs to be referred in external files hence adding a marker class in public package which extends the internal class.
OsgiAction() - Constructor for class org.apache.sling.commons.log.logback.OsgiAction
 
OsgiAppenderRefAction - Class in org.apache.sling.commons.log.logback
The action class needs to be referred in external files hence adding a marker class in public package which extends the internal class.
OsgiAppenderRefAction() - Constructor for class org.apache.sling.commons.log.logback.OsgiAppenderRefAction
 
OsgiInstaller - Interface in org.apache.sling.installer.api
Service for installing/updating/removing installable resources InstallableResource in an OSGi framework.
OSGiService - Annotation Type in org.apache.sling.models.annotations.injectorspecific
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject an OSGi service
OsgiUtil - Class in org.apache.sling.commons.osgi
Deprecated.
Use PropertiesUtil and ServiceUtil instead
OsgiUtil() - Constructor for class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
 
OUT - Static variable in class org.apache.sling.api.scripting.SlingBindings
The name of the global scripting variable providing the java.io.PrintWriter object to return the response content (value is "out").
OWNS_ROOTS - Static variable in interface org.apache.sling.api.resource.ResourceProvider
The name of the service registration property containing the a boolean flag whether this provider owns the tree registered by the roots.

P

PAR_J_VALIDATE - Static variable in class org.apache.sling.auth.core.AuthConstants
The name of the request parameter indicating that the submitted username and password should just be checked and a status code be set for success (200/OK) or failure (403/FORBIDDEN).
parse(String) - Static method in class org.apache.sling.commons.osgi.ManifestHeader
Parse headers Like this: path; path; dir1:=dirval1; dir2:=dirval2; attr1=attrval1; attr2=attrval2, path; path; dir1:=dirval1; dir2:=dirval2; attr1=attrval1; attr2=attrval2 The returned object maintains the order of entries (paths), directives and attributes.
parserAcceptHeader(String) - Static method in class org.apache.sling.api.request.RequestUtil
Parses an Accept-* header of the form:
parserAcceptHeader(String) - Static method in class org.apache.sling.engine.RequestUtil
Deprecated.
Parses an Accept-* header of the form:
parserHeader(String) - Static method in class org.apache.sling.api.request.RequestUtil
Parses a header of the form:
parserHeader(String) - Static method in class org.apache.sling.engine.RequestUtil
Deprecated.
Parses a header of the form:
PASSWORD - Static variable in interface org.apache.sling.api.resource.ResourceResolverFactory
Name of the authentication information property providing the password of the user for which to create a resource resolver.
PATCH_ADD - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Indicates a value to be added to the named multi-value property if the property is being #patched.
PATCH_REMOVE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Indicates a value to be removed from the named multi-value property if the property is being #patched.
Path - Annotation Type in org.apache.sling.models.annotations
Provide a path on an @Inject.
PATH_PROPERTY - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
The name of the service registration property listing one or more URL paths for which the authentication handler is to be used.
PATH_PROPERTY - Static variable in interface org.apache.sling.engine.auth.AuthenticationHandler
Deprecated.
An authentication handler is associated with url paths.
PathImpl(String) - Constructor for class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
PersistableValueMap - Interface in org.apache.sling.api.resource
Deprecated.
Use the ModifiableValueMap instead.
PersistenceException - Exception in org.apache.sling.api.resource
This exception will be thrown during the try to persist changes to a PersistableValueMap, a ModifiableValueMap#update() or the ResourceResolver.
PersistenceException() - Constructor for exception org.apache.sling.api.resource.PersistenceException
Create a new persistence exception.
PersistenceException(String) - Constructor for exception org.apache.sling.api.resource.PersistenceException
Create a new persistence exception.
PersistenceException(String, Throwable) - Constructor for exception org.apache.sling.api.resource.PersistenceException
Create a new persistence exception.
PersistenceException(String, Throwable, String, String) - Constructor for exception org.apache.sling.api.resource.PersistenceException
Create a new persistence exception.
pick(Class<?>, Class<?>[], Object) - Method in interface org.apache.sling.models.spi.ImplementationPicker
Select an implementation for the adapter class to which the adaptable should be adapted to.
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.
PN_CHANGE_LOG - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
human readable changelog
PN_ERROR - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
The Throwable caught while processing the request.
PN_ERROR - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the error property set by AbstractPostResponse.setError(Throwable)
PN_IS_CREATED - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Indicating whether request processing created new data.
PN_IS_CREATED - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the create status property set by AbstractPostResponse.setCreateRequest(boolean)
PN_LOCATION - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
externally mapped location url of the modified path
PN_LOCATION - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the location property set by AbstractPostResponse.setLocation(String)
PN_PARENT_LOCATION - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
externally mapped location url of the parent of the modified path
PN_PARENT_LOCATION - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the parent location property set by AbstractPostResponse.setParentLocation(String)
PN_PATH - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
the path of the modified item.
PN_PATH - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the path property set by AbstractPostResponse.setPath(String)
PN_REFERER - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
the referrer of the request
PN_REFERER - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the referer property set by AbstractPostResponse.setReferer(String)
PN_STATUS_CODE - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
status code.
PN_STATUS_CODE - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the status code property set by AbstractPostResponse.setStatus(int, String)
PN_STATUS_MESSAGE - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
some human readable status message
PN_STATUS_MESSAGE - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the status message property set by AbstractPostResponse.setStatus(int, String)
PN_TITLE - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
some human readable title like: 200 Created /foo/bar
PN_TITLE - Static variable in class org.apache.sling.servlets.post.AbstractPostResponse
Name of the title property set by AbstractPostResponse.setTitle(String)
PostOperation - Interface in org.apache.sling.servlets.post
The PostOperation interface defines the service API to be implemented by service providers extending the Sling POST servlet.
postProcess(AuthenticationInfo, HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.AuthenticationInfoPostProcessor
Perform some post-processing on the AuthenticationInfo object.
PostResponse - Interface in org.apache.sling.servlets.post
The PostResponse interface defines the API of a response container which can (and should) be used by PostOperation services to prepare responses to be sent back to the client.
PostResponseCreator - Interface in org.apache.sling.servlets.post
Service interface which allows for alternate implementations of the PostResponse interface to be created as needed.
PostResponseWithErrorHandling - Class in org.apache.sling.servlets.post
 
PostResponseWithErrorHandling() - Constructor for class org.apache.sling.servlets.post.PostResponseWithErrorHandling
 
prettyPrint(JSONObject, JSONRenderer.Options) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Make a prettyprinted JSON text of this JSONObject.
prettyPrint(JSONArray, JSONRenderer.Options) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Pretty-print a JSONArray
PrivilegesInfo - Class in org.apache.sling.jcr.jackrabbit.accessmanager
Helper class to assist in the usage of access control from scripts.
PrivilegesInfo() - Constructor for class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
 
PrivilegesInfo.AccessRights - Class in org.apache.sling.jcr.jackrabbit.accessmanager
Wrapper class that holds the set of Privileges that are granted and/or denied for a specific principal.
process(Job) - Method in interface org.apache.sling.event.jobs.consumer.JobConsumer
Execute the job.
process(Job, JobExecutionContext) - Method in interface org.apache.sling.event.jobs.consumer.JobExecutor
Execute the job.
process(Event) - Method in interface org.apache.sling.event.jobs.JobProcessor
Deprecated.
Execute the job.
process(SlingHttpServletRequest, List<Modification>) - Method in interface org.apache.sling.servlets.post.SlingPostProcessor
Process the current request.
processJob(Event, JobProcessor) - Static method in class org.apache.sling.event.EventUtil
processJob(Event, JobProcessor) - Static method in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new JobConsumer interface instead.
processRequest(HttpServletRequest, HttpServletResponse, ResourceResolver) - Method in interface org.apache.sling.engine.SlingRequestProcessor
Process an HTTP request through the Sling request processing engine.
PROP_OPERATION_NAME - Static variable in interface org.apache.sling.servlets.post.PostOperation
The name of the service registration property indicating the name(s) of the operation provided by the operation implementation.
PROP_OPERATION_NAME - Static variable in interface org.apache.sling.servlets.post.SlingPostOperation
Deprecated.
The name of the service registration property indicating the name(s) of the operation provided by the operation implementation (value is "sling.post.operation").
properties(Map<String, Object>) - Method in interface org.apache.sling.event.jobs.JobBuilder
Set the optional configuration properties for the job.
PropertiesUtil - Class in org.apache.sling.commons.osgi
The PropertiesUtil is a utility class providing some usefull utility methods for converting property types.
PropertiesUtil() - Constructor for class org.apache.sling.commons.osgi.PropertiesUtil
 
PROPERTY_ADAPTABLE_CLASSES - Static variable in class org.apache.sling.api.SlingConstants
The event property listing the fully qualified names of classes which can be adapted by this adapter factory (value is "adaptables").
PROPERTY_ADAPTER_CLASSES - Static variable in class org.apache.sling.api.SlingConstants
The event property listing the fully qualified names of classes to which this factory can adapt adaptables (value is "adapters").
PROPERTY_ADDED_ATTRIBUTES - Static variable in class org.apache.sling.api.SlingConstants
The name of the event property holding the added attribute names of a resource for an SlingConstants.TOPIC_RESOURCE_CHANGED event.
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_APPLICATION - Static variable in class org.apache.sling.event.EventUtil
This event property specifies the application node.
PROPERTY_BLOCK_POLICY - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Configuration property for the block policy.
PROPERTY_CHANGED_ATTRIBUTES - Static variable in class org.apache.sling.api.SlingConstants
The name of the event property holding the changed attribute names of a resource for an SlingConstants.TOPIC_RESOURCE_CHANGED event.
PROPERTY_DAEMON - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Configuration property for the daemon flag.
PROPERTY_DEFAULT_WORKSPACE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
PROPERTY_DESCRIPTION - Static variable in interface org.apache.sling.discovery.InstanceDescription
Property containing a description for the instance.
PROPERTY_DISTRIBUTE - Static variable in class org.apache.sling.event.EventUtil
This event property indicates, if the event should be distributed in the cluster (default false).
PROPERTY_ENDPOINTS - Static variable in interface org.apache.sling.discovery.InstanceDescription
Property containing endpoints to connect to the instance.
PROPERTY_EVENT_ID - Static variable in interface org.apache.sling.event.JobStatusProvider
Deprecated.
PROPERTY_EVENT_ID - Static variable in interface org.apache.sling.event.TimedEventStatusProvider
Deprecated.
This is a unique identifier which can be used to cancel the job.
PROPERTY_FINISHED_DATE - Static variable in interface org.apache.sling.event.jobs.Job
This property contains the finished date once a job is marked as finished.
PROPERTY_JOB_APPLICATION - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
PROPERTY_JOB_ASYNC_HANDLER - Static variable in interface org.apache.sling.event.jobs.consumer.JobConsumer
Job property containing an asynchronous handler.
PROPERTY_JOB_CREATED - Static variable in interface org.apache.sling.event.jobs.Job
This property is set by the job handling and contains a calendar object specifying the date and time when this job has been created.
PROPERTY_JOB_CREATED - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
PROPERTY_JOB_CREATED_APPLICATION - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
PROPERTY_JOB_CREATED_INSTANCE - Static variable in interface org.apache.sling.event.jobs.Job
This property is set by the job handling and contains the Sling instance ID of the instance where this job has been created.
PROPERTY_JOB_DESCRIPTION - Static variable in interface org.apache.sling.event.jobs.Job
This is an optional property containing a human readable description for the job
PROPERTY_JOB_ID - Static variable in class org.apache.sling.event.EventUtil
Deprecated.
PROPERTY_JOB_NAME - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
PROPERTY_JOB_PARALLEL - Static variable in class org.apache.sling.event.EventUtil
PROPERTY_JOB_PARALLEL - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated. 
PROPERTY_JOB_PRIORITY - Static variable in class org.apache.sling.event.EventUtil
PROPERTY_JOB_PRIORITY - Static variable in interface org.apache.sling.event.jobs.Job
Deprecated. 
PROPERTY_JOB_PRIORITY - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
PROPERTY_JOB_PROGRESS_ETA - Static variable in interface org.apache.sling.event.jobs.Job
This property contains the optional ETA for a job.
PROPERTY_JOB_PROGRESS_LOG - Static variable in interface org.apache.sling.event.jobs.Job
This property contains the optional output log of a job consumer.
PROPERTY_JOB_PROGRESS_STEP - Static variable in interface org.apache.sling.event.jobs.Job
This property contains optional progress information about a job, the number of completed steps.
PROPERTY_JOB_PROGRESS_STEPS - Static variable in interface org.apache.sling.event.jobs.Job
This property contains optional progress information about a job, the number of steps the job consumer will perform.
PROPERTY_JOB_QUEUE_NAME - Static variable in class org.apache.sling.event.EventUtil
PROPERTY_JOB_QUEUE_NAME - Static variable in interface org.apache.sling.event.jobs.Job
The name of the job queue processing this job.
PROPERTY_JOB_QUEUE_NAME - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
PROPERTY_JOB_QUEUE_ORDERED - Static variable in class org.apache.sling.event.EventUtil
PROPERTY_JOB_QUEUE_ORDERED - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated. 
PROPERTY_JOB_RETRIES - Static variable in class org.apache.sling.event.EventUtil
PROPERTY_JOB_RETRIES - Static variable in interface org.apache.sling.event.jobs.Job
The property to track the retry maximum retry count for jobs.
PROPERTY_JOB_RETRIES - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
PROPERTY_JOB_RETRY_COUNT - Static variable in class org.apache.sling.event.EventUtil
PROPERTY_JOB_RETRY_COUNT - Static variable in interface org.apache.sling.event.jobs.Job
The property to track the retry count for jobs.
PROPERTY_JOB_RETRY_COUNT - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
PROPERTY_JOB_RETRY_DELAY - Static variable in class org.apache.sling.event.EventUtil
PROPERTY_JOB_RETRY_DELAY - Static variable in interface org.apache.sling.event.jobs.Job
The property to set a retry delay.
PROPERTY_JOB_RETRY_DELAY - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new Job interface instead.
PROPERTY_JOB_RUN_LOCAL - Static variable in class org.apache.sling.event.EventUtil
PROPERTY_JOB_RUN_LOCAL - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated. 
PROPERTY_JOB_STARTED_TIME - Static variable in interface org.apache.sling.event.jobs.Job
This property is set by the job handling and contains a calendar object specifying the date and time when this job has been started.
PROPERTY_JOB_TARGET_INSTANCE - Static variable in interface org.apache.sling.event.jobs.Job
This property is set by the job handling and contains the Sling instance ID of the instance where this job should be processed.
PROPERTY_JOB_TITLE - Static variable in interface org.apache.sling.event.jobs.Job
This is an optional property containing a human readable title for the job
PROPERTY_JOB_TOPIC - Static variable in class org.apache.sling.event.EventUtil
PROPERTY_JOB_TOPIC - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
PROPERTY_KEEP_ALIVE_TIME - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Configuration property for the keep alive time.
PROPERTY_LOGIN_ADMIN_ENABLED - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
PROPERTY_MAX_POOL_SIZE - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Configuration property for the max pool size.
PROPERTY_MIN_POOL_SIZE - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Configuration property for the min pool size.
PROPERTY_NAME - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Configuration property for the thread pool name.
PROPERTY_NAME - Static variable in interface org.apache.sling.discovery.InstanceDescription
Property containing a name for the instance.
PROPERTY_NOTIFICATION_JOB - Static variable in class org.apache.sling.event.EventUtil
PROPERTY_NOTIFICATION_JOB - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated. 
PROPERTY_PATH - Static variable in class org.apache.sling.api.SlingConstants
The name of the event property holding the resource path.
PROPERTY_PERSISTENCE - Static variable in class org.apache.sling.installer.factories.configuration.ConfigurationConstants
This property defines if a configuration should be persisted by the installer.
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.
 
PROPERTY_PRIORITY - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Configuration property for the priority.
PROPERTY_PROPERTIES - Static variable in interface org.apache.sling.discovery.PropertyProvider
The name of the service registration property containing the names of the properties provided by this provider.
PROPERTY_QUEUE_SIZE - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Configuration property for the queue size.
PROPERTY_REMOVED_ATTRIBUTES - Static variable in class org.apache.sling.api.SlingConstants
The name of the event property holding the removed attribute names of a resource for an SlingConstants.TOPIC_RESOURCE_CHANGED event.
PROPERTY_REQUIRED - Static variable in interface org.apache.sling.api.resource.ResourceProviderFactory
A required resource provider factory is accessed directly when a new resource resolver is created.
PROPERTY_RESOURCE_SUPER_TYPE - Static variable in class org.apache.sling.api.SlingConstants
The name of the event property holding the resource super type.
PROPERTY_RESOURCE_TYPE - Static variable in interface org.apache.sling.api.resource.ResourceResolver
This is the suggested property to be used for setting the resource type of a resource during either creation (ResourceResolver.create(Resource, String, Map)) or modifying (ModifiableValueMap).
PROPERTY_RESOURCE_TYPE - Static variable in class org.apache.sling.api.SlingConstants
The name of the event property holding the resource type.
PROPERTY_RESULT_MESSAGE - Static variable in interface org.apache.sling.event.jobs.Job
This property contains the optional result message of a job consumer.
PROPERTY_SCHEDULER_CONCURRENT - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define if the job can be run concurrently.
PROPERTY_SCHEDULER_EXPRESSION - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define the cron expression for a job.
PROPERTY_SCHEDULER_IMMEDIATE - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define if a periodically job should be scheduled immediate.
PROPERTY_SCHEDULER_NAME - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define the job name.
PROPERTY_SCHEDULER_PERIOD - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define the period for a job.
PROPERTY_SCHEDULER_RUN_ON - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the configuration property to define the instances this job should run on.
PROPERTY_SCHEDULER_TIMES - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Name of the optional configuration property to define the number of times the job should be executed when Scheduler.PROPERTY_SCHEDULER_PERIOD is defined.
PROPERTY_SCHEMES - Static variable in interface org.apache.sling.installer.api.UpdateHandler
Required configuration property defining the schemes, this handler is handling.
PROPERTY_SCRIPT_ENGINE_FACTORY_EXTENSIONS - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
The event property listing the script engine factory extensions.
PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_NAME - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
The event property listing the script engine factory language.
PROPERTY_SCRIPT_ENGINE_FACTORY_LANGUAGE_VERSION - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
The event property listing the script engine factory language version.
PROPERTY_SCRIPT_ENGINE_FACTORY_MIME_TYPES - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
The event property listing the script engine factory mime types.
PROPERTY_SCRIPT_ENGINE_FACTORY_NAME - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
The event property listing the script engine factory name.
PROPERTY_SCRIPT_ENGINE_FACTORY_VERSION - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
The event property listing the script engine factory name.
PROPERTY_SHUTDOWN_GRACEFUL - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Configuration property for the shutdown graceful flag.
PROPERTY_SHUTDOWN_WAIT_TIME - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Configuration property for the shutdown wait time.
PROPERTY_TIMED_EVENT_DATE - Static variable in class org.apache.sling.event.EventUtil
Deprecated.
Use scheduled jobs instead
PROPERTY_TIMED_EVENT_ID - Static variable in class org.apache.sling.event.EventUtil
Deprecated.
Use scheduled jobs instead
PROPERTY_TIMED_EVENT_PERIOD - Static variable in class org.apache.sling.event.EventUtil
Deprecated.
Use scheduled jobs instead
PROPERTY_TIMED_EVENT_SCHEDULE - Static variable in class org.apache.sling.event.EventUtil
Deprecated.
Use scheduled jobs instead
PROPERTY_TIMED_EVENT_TOPIC - Static variable in class org.apache.sling.event.EventUtil
Deprecated.
Use scheduled jobs instead
PROPERTY_TOPICS - Static variable in interface org.apache.sling.event.jobs.consumer.JobConsumer
Service registration property defining the jobs this consumer is able to process.
PROPERTY_TOPICS - Static variable in interface org.apache.sling.event.jobs.consumer.JobExecutor
Service registration property defining the jobs this executor is able to process.
PROPERTY_USERID - Static variable in class org.apache.sling.api.SlingConstants
The name of the event property holding the userid.
PropertyProvider - Interface in org.apache.sling.discovery
The PropertyProvider service interface may be implemented by components that wish to define properties on the local instance which then are broadcast to the TopologyView instances.
PROVIDER_CONTEXT - Static variable in interface org.apache.sling.api.security.ResourceAccessSecurity
Allowed value for the ResourceAccessSecurity.CONTEXT service registration property.
put(String, Object) - Method in class org.apache.sling.api.resource.ResourceMetadata
 
put(String, Object) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
put(String, Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
put(String, Object) - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
Sets or resets a property with the given key to a new value.
put(boolean) - Method in class org.apache.sling.commons.json.JSONArray
Append a boolean value.
put(Collection<?>) - Method in class org.apache.sling.commons.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(double) - Method in class org.apache.sling.commons.json.JSONArray
Append a double value.
put(int) - Method in class org.apache.sling.commons.json.JSONArray
Append an int value.
put(long) - Method in class org.apache.sling.commons.json.JSONArray
Append an long value.
put(Map<String, ?>) - Method in class org.apache.sling.commons.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(Object) - Method in class org.apache.sling.commons.json.JSONArray
Append an object value.
put(int, boolean) - Method in class org.apache.sling.commons.json.JSONArray
Put or replace a boolean value in the JSONArray.
put(int, Collection<?>) - Method in class org.apache.sling.commons.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(int, double) - Method in class org.apache.sling.commons.json.JSONArray
Put or replace a double value.
put(int, int) - Method in class org.apache.sling.commons.json.JSONArray
Put or replace an int value.
put(int, long) - Method in class org.apache.sling.commons.json.JSONArray
Put or replace a long value.
put(int, Map<String, ?>) - Method in class org.apache.sling.commons.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(int, Object) - Method in class org.apache.sling.commons.json.JSONArray
Put or replace an object value in the JSONArray.
put(String, Collection<?>) - Method in class org.apache.sling.commons.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
put(String, boolean) - Method in class org.apache.sling.commons.json.JSONObject
Put a key/boolean pair in the JSONObject.
put(String, double) - Method in class org.apache.sling.commons.json.JSONObject
Put a key/double pair in the JSONObject.
put(String, int) - Method in class org.apache.sling.commons.json.JSONObject
Put a key/int pair in the JSONObject.
put(String, long) - Method in class org.apache.sling.commons.json.JSONObject
Put a key/long pair in the JSONObject.
put(String, Map<String, ?>) - Method in class org.apache.sling.commons.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
put(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
Put a key/value pair in the JSONObject.
put(String, Object) - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
put(String, Object) - Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
put(String, Object) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.sling.api.resource.ResourceMetadata
 
putAll(Map<? extends String, ?>) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
putAll(Map<? extends String, ?>) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
putOpt(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.

Q

QueriableResourceProvider - Interface in org.apache.sling.api.resource
A queriable resource provider is an extension of a resource provider.
query(Session, String, String) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Helper method to execute a JCR query
queryAllJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated.
Return all jobs either running or scheduled.
queryCurrentJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated.
Return the jobs which are currently in processing.
queryJobs(JobManager.QueryType, String, Map<String, Object>...) - Method in interface org.apache.sling.event.jobs.JobManager
queryJobs(JobManager.QueryType, String, long, Map<String, Object>...) - Method in interface org.apache.sling.event.jobs.JobManager
queryResources(ResourceResolver, String, String) - Method in interface org.apache.sling.api.resource.QueriableResourceProvider
Queries the storage using the given query formulated in the given language.
queryResources(String, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Queries the storage using the given query formulated in the given language.
queryScheduledJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated.
Return a list of currently scheduled jobs.
QuerySyntaxException - Exception in org.apache.sling.api.resource
The QuerySyntaxException is thrown by the ResourceResolver.findResources(String, String) and ResourceResolver.queryResources(String, String) methods if the query syntax is wrong or the requested query language is not available.
QuerySyntaxException(String, String, String) - Constructor for exception org.apache.sling.api.resource.QuerySyntaxException
 
QuerySyntaxException(String, String, String, Throwable) - Constructor for exception org.apache.sling.api.resource.QuerySyntaxException
 
QUEST - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '?'.
Queue - Interface in org.apache.sling.event.jobs
This is a job queue processing job events.
QueueConfiguration - Interface in org.apache.sling.event.jobs
The configuration of a queue.
QueueConfiguration.ThreadPriority - Enum in org.apache.sling.event.jobs
The thread priority.
QueueConfiguration.Type - Enum in org.apache.sling.event.jobs
The queue type.
QueuesMBean - Interface in org.apache.sling.event.jobs.jmx
A Marker interface to allow the implementation to register as a service with the JMX whiteboard.
QUOT - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '"'.
quote(String) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Quote the supplied string for JSON
quote(Writer, String) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Quote the supplied string for JSON, to the supplied Writer
quote(String) - Static method in class org.apache.sling.commons.json.JSONObject
Produce a string in double quotes with backslash sequences in all the right places.

R

READ - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
 
read() - Method in class org.apache.sling.scripting.javascript.io.EspReader
Return the next filtered character.
read(char[]) - Method in class org.apache.sling.scripting.javascript.io.EspReader
Fill the given buffer with filtered or injected characters.
read(char[], int, int) - Method in class org.apache.sling.scripting.javascript.io.EspReader
Fill the buffer from the offset with the number of characters given.
READER - Static variable in class org.apache.sling.api.scripting.SlingBindings
The name of the global scripting variable providing the Reader object (value is "reader").
ready() - Method in class org.apache.sling.scripting.javascript.io.EspReader
Check whether we may block at the next read() operation.
recursionLevelActive(int, int) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
true if the current recursion level is active
RecursionTooDeepException - Exception in org.apache.sling.api.request
The RecursionTooDeepException is thrown by the Sling implementation if to many recursive content inclusions take place.
RecursionTooDeepException(String) - Constructor for exception org.apache.sling.api.request.RecursionTooDeepException
Creates a new instance of this class reporting the exception occurred while trying to include the output for rendering the resource at the given path.
REDIRECT_PARAMETER - Static variable in interface org.apache.sling.auth.core.AuthenticationSupport
The name of the request parameter indicating where to redirect to after successful authentication (and optional impersonation).
references - Variable in class org.apache.sling.scripting.core.ScriptHelper
The list of references - we don't need to synchronize this as we are running in one single request.
refresh() - Method in interface org.apache.sling.api.resource.RefreshableResourceProvider
The provider is updated to reflect the latest state.
refresh() - Method in interface org.apache.sling.api.resource.ResourceResolver
The resolver is updated to reflect the latest state.
RefreshableResourceProvider - Interface in org.apache.sling.api.resource
A resource provider might return the state when it was created and not update to the latest state.
RegisteredResource - Interface in org.apache.sling.installer.api.tasks
A resource that's been registered in the OSGi controller.
registerMimeType(String, String...) - Method in interface org.apache.sling.commons.mime.MimeTypeService
Dynamically register a new mime type with one or more file name extensions.
registerMimeType(InputStream) - Method in interface org.apache.sling.commons.mime.MimeTypeService
Register MIME types stored in the given input stream formatted as a regular MIME type file format: One entry per line.
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
 
registerResources(String, InstallableResource[]) - Method in interface org.apache.sling.installer.api.OsgiInstaller
Provide the installer with the complete list of installable resources for a given client.
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.
registerWrapper(Class<?>, String) - Method in class org.apache.sling.scripting.javascript.helper.SlingWrapFactory
 
registryLock - Variable in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
A lock to serialize access to the registry management in this class.
release(ClassLoader) - Method in interface org.apache.sling.commons.classloader.DynamicClassLoaderProvider
Deprecated.
Release the provided class loader.
release(ThreadPool) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
Release the thread pool again.
remove(Object) - Method in class org.apache.sling.api.resource.ResourceMetadata
 
remove(Object) - Method in class org.apache.sling.api.wrappers.CompositeValueMap
remove(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
remove(Object) - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
Removes the entry with the given key and returns its former value (if existing).
remove(String) - Method in class org.apache.sling.commons.json.JSONObject
Remove a name and its value, if present.
remove(Object) - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
remove(Object) - Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
remove(Object) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
REMOVE_NODE - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
 
REMOVE_PROPERTY - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
 
removeAll() - Method in interface org.apache.sling.event.jobs.Queue
Remove all outstanding jobs and delete them.
removeAndValidateWorkspace(String, Session) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Remove the workspace name, if any, from the start of the path and validate that the session's workspace name matches the path workspace name.
removedService(ServiceReference, Object) - Method in class org.apache.sling.commons.osgi.SortingServiceTracker
 
removeJob(String) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Deprecated.
removeJob(String) - Method in interface org.apache.sling.event.jobs.JobManager
removeJob(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated.
Cancel this job.
removeJob(String, String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated.
Cancel this job.
removeJobById(String) - Method in interface org.apache.sling.event.jobs.JobManager
Removes the job even if it is currently in processing.
rename(String, String) - Method in interface org.apache.sling.commons.classloader.ClassLoaderWriter
Rename a class/resource.
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_REGISTRATION_NAME - Static variable in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
The JCR Repository service registration property used to create the registration name.
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
 
REQUEST - Static variable in class org.apache.sling.api.scripting.SlingBindings
The name of the global scripting variable providing the SlingHttpServletRequest object (value is "request").
REQUEST_ATTR_WORKSPACE_INFO - Static variable in interface org.apache.sling.api.resource.ResourceResolver
Deprecated. 
REQUEST_ATTRIBUTE_RESOLVER - Static variable in interface org.apache.sling.auth.core.AuthenticationSupport
The name of the request attribute set by the AuthenticationSupport.handleSecurity(HttpServletRequest, HttpServletResponse) method if authentication succeeds and true is returned.
REQUEST_LOG_NAME - Static variable in interface org.apache.sling.engine.RequestLog
Deprecated.
The name of the service property which is compared to the name of the RequestLog service to be used to write the log messages (value is "requestlog.name").
REQUEST_LOGIN_PARAMETER - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
The request parameter which may be used to explicitly select an authentication handler by its type if authentication will be requested through AuthenticationHandler.requestCredentials(HttpServletRequest, HttpServletResponse).
RequestAttribute - Annotation Type in org.apache.sling.models.annotations.injectorspecific
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject a request attribute.
requestAuthentication(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.AuthenticationHandler
Deprecated.
Requests authentication information from the client.
requestCredentials(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.auth.core.spi.AuthenticationHandler
Requests authentication information from the client.
RequestDispatcherOptions - Class in org.apache.sling.api.request
RequestDispatcherOptions are used in the SlingHttpServletRequest.getRequestDispatcher(org.apache.sling.api.resource.Resource, RequestDispatcherOptions) method, to give more control on some aspects of the include/forward mechanism.
RequestDispatcherOptions() - Constructor for class org.apache.sling.api.request.RequestDispatcherOptions
Creates an instance with no options set.
RequestDispatcherOptions(String) - Constructor for class org.apache.sling.api.request.RequestDispatcherOptions
Creates a new instances setting options by parsing the given options string as follows: If the string is empty or null no options are set. If the string neither contains a comma nor an equals sign, the string is assumed to be a resource type.
RequestLog - Interface in org.apache.sling.engine
Deprecated.
Use the request progress tracker instead.
RequestParameter - Interface in org.apache.sling.api.request
The RequestParameter class represents a single parameter sent with the client request.
RequestParameterMap - Interface in org.apache.sling.api.request
The RequestParameterMap encapsulates all request parameters of a request.
RequestPathInfo - Interface in org.apache.sling.api.request
Sling breaks the request URI into four parts: the path itself, optional dot-separated selectors and extension that follow it, and an optional path suffix.
RequestProcessorMBean - Interface in org.apache.sling.engine.jmx
This is the management interface for the SlingRequestProcessor.
RequestProgressTracker - Interface in org.apache.sling.api.request
The RequestProgressTracker class provides the functionality to track the progress of request processing.
RequestUtil - Class in org.apache.sling.api.request
Request related utility methods.
RequestUtil() - Constructor for class org.apache.sling.api.request.RequestUtil
 
RequestUtil - Class in org.apache.sling.engine
Deprecated.
RequestUtil() - Constructor for class org.apache.sling.engine.RequestUtil
Deprecated.
 
require(Context, Scriptable, Object[]) - Method in class org.apache.sling.scripting.javascript.helper.SlingGlobal
 
Required - Annotation Type in org.apache.sling.models.annotations
Marker annotation for required injections.
requireItemPathPrefix(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Returns true if any of the request parameters starts with ./.
reschedule() - Method in interface org.apache.sling.event.jobs.ScheduledJobInfo
Reschedule this job with a new rescheduling information.
rescheduleJob(Event) - Static method in class org.apache.sling.event.EventUtil
rescheduleJob(Event) - Static method in class org.apache.sling.event.jobs.JobUtil
Deprecated.
- Use the new JobConsumer interface instead.
reset() - Method in interface org.apache.sling.api.resource.PersistableValueMap
Deprecated.
Reset the changes.
reset() - Method in interface org.apache.sling.event.jobs.Statistics
Clear all collected statistics and set the starting time to the current time.
reset() - Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
reset() - Method in class org.apache.sling.scripting.javascript.helper.ModuleScope
 
reset() - Method in class org.apache.sling.scripting.javascript.io.EspReader
Reset the stream.
resetStatistics() - Method in interface org.apache.sling.engine.jmx.RequestProcessorMBean
Resets all statistics values and restarts from zero.
RESOLUTION_PATH - Static variable in class org.apache.sling.api.resource.ResourceMetadata
The name of the required property providing the part of the request URI which was used to the resolve the resource to which the meta data instance belongs (value is "sling.resolutionPath").
RESOLUTION_PATH_INFO - Static variable in class org.apache.sling.api.resource.ResourceMetadata
The name of the required property providing the part of the request URI which was not used to the resolve the resource to which the meta data instance belongs (value is "sling.resolutionPathInfo").
resolve(HttpServletRequest, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Resolves the resource from the given absPath optionally taking HttpServletRequest into account, such as the value of the Host request header.
resolve(String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Resolves the resource from the given absolute path.
resolve(HttpServletRequest) - Method in interface org.apache.sling.api.resource.ResourceResolver
Deprecated.
resolvePath(String, String) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Resolves the given path with respect to the current root path.
resolveServlet(SlingHttpServletRequest) - Method in interface org.apache.sling.api.servlets.ServletResolver
Resolves a javax.servlet.Servlet whose service method may be used to handle the given request.
resolveServlet(Resource, String) - Method in interface org.apache.sling.api.servlets.ServletResolver
Resolves a javax.servlet.Servlet whose service method may be used to handle a request.
resolveServlet(ResourceResolver, String) - Method in interface org.apache.sling.api.servlets.ServletResolver
Resolves a javax.servlet.Servlet whose service method may be used to handle a request.
Resource - Interface in org.apache.sling.api.resource
Resources are pieces of content on which Sling acts
RESOURCE - Static variable in class org.apache.sling.api.scripting.SlingBindings
The name of the global scripting variable providing the Resource object (value is "resource").
resource - Variable in class org.apache.sling.commons.json.sling.ResourceTraversor.Entry
 
Resource - Interface in org.apache.sling.installer.api.info
A resource provides all relevant information about a registered resource.
RESOURCE_TYPE_NON_EXISTING - Static variable in interface org.apache.sling.api.resource.Resource
The special resource type for resource instances representing nonexisting resources (value is "sling:nonexisting").
RESOURCE_TYPE_SYNTHETIC - Static variable in interface org.apache.sling.api.resource.ResourceProvider
The resource type be set on resources returned by the ResourceProvider.listChildren(Resource) method to enable traversing the resource tree down to a deeply nested provided resource which has no concrete parent hierarchy (value is"sling:syntheticResourceProviderResource").
RESOURCE_URI_HINT - Static variable in class org.apache.sling.installer.api.InstallableResource
Optional parameter in the dictionary if a resource (not a dict) is installed.
ResourceAccessSecurity - Interface in org.apache.sling.api.security
The ResourceAccessSecurity defines a service API which is used in two different context: for securing resource providers which have no own access control and on the application level to further restrict the access to resources in general.
resourceAddedOrUpdated(String, String, InputStream, Dictionary<String, Object>, Map<String, Object>) - Method in interface org.apache.sling.installer.api.ResourceChangeListener
Inform the installer about an added or updated resource
ResourceChangeListener - Interface in org.apache.sling.installer.api
OSGi Service listening for changes of resources.
ResourceDecorator - Interface in org.apache.sling.api.resource
Optional service to decorate Resources returned by the ResourceResolver.
ResourceGroup - Interface in org.apache.sling.installer.api.info
This is a group of resources all pointing to the same artifact, but maybe in different versions or locations.
ResourceMetadata - Class in org.apache.sling.api.resource
The ResourceMetadata interface defines the API for the metadata of a Sling Resource.
ResourceMetadata() - Constructor for class org.apache.sling.api.resource.ResourceMetadata
 
ResourceNotFoundException - Exception in org.apache.sling.api.resource
An Exception that causes Sling to return a 404 (NOT FOUND) status code.
ResourceNotFoundException(String) - Constructor for exception org.apache.sling.api.resource.ResourceNotFoundException
 
ResourceNotFoundException(String, String) - Constructor for exception org.apache.sling.api.resource.ResourceNotFoundException
 
ResourceNotFoundException(String, Throwable) - Constructor for exception org.apache.sling.api.resource.ResourceNotFoundException
 
ResourceNotFoundException(String, String, Throwable) - Constructor for exception org.apache.sling.api.resource.ResourceNotFoundException
 
ResourcePath - Annotation Type in org.apache.sling.models.annotations.injectorspecific
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject a resource by path.
ResourceProvider - Interface in org.apache.sling.api.resource
API for providers of resources.
ResourceProviderFactory - Interface in org.apache.sling.api.resource
The ResourceProviderFactory defines the service API to get and create ResourceProviderss dynamically on a per usage base.
resourceRemoved(String, String) - Method in interface org.apache.sling.installer.api.ResourceChangeListener
Inform the installer about a removed resource
ResourceResolver - Interface in org.apache.sling.api.resource
The ResourceResolver defines the service API which may be used to resolve Resource objects.
ResourceResolverFactory - Interface in org.apache.sling.api.resource
The ResourceResolverFactory defines the service API to get and create ResourceResolvers.
ResourceState - Enum in org.apache.sling.installer.api.tasks
The state of a resource.
ResourceTransformer - Interface in org.apache.sling.installer.api.tasks
A resource transformer transform a registered resource before it can be installed.
ResourceTraversor - Class in org.apache.sling.commons.json.sling
 
ResourceTraversor(int, long, Resource, boolean) - Constructor for class org.apache.sling.commons.json.sling.ResourceTraversor
 
ResourceTraversor.Entry - Class in org.apache.sling.commons.json.sling
 
resourceTypeToPath(String) - Static method in class org.apache.sling.api.resource.ResourceUtil
Helper method, which returns the given resource type as returned from the Resource.getResourceType() as a relative path.
resourceTypeToPath(String) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
ResourceUtil - Class in org.apache.sling.api.resource
The ResourceUtil class provides helper methods dealing with resources.
ResourceUtil() - Constructor for class org.apache.sling.api.resource.ResourceUtil
 
ResourceUtil.BatchResourceRemover - Class in org.apache.sling.api.resource
A batch resource remover deletes resources in batches.
ResourceWrapper - Class in org.apache.sling.api.resource
The ResourceWrapper is a wrapper for any Resource delegating all method calls to the wrapped resource by default.
ResourceWrapper(Resource) - Constructor for class org.apache.sling.api.resource.ResourceWrapper
Creates a new wrapper instance delegating all method calls to the given resource.
RESPONSE - Static variable in class org.apache.sling.api.scripting.SlingBindings
The name of the global scripting variable providing the SlingHttpServletResponse object (value is "response").
RESPONSE_CONTENT_TYPE - Static variable in class org.apache.sling.servlets.post.JSONResponse
 
ResponseUtil - Class in org.apache.sling.api.request
Response related utility methods
ResponseUtil() - Constructor for class org.apache.sling.api.request.ResponseUtil
 
ResponseUtil - Class in org.apache.sling.engine
Deprecated.
ResponseUtil() - Constructor for class org.apache.sling.engine.ResponseUtil
Deprecated.
 
restart() - Method in interface org.apache.sling.event.jobs.JobManager
Restart the job manager.
result() - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext
Build a result for the processing.
resume() - Method in interface org.apache.sling.event.jobs.Queue
Resume a suspended queue.
resume() - Method in interface org.apache.sling.event.jobs.ScheduledJobInfo
Resume job processing.
RetryHandler - Interface in org.apache.sling.installer.api.tasks
The retry handler should be informed by external services whenever something in the system changed which might make it worth to retry a failed installed.
retryJobById(String) - Method in interface org.apache.sling.event.jobs.JobManager
Retry a cancelled job.
revert(ResourceResolver) - Method in interface org.apache.sling.api.resource.ModifyingResourceProvider
Revert all transient changes: create, delete and updates.
revert() - Method in interface org.apache.sling.api.resource.ResourceResolver
Revert all pending changes.
RhinoHostObjectProvider - Interface in org.apache.sling.scripting.javascript
The RhinoHostObjectProvider defines the service interface to inject additional ECMAScript host objects as well as to make classes and packages known.
RMI_PREFIX - Static variable in class org.apache.sling.jcr.base.util.RepositoryAccessor
Prefix for RMI Repository URLs
ROOTS - Static variable in interface org.apache.sling.api.resource.ResourceProvider
The name of the service registration property containing the root paths of the resources provided by this provider (value is "provider.roots").
rowToJSONArray(JSONTokener) - Static method in class org.apache.sling.commons.json.util.CDL
Produce a JSONArray of strings from a row of comma delimited values.
rowToJSONObject(JSONArray, JSONTokener) - Static method in class org.apache.sling.commons.json.util.CDL
Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.
rowToString(JSONArray) - Static method in class org.apache.sling.commons.json.util.CDL
Produce a comma delimited text row from a JSONArray.
RP_APPLY_TO - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter used to indicate the resource to apply the operation to (value is ":applyTo").
RP_APPLY_TO_CHUNKS - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating request operation is applicable to chunks.
RP_AUTO_CHECKOUT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating whether versionable nodes should be checked in during an SlingPostConstants.OPERATION_IMPORT operation.
RP_CHECKIN - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating whether versionable nodes should be checked in during an SlingPostConstants.OPERATION_IMPORT operation.
RP_CONTENT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter containing the content to be imported by the 'import' operation.
RP_CONTENT_FILE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter containing the file to be imported by the 'import' operation.
RP_CONTENT_TYPE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter containing the content type of the content to be imported by the 'import' operation.
RP_DEST - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter used to indicate the destination for the copy and move operations (value is ":dest").
RP_DISPLAY_EXTENSION - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter: if provided, added at the end of the computed (or supplied) redirect URL
RP_NODE_NAME - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request paramter specifying a node name for a newly created node (value is ":name").
RP_NODE_NAME_HINT - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request paramter specifying a node name hint for a newly created node (value is ":nameHint").
RP_NOP_STATUS - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter to indicate the actual response status to send back as a result of calling the #OPERATION_NOP (value is ":nopstatus").
RP_OPERATION - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
The name of the parameter containing the operation to execute (value is ":operation").
RP_ORDER - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter indicating the order of newly created nodes in creation, copy and move operation requests (value is ":order").
RP_PREFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Prefix for parameter names which control this POST (RP_ stands for "request param") (value is ":").
RP_REDIRECT_TO - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter: redirect to the specified URL after POST
RP_REPLACE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating whether the destination for a copy or move operation is to be replaced if existing (value is ":replace").
RP_REPLACE_PROPERTIES - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating whether the destination for a property change during an import operation is to be replaced if existing.
RP_SEND_ERROR - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter: defines if to enable the error handling also for POST request.
RP_STATUS - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Optional request parameter: define how the response is sent back to the client.
run() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[]) - Method in class org.apache.sling.servlets.post.AbstractPostOperation
Prepares and finalizes the actual operation.
run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Deprecated.
run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[]) - Method in interface org.apache.sling.servlets.post.PostOperation
Executes the operation provided by this service implementation.
run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) - Method in interface org.apache.sling.servlets.post.SlingPostOperation
Deprecated.
Executes the operation provided by this service implementation.
RUN_MODE_INSTALL_OPTIONS - Static variable in interface org.apache.sling.settings.SlingSettingsService
The name of the framework property defining the list of run mode options for installation time.
RUN_MODE_OPTIONS - Static variable in interface org.apache.sling.settings.SlingSettingsService
The name of the framework property defining the list of run mode options The value is a comma separated list of options where each option contains of a set of run modes separated by a | character.
RUN_MODES_PROPERTY - Static variable in interface org.apache.sling.settings.SlingSettingsService
The name of the framework property defining the set of used run modes.

S

safePut(String, Object) - Method in class org.apache.sling.api.scripting.SlingBindings
Helper method which invokes HashMap.put(Object, Object) only if the value is not null.
save() - Method in interface org.apache.sling.api.resource.PersistableValueMap
Deprecated.
Persists the changes.
save() - Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
schedule(Object, ScheduleOptions) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Schedule a job based on the options.
schedule() - Method in interface org.apache.sling.event.jobs.JobBuilder
Schedule the job
ScheduledJobInfo - Interface in org.apache.sling.event.jobs
Information about a scheduled job
ScheduleInfo - Interface in org.apache.sling.event.jobs
Scheduling information.
ScheduleInfo.ScheduleType - Enum in org.apache.sling.event.jobs
 
ScheduleOptions - Interface in org.apache.sling.commons.scheduler
Scheduler options provide an extensible way of defining how to schedule a job.
Scheduler - Interface in org.apache.sling.commons.scheduler
A scheduler to schedule time/cron based jobs.
scheduleRetry() - Method in interface org.apache.sling.installer.api.tasks.RetryHandler
Schedule a retry.
ScriptableBase - Class in org.apache.sling.scripting.javascript.wrapper
Base class for Scriptable objects, uses the NativeJavaObject wrapper to provide default wrapping of methods and properties (SLING-397)
ScriptableBase() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableBase
 
ScriptableCalendar - Class in org.apache.sling.scripting.javascript.wrapper
 
ScriptableCalendar() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
ScriptableItemMap - Class in org.apache.sling.scripting.javascript.wrapper
 
ScriptableItemMap() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableItemMap
 
ScriptableNode - Class in org.apache.sling.scripting.javascript.wrapper
A wrapper for JCR nodes that exposes all properties and child nodes as properties of a Javascript object.
ScriptableNode() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
ScriptablePrintWriter - Class in org.apache.sling.scripting.javascript.wrapper
 
ScriptablePrintWriter() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
ScriptablePrintWriter(PrintWriter) - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
ScriptableProperty - Class in org.apache.sling.scripting.javascript.wrapper
Wrap a JCR Property as a Scriptable
ScriptableProperty() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
ScriptableResource - Class in org.apache.sling.scripting.javascript.wrapper
Resource in JavaScript has following signature: [Object] getData(); [Object] data [Item] getItem(); [Item] item [String] getResourceType(); [String] type [String] getPath(); [String] path
ScriptableResource() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
ScriptableResource(Resource) - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
ScriptableVersion - Class in org.apache.sling.scripting.javascript.wrapper
Scriptable wrapper for the JCR Version class
ScriptableVersion() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
 
ScriptableVersionHistory - Class in org.apache.sling.scripting.javascript.wrapper
Scriptable wrapper for the JCR VersionHistory class
ScriptableVersionHistory() - Constructor for class org.apache.sling.scripting.javascript.wrapper.ScriptableVersionHistory
 
ScriptEvaluationException - Exception in org.apache.sling.api.scripting
The ScriptEvaluationException is thrown by the SlingScript.eval(SlingBindings) method if an error occurrs evaluating the script.
ScriptEvaluationException(String, String) - Constructor for exception org.apache.sling.api.scripting.ScriptEvaluationException
 
ScriptEvaluationException(String, String, Throwable) - Constructor for exception org.apache.sling.api.scripting.ScriptEvaluationException
 
ScriptHelper - Class in org.apache.sling.scripting.core
Simple script helper providing access to the (wrapped) response, the on-demand writer and a simple API for request inclusion.
ScriptHelper(BundleContext, SlingScript) - Constructor for class org.apache.sling.scripting.core.ScriptHelper
 
ScriptHelper(BundleContext, SlingScript, SlingHttpServletRequest, SlingHttpServletResponse) - Constructor for class org.apache.sling.scripting.core.ScriptHelper
 
ScriptVariable - Annotation Type in org.apache.sling.models.annotations.injectorspecific
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject a script variable (from the SlingBindings)
Self - Annotation Type in org.apache.sling.models.annotations.injectorspecific
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject the adaptable itself, or an object that can be adapted from it.
send(HttpServletResponse, boolean) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Writes the response to the given writer and replaces all ${var} patterns by the value of the respective property.
send(HttpServletResponse, boolean) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Writes the response to the given writer and replaces all ${var} patterns by the value of the respective property.
send(HttpServletResponse, boolean) - Method in interface org.apache.sling.servlets.post.PostResponse
Writes the response back over the provided HTTP channel.
sendInvalid(HttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.auth.core.AuthUtil
Sends a 403/FORBIDDEN response optionally stating the reason for this response code in the #X_REASON header.
sendInvalid(HttpServletRequest, HttpServletResponse) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
sendRedirect(HttpServletRequest, HttpServletResponse, String, Map<String, String>) - Static method in class org.apache.sling.auth.core.AuthUtil
Redirects to the given target path appending any parameters provided in the parameter map.
sendRedirect(HttpServletRequest, HttpServletResponse, String, Map<String, String>) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
sendValid(HttpServletResponse) - Static method in class org.apache.sling.auth.core.AuthUtil
Sends a 200/OK response to a credential validation request.
sendValid(HttpServletResponse) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
Deprecated.
service(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Called by the SlingSafeMethodsServlet.service(ServletRequest, ServletResponse) method to handle the HTTP request.
service(ServletRequest, ServletResponse) - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Forwards the request to the SlingSafeMethodsServlet.service(SlingHttpServletRequest, SlingHttpServletResponse) method if the request is a HTTP request.
SERVICE_BUNDLE - Static variable in interface org.apache.sling.api.resource.ResourceProviderFactory
The authentication information property referring to the bundle providing a service for which a resource provider is to be retrieved.
SERVICE_NAME - Static variable in interface org.apache.sling.api.adapter.AdapterFactory
The service name to use when registering implementations of this interface as services.
SERVICE_NAME - Static variable in interface org.apache.sling.api.adapter.AdapterManager
The name under which this service is registered with the OSGi service registry.
SERVICE_NAME - Static variable in interface org.apache.sling.api.auth.Authenticator
The name under which this service is registered.
SERVICE_NAME - Static variable in interface org.apache.sling.api.request.SlingRequestListener
 
SERVICE_NAME - Static variable in interface org.apache.sling.api.resource.ResourceProvider
The service name to use when registering implementations of this interface as services (value is "org.apache.sling.api.resource.ResourceProvider").
SERVICE_NAME - Static variable in interface org.apache.sling.auth.core.AuthenticationSupport
The name under which this service is registered.
SERVICE_NAME - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
The name under which an implementation of this interface must be registered to be used as an authentication handler.
SERVICE_NAME - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationInfoPostProcessor
The name under which an implementation of this interface must be registered to be used as an authentication info post processor.
SERVICE_NAME - Static variable in interface org.apache.sling.servlets.post.PostOperation
The name of the Sling POST operation service.
SERVICE_NAME - Static variable in interface org.apache.sling.servlets.post.SlingPostOperation
Deprecated.
The name of the Sling POST operation service.
services - Variable in class org.apache.sling.scripting.core.ScriptHelper
A map of found services.
ServiceUserMapper - Interface in org.apache.sling.serviceusermapping
The ServiceUserMapper service can be used to map a service provided by a bundle to the ID of a user account used to access the ResourceResolver used by the service to access its data.
ServiceUtil - Class in org.apache.sling.commons.osgi
The ServiceUtil is a utility class providing some usefull utility methods for service handling.
ServiceUtil() - Constructor for class org.apache.sling.commons.osgi.ServiceUtil
 
ServletResolver - Interface in org.apache.sling.api.servlets
The ServletResolver defines the API for a service capable of resolving javax.servlet.Servlet instances to handle the processing of a request or resource.
SESSION - Static variable in class org.apache.sling.engine.EngineConstants
Deprecated.
as of bundle version 2.1
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(NamespaceMappingSupport) - Constructor for class org.apache.sling.jcr.base.SessionProxyHandler
 
SessionProxyHandler.SessionProxyInvocationHandler - Class in org.apache.sling.jcr.base
 
SessionProxyInvocationHandler(Session, NamespaceMappingSupport, Class<?>[]) - Constructor for class org.apache.sling.jcr.base.SessionProxyHandler.SessionProxyInvocationHandler
 
SET_PROPERTY - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
 
setAdapterManager(AdapterManager) - Static method in class org.apache.sling.api.adapter.SlingAdaptable
Sets the global AdapterManager to be used by this class.
setAddSelectors(String) - Method in class org.apache.sling.api.request.RequestDispatcherOptions
Sets the RequestDispatcherOptions.OPT_ADD_SELECTORS option to the given additionalSelectors if not null.
setAttribute(String, Object) - Method in interface org.apache.sling.installer.api.tasks.TaskResource
Set the value of an attribute.
setAttributes(Map<String, Object>) - Method in class org.apache.sling.installer.api.tasks.TransformationResult
Set the new attributes.
setAuthType(String) - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
 
setAutoCheckin(boolean) - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
setAutoCheckout(boolean) - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
setBlockPolicy(ThreadPoolConfig.ThreadPoolPolicy) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Set the block policy.
setCharacterEncoding(String) - Method in class org.apache.sling.api.resource.ResourceMetadata
Sets the ResourceMetadata.CHARACTER_ENCODING property to encoding if not null.
setCheckinOnNewVersionableNode(boolean) - Method in class org.apache.sling.servlets.post.VersioningConfiguration
 
setContentLength(long) - Method in class org.apache.sling.api.resource.ResourceMetadata
Sets the ResourceMetadata.CONTENT_LENGTH property to contentType if not null.
setContentType(String) - Method in class org.apache.sling.api.resource.ResourceMetadata
Sets the ResourceMetadata.CONTENT_TYPE property to contentType if not null.
setCreateRequest(boolean) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Sets whether the request was a create request or not.
setCreateRequest(boolean) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Sets whether the request was a create request or not.
setCreateRequest(boolean) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets whether the request was a create request or not.
setCreationTime(long) - Method in class org.apache.sling.api.resource.ResourceMetadata
Sets the ResourceMetadata.CREATION_TIME property to creationTime if not negative.
setDaemon(boolean) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Set the daemon handling.
setDebugging(boolean) - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
setDigest(String) - Method in class org.apache.sling.installer.api.UpdateResult
Set the digest.
setEngineName(String) - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
Set the engine name.
setEngineVersion(String) - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
Set the engine version
setError(Throwable) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
 
setError(Throwable) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
 
setError(Throwable) - Method in class org.apache.sling.servlets.post.JSONResponse
 
setError(Throwable) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the recorded error causing the operation to fail.
setExtensions(String...) - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
Set the extensions
setFactory(ThreadFactory) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Set the thread factory.
setFinishedState(ResourceState) - Method in class org.apache.sling.installer.api.tasks.InstallTask
Set the finished state for the resource.
setFinishedState(ResourceState, String) - Method in class org.apache.sling.installer.api.tasks.InstallTask
Set the finished state for the resource and the alias
setFinishState(ResourceState) - Method in interface org.apache.sling.installer.api.tasks.TaskResourceGroup
Set the finish state for the active resource.
setFinishState(ResourceState, String) - Method in interface org.apache.sling.installer.api.tasks.TaskResourceGroup
Set the finish state for the active resource and register an alias.
setFlush(boolean) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.FLUSH property to flush.
setForceResourceType(String) - Method in class org.apache.sling.api.request.RequestDispatcherOptions
Sets the RequestDispatcherOptions.OPT_FORCE_RESOURCE_TYPE option to the given resourceType if not null.
setId(String) - Method in class org.apache.sling.installer.api.tasks.TransformationResult
Set a new unique id.
setInputStream(InputStream) - Method in class org.apache.sling.installer.api.tasks.TransformationResult
Set a new input stream.
setKeepAliveTime(long) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Set the keep alive time.
setLocation(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
 
setLocation(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
 
setLocation(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the location of this modification.
setLog(Logger) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.LOG property to log if not null.
setLoginResourceAttribute(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.AuthUtil
Ensures and returns the Authenticator.LOGIN_RESOURCE request attribute is set to a non-null, non-empty string.
setLoginResourceAttribute(HttpServletRequest, String) - Static method in class org.apache.sling.auth.core.spi.AbstractAuthenticationHandler
setMaxPoolSize(int) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Set the max pool size.
setMimeTypes(String...) - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
Set the mime types
setMinPoolSize(int) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Set the min pool size.
setModificationTime(long) - Method in class org.apache.sling.api.resource.ResourceMetadata
Sets the ResourceMetadata.MODIFICATION_TIME property to modificationTime if not negative.
setNames(String...) - Method in class org.apache.sling.scripting.api.AbstractScriptEngineFactory
Set the names
setOut(PrintWriter) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.OUT property to out if not null.
setOutInitStatement(String) - Method in class org.apache.sling.scripting.javascript.io.EspReader
Set the code fragment used to initialize the "out" variable
setParentLocation(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
 
setParentLocation(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
 
setParentLocation(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the parent location of the modification.
setPassword(char[]) - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
 
setPath(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Sets the absolute path of the item upon which the request operated.
setPath(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Sets the absolute path of the item upon which the request operated.
setPath(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the absolute path of the item upon which the request operated.
setPriority(ThreadPoolConfig.ThreadPriority) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Set the thread priority.
setPriority(Integer) - Method in class org.apache.sling.installer.api.UpdateResult
Set the priority.
setProperty(String, Object) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Sets a generic response property with the given
setProperty(Node, String, Object) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Sets the value of the property.
setProperty(String, Object) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Sets a generic response property with the given
setProperty(String, Object) - Method in class org.apache.sling.servlets.post.JSONResponse
 
setQueueSize(int) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Set the queue size.
setReader(Reader) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.READER property to reader if not null.
setReferer(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Sets the referer property
setReferer(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Sets the referer property
setReferer(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the referer property
setReplaceSelectors(String) - Method in class org.apache.sling.api.request.RequestDispatcherOptions
Sets the RequestDispatcherOptions.OPT_REPLACE_SELECTORS option to the given replaceSelectors if not null.
setReplaceSuffix(String) - Method in class org.apache.sling.api.request.RequestDispatcherOptions
Sets the RequestDispatcherOptions.OPT_REPLACE_SUFFIX option to the given replaceSuffix if not null.
setRequest(SlingHttpServletRequest) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.REQUEST property to request if not null.
setRequestAttribute(HttpServletRequest, String, Object) - Static method in class org.apache.sling.api.request.RequestUtil
Sets the named request attribute to the new value and returns the previous value.
setRequestAttribute(HttpServletRequest, String, Object) - Static method in class org.apache.sling.engine.RequestUtil
Deprecated.
Sets the named request attribute to the new value and returns the previous value.
setResolutionPath(String) - Method in class org.apache.sling.api.resource.ResourceMetadata
Sets the ResourceMetadata.RESOLUTION_PATH property to resolutionPath if not null.
setResolutionPathInfo(String) - Method in class org.apache.sling.api.resource.ResourceMetadata
Sets the ResourceMetadata.RESOLUTION_PATH_INFO property to resolutionPathInfo if not null.
setResource(Resource) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.RESOURCE property to resource if not null.
setResource(Resource) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
setResourceIsMoved(boolean) - Method in class org.apache.sling.installer.api.UpdateResult
Sett whether this resource has been moved or added.
setResourceType(String) - Method in class org.apache.sling.installer.api.tasks.TransformationResult
Set a new resource type.
setResponse(SlingHttpServletResponse) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.RESPONSE property to response if not null.
setShutdownGraceful(boolean) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Set if the pool should be shutdown graceful.
setShutdownWaitTimeMs(int) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
Set the shutdown wait time.
setSling(SlingScriptHelper) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.SLING property to sling if not null.
setStatus(int, String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
sets the response status code properties
setStatus(int, String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
sets the response status code properties
setStatus(int, String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the response status code properties
setTemporaryAttribute(String, Object) - Method in interface org.apache.sling.installer.api.tasks.TaskResource
Set the value of a temporary attribute.
setTidy(boolean) - Method in class org.apache.sling.commons.json.io.JSONWriter
Controls if output should be nicely formatted.
setTitle(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Deprecated.
Sets the title of the response message
setTitle(String) - Method in class org.apache.sling.servlets.post.AbstractPostResponse
Sets the title of the response message
setTitle(String) - Method in interface org.apache.sling.servlets.post.PostResponse
Sets the title of the response message
setup(BundleContext) - Method in class org.apache.sling.jcr.base.AbstractNamespaceMappingRepository
Deprecated.
 
setup(BundleContext, SlingRepository) - Method in class org.apache.sling.jcr.base.NamespaceMappingSupport
Sets up the namespace mapping support.
setup(ScopeProvider) - Static method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
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.
setUser(String) - Method in class org.apache.sling.auth.core.spi.AuthenticationInfo
 
setVersion(Version) - Method in class org.apache.sling.installer.api.tasks.TransformationResult
Set the version.
shouldDistribute(Event) - Static method in class org.apache.sling.event.EventUtil
Should this event be distributed in the cluster?
size() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
size() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
size() - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
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.
size() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
skip(long) - Method in interface org.apache.sling.event.jobs.JobsIterator
Deprecated.
Skip a number of jobs.
skip(long) - Method in class org.apache.sling.scripting.javascript.io.EspReader
Skip the number of filtered characters.
skipPast(String) - Method in class org.apache.sling.commons.json.JSONTokener
Skip characters until past the requested string.
skipTo(char) - Method in class org.apache.sling.commons.json.JSONTokener
Skip characters until the next character is the requested character.
SLASH - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '/'.
SLING - Static variable in class org.apache.sling.api.scripting.SlingBindings
The name of the global scripting variable providing the SlingScriptHelper for the request (value is "sling").
SLING_CURRENT_SERVLET_NAME - Static variable in class org.apache.sling.api.SlingConstants
The name of the request attribute providing the name of the currently executing servlet (value is "sling.core.current.servletName").
SLING_CURRENT_SERVLET_NAME - Static variable in class org.apache.sling.engine.EngineConstants
SLING_FILTER_SCOPE - Static variable in class org.apache.sling.engine.EngineConstants
The name of the service registration property of a java.servlet.Filter service to be used as a filter by the SlingRequestProcessor.
SLING_HOME - Static variable in class org.apache.sling.engine.EngineConstants
SLING_HOME - Static variable in interface org.apache.sling.settings.SlingSettingsService
The name of the framework property defining the Sling home directory (value is "sling.home").
SLING_HOME_URL - Static variable in class org.apache.sling.engine.EngineConstants
SLING_HOME_URL - Static variable in interface org.apache.sling.settings.SlingSettingsService
The name of the framework property defining the Sling home directory as an URL (value is "sling.home.url").
SLING_NAMESPACE_URI - Static variable in class org.apache.sling.jcr.resource.JcrResourceConstants
The namespace URI used by Sling JCR for items and node types used by Sling (value is "http://sling.apache.org/jcr/sling/1.0").
SLING_RESOURCE_SUPER_TYPE_PROPERTY - Static variable in class org.apache.sling.jcr.resource.JcrResourceConstants
The name of the JCR Property that defines the resource super type (value is "sling:resourceSuperType").
SLING_RESOURCE_TYPE_PROPERTY - Static variable in class org.apache.sling.jcr.resource.JcrResourceConstants
The name of the JCR Property that defines the resource type of this node (value is "sling:resourceType").
SLING_SCOPE - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
The name of the script scope holding the SlingScriptConstants.ATTR_SCRIPT_RESOURCE_RESOLVER.
SLING_SERLVET_NAME - Static variable in class org.apache.sling.engine.EngineConstants
Deprecated. 
SlingAdaptable - Class in org.apache.sling.adapter
Deprecated.
Use the SlingAdaptable instead
SlingAdaptable() - Constructor for class org.apache.sling.adapter.SlingAdaptable
Deprecated.
 
SlingAdaptable - Class in org.apache.sling.api.adapter
The SlingAdaptable class is an (abstract) default implementation of the Adaptable interface.
SlingAdaptable() - Constructor for class org.apache.sling.api.adapter.SlingAdaptable
 
SlingAllMethodsServlet - Class in org.apache.sling.api.servlets
Helper base class for data modifying Servlets used in Sling.
SlingAllMethodsServlet() - Constructor for class org.apache.sling.api.servlets.SlingAllMethodsServlet
 
SlingBindings - Class in org.apache.sling.api.scripting
The SlingBindings class is used to prepare global variables for script execution.
SlingBindings() - Constructor for class org.apache.sling.api.scripting.SlingBindings
 
SlingConstants - Class in org.apache.sling.api
The SlingConstants interface provides some symbolic constants for well known constant strings in Sling.
SlingConstants() - Constructor for class org.apache.sling.api.SlingConstants
 
SlingContext - Class in org.apache.sling.scripting.javascript.helper
The SlingContext extends Context to overwrite the SlingContext.initStandardObjects(ScriptableObject, boolean) method to add more standard objects.
SlingContext() - Constructor for class org.apache.sling.scripting.javascript.helper.SlingContext
 
SlingContextFactory - Class in org.apache.sling.scripting.javascript.helper
The SlingContextFactory extends the standard Rhino ContextFactory to provide customized settings, such as having the dynamic scope feature enabled by default.
SlingException - Exception in org.apache.sling.api
The SlingException is the base exception used throughout the Sling API.
SlingException() - Constructor for exception org.apache.sling.api.SlingException
Constructs a new Sling exception.
SlingException(String) - Constructor for exception org.apache.sling.api.SlingException
Constructs a new Sling exception with the given text.
SlingException(String, Throwable) - Constructor for exception org.apache.sling.api.SlingException
Constructs a new Sling exception when the Servlet needs to do the following: throw an exception include the "root cause" exception include a description message
SlingException(Throwable) - Constructor for exception org.apache.sling.api.SlingException
Constructs a new Sling exception when the Servlet needs to throw an exception.
SlingGlobal - Class in org.apache.sling.scripting.javascript.helper
The SlingGlobal class provides two interesting new global functions which are not part of the ECMAScript standard but which are available in the Rhino Shell and which may be of use by JavaScripts:
SlingGlobal() - Constructor for class org.apache.sling.scripting.javascript.helper.SlingGlobal
 
SlingHttpServletRequest - Interface in org.apache.sling.api
The SlingHttpServletRequest defines the interface to provide client request information to a servlet.
SlingHttpServletRequestWrapper - Class in org.apache.sling.api.wrappers
The SlingHttpServletRequestWrapper class is a default wrapper class around a SlingHttpServletRequest which may be extended to amend the functionality of the original request object.
SlingHttpServletRequestWrapper(SlingHttpServletRequest) - Constructor for class org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper
Create a wrapper for the supplied wrappedRequest
SlingHttpServletResponse - Interface in org.apache.sling.api
The SlingHttpServletResponse defines the interface to assist a servlet in creating and sending a response to the client.
SlingHttpServletResponseWrapper - Class in org.apache.sling.api.wrappers
The SlingHttpServletResponseWrapper class is a default wrapper class around a SlingHttpServletResponse which may be extended to amend the functionality of the original response object.
SlingHttpServletResponseWrapper(SlingHttpServletResponse) - Constructor for class org.apache.sling.api.wrappers.SlingHttpServletResponseWrapper
Create a wrapper for the supplied wrappedRequest
SlingIOException - Exception in org.apache.sling.api
The SlingIOException is a runtime exception wrapper for the Java IOException.
SlingIOException(IOException) - Constructor for exception org.apache.sling.api.SlingIOException
 
SlingObject - Annotation Type in org.apache.sling.models.annotations.injectorspecific
Annotation to be used on either methods, fields or constructor parameters to let Sling Models inject a Sling-related context object.
SlingPostConstants - Interface in org.apache.sling.servlets.post
The SlingPostConstants interface provides constants for well known parameters of the core SlingPostServlet.
SlingPostOperation - Interface in org.apache.sling.servlets.post
Deprecated.
as of 2.0.8 (Bundle version 2.2.0) and replaced by PostOperation.
SlingPostProcessor - Interface in org.apache.sling.servlets.post
The SlingPostProcessor interface defines a service API to be implemented by service providers extending the Sling default POST servlet.
SlingRepository - Interface in org.apache.sling.jcr.api
The SlingRepository extends the standard JCR repository interface with two methods: SlingRepository.getDefaultWorkspace() and SlingRepository.loginAdministrative(String).
SlingRequestEvent - Class in org.apache.sling.api.request
represents an event published by the Sling engine while dispatching a request.
SlingRequestEvent(ServletContext, ServletRequest, SlingRequestEvent.EventType) - Constructor for class org.apache.sling.api.request.SlingRequestEvent
 
SlingRequestEvent.EventType - Enum in org.apache.sling.api.request
type of the event
SlingRequestListener - Interface in org.apache.sling.api.request
Implementations of this service interface receive notifications about changes to Sling request of the Sling application they are part of.
SlingRequestPaths - Class in org.apache.sling.api.wrappers
This class is not a "wrapper" per se, but computes the correct path info, request URI, etc.
SlingRequestPaths() - Constructor for class org.apache.sling.api.wrappers.SlingRequestPaths
 
SlingRequestProcessor - Interface in org.apache.sling.engine
The SlingRequestProcessor interface defines the service which may be called to handle HTTP requests.
SlingSafeMethodsServlet - Class in org.apache.sling.api.servlets
Helper base class for read-only Servlets used in Sling.
SlingSafeMethodsServlet() - Constructor for class org.apache.sling.api.servlets.SlingSafeMethodsServlet
 
SlingScript - Interface in org.apache.sling.api.scripting
The SlingScript defines the API for objects which encapsulate a script.
SlingScriptConstants - Class in org.apache.sling.api.scripting
Some constants for the scripting.
SlingScriptConstants() - Constructor for class org.apache.sling.api.scripting.SlingScriptConstants
 
SlingScriptHelper - Interface in org.apache.sling.api.scripting
The SlingScriptHelper interface defines the API of a helper class which is provided to the scripts called from sling through the global sling variable.
SlingScriptResolver - Interface in org.apache.sling.api.scripting
Deprecated.
The SlingScriptResolver interface is intended to be implemented and also used by project specific code. To keep the API as clean as possible this interface was deprecated
SlingServletException - Exception in org.apache.sling.api
The SlingServletException is a runtime exception wrapper for the Servlet API ServletException.
SlingServletException(ServletException) - Constructor for exception org.apache.sling.api.SlingServletException
 
SlingSettingsService - Interface in org.apache.sling.engine
Deprecated.
SlingSettingsService - Interface in org.apache.sling.settings
The SlingSettingsService provides basic Sling settings.
SlingWrapFactory - Class in org.apache.sling.scripting.javascript.helper
 
SlingWrapFactory() - Constructor for class org.apache.sling.scripting.javascript.helper.SlingWrapFactory
 
SlingWrapper - Interface in org.apache.sling.scripting.javascript
Wrapper with an additional methods to indicate the wrapped classes
SNAPSHOT_MARKER - Static variable in class org.apache.sling.commons.osgi.bundleversion.BundleVersionInfo
Marker used by Maven to identify snapshots
SortingServiceTracker<T> - Class in org.apache.sling.commons.osgi
Implementation providing a sorted list of services by service ranking.
SortingServiceTracker(BundleContext, String) - Constructor for class org.apache.sling.commons.osgi.SortingServiceTracker
Constructor
Source - Annotation Type in org.apache.sling.models.annotations
Annotation which indicates the specific injector which will populate this injection.
STAR_CREATE_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
An alternative suffix to the resource path used to indicate to automatically generate the name of the new item to create during a content creation request (value is "/*").
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.
startTimer(String) - Method in interface org.apache.sling.api.request.RequestProgressTracker
Starts a named timer.
Statistics - Interface in org.apache.sling.event.jobs
Statistic information.
StatisticsMBean - Interface in org.apache.sling.event.jobs.jmx
 
STATUS_VALUE_BROWSER - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
The supported value for the SlingPostConstants.RP_STATUS request parameter requesting to not report success or failure of request processing using standard HTTP status codes but instead alwas set the status to 200/OK and only report the real success or failure status in the XHTML response.
STATUS_VALUE_STANDARD - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
The supported value for the SlingPostConstants.RP_STATUS request parameter requesting to report success or failure of request processing using standard HTTP status codes.
stop() - Method in class org.apache.sling.jcr.base.AbstractSlingRepositoryManager
This method must be called if overwritten by implementations !!
stopJobById(String) - Method in interface org.apache.sling.event.jobs.JobManager
Stop a job.
submit(Callable<T>) - Method in interface org.apache.sling.commons.threads.ThreadPool
Submits a callable for execution
submit(Runnable) - Method in interface org.apache.sling.commons.threads.ThreadPool
Submits a runnable for execution
SUBSERVICE - Static variable in interface org.apache.sling.api.resource.ResourceResolverFactory
Name of the authentication information property providing the Subservice Name for the service requesting a resource resolver.
succeeded() - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext.ResultBuilder
The job processing finished successfully.
succeeded() - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionResult
If this returns true the job processing finished successfully.
SUFFIX_COMPLETED - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating request contains last chunk and as a result upload should be finished.
SUFFIX_COPY_FROM - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that the named item is to be set from an item whose absolute or relative path is given in the parameter's value (value is "@CopyFrom").
SUFFIX_DELETE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that the named property is to be removed before applying any new content (value is "@Delete").
SUFFIX_IGNORE_BLANKS - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that blank value or values for this property will be ignored.
SUFFIX_LENGTH - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating length of complete file.
SUFFIX_MOVE_FROM - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that the named item is to be set from an item whose absolute or relative path is given in the parameter's value (value is "@MoveFrom").
SUFFIX_OFFSET - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the request parameter indicating offset of the chunk in request.
SUFFIX_PATCH - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that a multi-value property is to be handled as an ordered set and the sent values start with either "+" or "-" to indicate wether a value should be added to or removed from the set.
SUFFIX_USE_DEFAULT_WHEN_MISSING - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating that the default value should be used when the property is not defined.
suspend() - Method in interface org.apache.sling.event.jobs.JobBuilder.ScheduleBuilder
Suspend this scheduling by default.
suspend() - Method in interface org.apache.sling.event.jobs.Queue
Suspend the queue - when a queue is suspended it stops processing jobs - however already started jobs are finished (but not rescheduled).
suspend() - Method in interface org.apache.sling.event.jobs.ScheduledJobInfo
Suspend this job scheduling.
syntaxError(String) - Method in class org.apache.sling.commons.json.JSONTokener
Make a JSONException to signal a syntax error.
SyntheticResource - Class in org.apache.sling.api.resource
The SyntheticResource class is a simple implementation of the Resource interface which may be used to provide a resource object which has no actual resource data.
SyntheticResource(ResourceResolver, String, String) - Constructor for class org.apache.sling.api.resource.SyntheticResource
Creates a synthetic resource with the given path and resourceType.
SyntheticResource(ResourceResolver, ResourceMetadata, String) - Constructor for class org.apache.sling.api.resource.SyntheticResource
Creates a synthetic resource with the given ResourceMetadata and resourceType.

T

TaskResource - Interface in org.apache.sling.installer.api.tasks
A task resource is a registered resource which has been processed by a ResourceTransformer and is now about to be processed by an InstallTask.
TaskResourceGroup - Interface in org.apache.sling.installer.api.tasks
This is a group of resources all pointing to the same artifact, but maybe in different versions or locations.
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
Terminates namespace mapping support.
teardown() - Static method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
TestContentLoader - Interface in org.apache.sling.jcr.jackrabbit.server
Service interface which defines a method for loading pre-defined test content.
testNumberValidity(Object) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Throw an exception if the object is an NaN or infinite number.
ThreadPool - Interface in org.apache.sling.commons.threads
The thread pool interface allows to start runnables by getting threads from a managed pool.
ThreadPoolConfig - Interface in org.apache.sling.commons.threads
The thread pool configuration.
ThreadPoolConfig.ThreadPoolPolicy - Enum in org.apache.sling.commons.threads
The thread pool policies.
ThreadPoolConfig.ThreadPriority - Enum in org.apache.sling.commons.threads
 
ThreadPoolManager - Interface in org.apache.sling.commons.threads
The ThreadPoolManager manages thread pools.
ThreadPoolMBean - Interface in org.apache.sling.commons.threads.jmx
This is the management interface for a Sling Thread Pool.
TimedEventStatusProvider - Interface in org.apache.sling.event
Deprecated.
Use scheduled jobs instead
toBoolean(Object, boolean) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the boolean value of the parameter or the defaultValue if the parameter is null.
toBoolean(Object, boolean) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the boolean value of the parameter or the defaultValue if the parameter is null.
toDouble(Object, double) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as a double or the defaultValue if the parameter is null or if the parameter is not a Double and cannot be converted to a Double from the parameter's string value.
toDouble(Object, double) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as a double or the defaultValue if the parameter is null or if the parameter is not a Double and cannot be converted to a Double from the parameter's string value.
toInteger(Object, int) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as an integer or the defaultValue if the parameter is null or if the parameter is not an Integer and cannot be converted to an Integer from the parameter's string value.
toInteger(Object, int) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as an integer or the defaultValue if the parameter is null or if the parameter is not an Integer and cannot be converted to an Integer from the parameter's string value.
toJavaObject(Value) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Converts a JCR Value to a corresponding Java Object
toJavaObject(Property) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Converts the value(s) of a JCR Property to a corresponding Java Object.
toJSONArray(JSONArray) - Method in class org.apache.sling.commons.json.JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONArray(String) - Static method in class org.apache.sling.commons.json.util.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONTokener) - Static method in class org.apache.sling.commons.json.util.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONArray, String) - Static method in class org.apache.sling.commons.json.util.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray, JSONTokener) - Static method in class org.apache.sling.commons.json.util.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONObject(String) - Static method in class org.apache.sling.commons.json.http.Cookie
Convert a cookie specification string into a JSONObject.
toJSONObject(String) - Static method in class org.apache.sling.commons.json.http.CookieList
Convert a cookie list into a JSONObject.
toJSONObject(String) - Static method in class org.apache.sling.commons.json.http.HTTP
Convert an HTTP header string into a JSONObject.
toJSONObject(JSONArray) - Method in class org.apache.sling.commons.json.JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONObject(String) - Static method in class org.apache.sling.commons.json.xml.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONString() - Method in interface org.apache.sling.commons.json.JSONString
The toJSONString method allows a class to produce its own JSON serialization.
toLong(Object, long) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as a long or the defaultValue if the parameter is null or if the parameter is not a Long and cannot be converted to a Long from the parameter's string value.
toLong(Object, long) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as a long or the defaultValue if the parameter is null or if the parameter is not a Long and cannot be converted to a Long from the parameter's string value.
toMap(Object, String[]) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as a map with string keys and string values.
toObject(Object) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as a single value.
toObject(Object) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as a single value.
TooManyCallsException - Exception in org.apache.sling.api.request
The TooManyCallsException is thrown by the Sling implementation if to many inclusions have been called for during a single request.
TooManyCallsException(String) - Constructor for exception org.apache.sling.api.request.TooManyCallsException
Creates an instance of this exception naming the Servlet (or Script) whose call caused this exception to be thrown.
TooManySessionsException - Exception in org.apache.sling.jcr.api
Deprecated.
Session pooling has been removed and thus this exception is not used any more.
TooManySessionsException(String) - Constructor for exception org.apache.sling.jcr.api.TooManySessionsException
Deprecated.
 
TooManySessionsException(Throwable) - Constructor for exception org.apache.sling.jcr.api.TooManySessionsException
Deprecated.
 
TooManySessionsException(String, Throwable) - Constructor for exception org.apache.sling.jcr.api.TooManySessionsException
Deprecated.
 
TOPIC_ADAPTER_FACTORY_ADDED - Static variable in class org.apache.sling.api.SlingConstants
The topic for the OSGi event which is sent when an adapter factory has been added.
TOPIC_ADAPTER_FACTORY_REMOVED - Static variable in class org.apache.sling.api.SlingConstants
The topic for the OSGi event which is sent when an adapter factory has been removed.
TOPIC_JOB - Static variable in class org.apache.sling.event.EventUtil
Deprecated.
TOPIC_JOB - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
TOPIC_JOB_CANCELLED - Static variable in class org.apache.sling.event.EventUtil
TOPIC_JOB_CANCELLED - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
Use NotificationConstants#TOPIC_JOB_CANCELLED
TOPIC_JOB_CANCELLED - Static variable in class org.apache.sling.event.jobs.NotificationConstants
Asynchronous notification event when a job is cancelled.
TOPIC_JOB_FAILED - Static variable in class org.apache.sling.event.EventUtil
Deprecated.
TOPIC_JOB_FAILED - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
Use NotificationConstants#TOPIC_JOB_FAILED
TOPIC_JOB_FAILED - Static variable in class org.apache.sling.event.jobs.NotificationConstants
Asynchronous notification event when a job failed.
TOPIC_JOB_FINISHED - Static variable in class org.apache.sling.event.EventUtil
TOPIC_JOB_FINISHED - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
Use NotificationConstants#TOPIC_JOB_FINISHED
TOPIC_JOB_FINISHED - Static variable in class org.apache.sling.event.jobs.NotificationConstants
Asynchronous notification event when a job is finished.
TOPIC_JOB_REMOVED - Static variable in class org.apache.sling.event.jobs.NotificationConstants
Asynchronous notification event when a job is permanently removed.
TOPIC_JOB_STARTED - Static variable in class org.apache.sling.event.EventUtil
Deprecated.
TOPIC_JOB_STARTED - Static variable in class org.apache.sling.event.jobs.JobUtil
Deprecated.
Use NotificationConstants#TOPIC_JOB_STARTED
TOPIC_JOB_STARTED - Static variable in class org.apache.sling.event.jobs.NotificationConstants
Asynchronous notification event when a job is started.
TOPIC_LOGIN - Static variable in class org.apache.sling.auth.core.AuthConstants
The topic for the OSGi event which is sent when a user has logged in successfully.
TOPIC_RESOURCE_ADDED - Static variable in class org.apache.sling.api.SlingConstants
The topic for the OSGi event which is sent when a resource has been added to the resource tree.
TOPIC_RESOURCE_CHANGED - Static variable in class org.apache.sling.api.SlingConstants
The topic for the OSGi event which is sent when a resource has been changed in the resource tree.
TOPIC_RESOURCE_PROVIDER_ADDED - Static variable in class org.apache.sling.api.SlingConstants
The topic for the OSGi event which is sent when a resource provider has been added to the resource tree.
TOPIC_RESOURCE_PROVIDER_REMOVED - Static variable in class org.apache.sling.api.SlingConstants
The topic for the OSGi event which is sent when a resource provider has been removed from the resource tree.
TOPIC_RESOURCE_REMOVED - Static variable in class org.apache.sling.api.SlingConstants
The topic for the OSGi event which is sent when a resource has been removed from the resource tree.
TOPIC_RESOURCE_RESOLVER_MAPPING_CHANGED - Static variable in class org.apache.sling.api.SlingConstants
The topic for the OSGi event which is sent when the resource mapping changes.
TOPIC_SCRIPT_ENGINE_FACTORY_ADDED - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
The topic for the OSGi event which is sent when a script engine factory has been added.
TOPIC_SCRIPT_ENGINE_FACTORY_REMOVED - Static variable in class org.apache.sling.api.scripting.SlingScriptConstants
The topic for the OSGi event which is sent when a script engine factory has been removed.
TOPIC_TIMED_EVENT - Static variable in class org.apache.sling.event.EventUtil
Deprecated.
Use scheduled jobs instead
TopicStatistics - Interface in org.apache.sling.event.jobs
Statistic information about a topic.
TopologyEvent - Class in org.apache.sling.discovery
A topology event is sent whenever a change in the topology occurs.
TopologyEvent(TopologyEvent.Type, TopologyView, TopologyView) - Constructor for class org.apache.sling.discovery.TopologyEvent
 
TopologyEvent.Type - Enum in org.apache.sling.discovery
 
TopologyEventListener - Interface in org.apache.sling.discovery
The TopologyEventListener service interface may be implemented by components interested in being made aware of changes in the topology.
TopologyView - Interface in org.apache.sling.discovery
A topology view is a cross-cluster list of instances and clusters that have announced themselves with the DiscoveryService.
toString() - Method in class org.apache.sling.api.resource.NonExistingResource
 
toString() - Method in class org.apache.sling.api.resource.ResourceWrapper
Returns a string representation of this wrapper consisting of the class' simple name, the resource type and path as well as the string representation of the wrapped resource.
toString() - Method in class org.apache.sling.api.resource.SyntheticResource
 
toString() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
 
toString() - Method in enum org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
 
toString() - Method in enum org.apache.sling.auth.form.FormReason
Returns the message set when constructing this instance.
toString(JSONObject) - Static method in class org.apache.sling.commons.json.http.Cookie
Convert a JSONObject into a cookie specification string.
toString(JSONObject) - Static method in class org.apache.sling.commons.json.http.CookieList
Convert a JSONObject into a cookie list.
toString(JSONObject) - Static method in class org.apache.sling.commons.json.http.HTTP
Convert a JSONObject into an HTTP header.
toString(JSONObject) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Render the supplied JSONObject to a String, in the simplest possible way.
toString(JSONArray) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Make a JSON text of the supplied JSONArray.
toString() - Method in class org.apache.sling.commons.json.io.JSONStringer
Return the JSON text.
toString() - Method in class org.apache.sling.commons.json.JSONArray
Make a JSON text of this JSONArray using JSONRenderer.toString(JSONArray)
toString(int) - Method in class org.apache.sling.commons.json.JSONArray
Make a prettyprinted JSON text of this JSONArray.
toString() - Method in class org.apache.sling.commons.json.JSONObject
Make a JSON text of this JSONObject using JSONRenderer.toString(org.apache.sling.commons.json.JSONObject)
toString(int) - Method in class org.apache.sling.commons.json.JSONObject
Make a prettyprinted JSON text of this JSONObject.
toString() - Method in class org.apache.sling.commons.json.JSONTokener
Make a printable string of this JSONTokener.
toString(JSONArray) - Static method in class org.apache.sling.commons.json.util.CDL
Produce a comma delimited text from a JSONArray of JSONObjects.
toString(JSONArray, JSONArray) - Static method in class org.apache.sling.commons.json.util.CDL
Produce a comma delimited text from a JSONArray of JSONObjects using a provided list of names.
toString(Object) - Static method in class org.apache.sling.commons.json.xml.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String) - Static method in class org.apache.sling.commons.json.xml.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString() - Method in class org.apache.sling.commons.osgi.bundleversion.FileBundleVersionInfo
 
toString(Object, String) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as a string or the defaultValue if the parameter is null.
toString(Object, String) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as a string or the defaultValue if the parameter is null.
toString() - Method in class org.apache.sling.discovery.TopologyEvent
 
toString() - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
toString(Event) - Static method in class org.apache.sling.event.EventUtil
Improved toString method for an Event.
toString() - Method in class org.apache.sling.installer.api.InstallableResource
 
toString() - Method in class org.apache.sling.installer.api.tasks.InstallTask
 
toString() - Method in class org.apache.sling.installer.api.UpdateResult
 
toString() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
toString() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
toString() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
toString() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
toString() - Method in class org.apache.sling.servlets.post.Modification
 
toStringArray(Object) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as an array of Strings.
toStringArray(Object, String[]) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Deprecated.
Returns the parameter as an array of Strings.
toStringArray(Object) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as an array of Strings.
toStringArray(Object, String[]) - Static method in class org.apache.sling.commons.osgi.PropertiesUtil
Returns the parameter as an array of Strings.
transform(RegisteredResource) - Method in interface org.apache.sling.installer.api.tasks.ResourceTransformer
Try to transform the registered resource.
TransformationResult - Class in org.apache.sling.installer.api.tasks
A result of a ResourceTransformer.
TransformationResult() - Constructor for class org.apache.sling.installer.api.tasks.TransformationResult
 
transformQuery(String, String, ResourceResolver) - Method in interface org.apache.sling.api.security.ResourceAccessSecurity
Optionally transform a query based on the current user's credentials.
traverseChildren(Iterator<Resource>) - Method in class org.apache.sling.api.resource.AbstractResourceVisitor
Visit the given resources.
TYPE_BUNDLE - Static variable in class org.apache.sling.installer.api.InstallableResource
The type for a bundle - in this case InstallableResource.getInputStream() must return an input stream to the bundle.
TYPE_CONFIG - Static variable in class org.apache.sling.installer.api.InstallableResource
The type for a configuration - in this case InstallableResource.getDictionary() must return a dictionary with the configuration.
TYPE_FILE - Static variable in class org.apache.sling.installer.api.InstallableResource
The type for all other provided data like a bundle etc.
TYPE_HINT_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating a type hint for the property (value is "@TypeHint").
TYPE_PROPERTIES - Static variable in class org.apache.sling.installer.api.InstallableResource
The type for properties - in this case InstallableResource.getDictionary() should contain a dictionary or the InstallableResource.getInputStream() should point to a property or configuration file.
TYPE_PROPERTY - Static variable in interface org.apache.sling.auth.core.spi.AuthenticationHandler
The name of the service registration property (single string) providing the authentication type of authentication handler.

U

unbindLog(LogService) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Deprecated.
 
unbindLog(LogService) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Unbinds the LogService
unbindRepository(String, Object) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Called to actually unregister a repository with the registry.
unbindRepository(ServiceReference) - Method in class org.apache.sling.jcr.registration.AbstractRegistrationSupport
Unregisters the repository identified by the OSGi service reference under the name set as service property.
unescape(String) - Static method in class org.apache.sling.commons.json.http.Cookie
Convert %hh sequences to single characters, and convert plus to space.
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.
unregisterWrapper(Class<?>) - Method in class org.apache.sling.scripting.javascript.helper.SlingWrapFactory
 
unschedule(String) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Remove a scheduled job by name.
unschedule() - Method in interface org.apache.sling.event.jobs.ScheduledJobInfo
Unschedule this scheduled job.
unsetAdapterManager(AdapterManager) - Static method in class org.apache.sling.api.adapter.SlingAdaptable
Unsets the global AdapterManager.
unwrap(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Unwrap the resource and return the wrapped implementation.
unwrap() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
unwrap() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
unwrap() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
unwrap() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
unwrap() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
UpdateGroup - Interface in org.apache.sling.jackrabbit.usermanager
The UpdateGroup service api.
updateGroup(Session, String, Map<String, ?>, List<Modification>) - Method in interface org.apache.sling.jackrabbit.usermanager.UpdateGroup
Update a group in the repository
UpdateHandler - Interface in org.apache.sling.installer.api
An update handler is a service handling updates of resources through other ways than the installer, e.g.
updateProgress(long) - Method in interface org.apache.sling.event.jobs.consumer.JobExecutionContext
Update the progress to the new ETA.
updateResources(String, InstallableResource[], String[]) - Method in interface org.apache.sling.installer.api.OsgiInstaller
Inform the installer that resources are available for installation and/or other resources are no longer available.
UpdateResult - Class in org.apache.sling.installer.api
The update result is returned by an UpdateHandler if a resource could be persisted by the handler.
UpdateResult(String) - Constructor for class org.apache.sling.installer.api.UpdateResult
Create an update result
UpdateUser - Interface in org.apache.sling.jackrabbit.usermanager
The UpdateUser service api.
updateUser(Session, String, Map<String, ?>, List<Modification>) - Method in interface org.apache.sling.jackrabbit.usermanager.UpdateUser
Update a user in the repository
USE_RESOURCE_ACCESS_SECURITY - Static variable in interface org.apache.sling.api.resource.ResourceProvider
The name of the service registration property containing the a boolean flag indicating if the ResourceAccessSecurity service should be used for this provider or not.
USER - Static variable in interface org.apache.sling.api.resource.ResourceResolverFactory
Name of the authentication information property providing the name of the user for which the ResourceResolverFactory.getResourceResolver(Map) method creates resource resolvers.
USER_IMPERSONATION - Static variable in interface org.apache.sling.api.resource.ResourceResolverFactory
Name of the authentication information property causing the ResourceResolverFactory.getResourceResolver(Map), ResourceResolverFactory.getAdministrativeResourceResolver(Map), and ResourceResolverFactory.getServiceResourceResolver(Map) methods to try to impersonate the created resource resolver to the requested user and return the impersonated resource resolver.
USER_IMPERSONATOR - Static variable in interface org.apache.sling.api.resource.ResourceResolver
The name of the resource resolver attribute which is set if the resource resolver has been impersonated as per the ResourceResolverFactory.USER_IMPERSONATION property.

V

validate(String) - Static method in class org.apache.sling.commons.json.util.Validator
Strictly validate the JSON text
validate(JSONTokener) - Static method in class org.apache.sling.commons.json.util.Validator
Strictly validate the JSON text
Validator - Class in org.apache.sling.commons.json.util
Utility class for validating JSON text.
Validator() - Constructor for class org.apache.sling.commons.json.util.Validator
 
value(boolean) - Method in class org.apache.sling.commons.json.io.JSONWriter
Append either the value true or the value false.
value(double) - Method in class org.apache.sling.commons.json.io.JSONWriter
Append a double value.
value(long) - Method in class org.apache.sling.commons.json.io.JSONWriter
Append a long value.
value(Object) - Method in class org.apache.sling.commons.json.io.JSONWriter
Append an object value.
VALUE_FROM_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
SLING-130, suffix that maps form field names to different JCR property names
VALUE_RUN_ON_LEADER - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Value for Scheduler.PROPERTY_SCHEDULER_RUN_ON to run the job on the leader only.
VALUE_RUN_ON_SINGLE - Static variable in interface org.apache.sling.commons.scheduler.Scheduler
Value for Scheduler.PROPERTY_SCHEDULER_RUN_ON to run the job on a single instance only.
ValueMap - Interface in org.apache.sling.api.resource
The ValueMap is an easy way to access properties of a resource.
ValueMapDecorator - Class in org.apache.sling.api.wrappers
ValueMapDecorator decorates another Map to provide a basic implementation for the additional methods of a ValueMap.
ValueMapDecorator(Map<String, Object>) - Constructor for class org.apache.sling.api.wrappers.ValueMapDecorator
Creates a new wrapper around a given map.
ValueMapValue - Annotation Type in org.apache.sling.models.annotations.injectorspecific
Annotation to be used on either methods, fields or constructor parameter to let Sling Models inject a value from the ValueMap of the current resource.
valueOf(String) - Static method in enum org.apache.sling.api.request.SlingRequestEvent.EventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.auth.form.FormReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPoolPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPriority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.discovery.TopologyEvent.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.EventUtil.JobPriority
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.jobs.consumer.JobConsumer.JobResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.jobs.Job.JobState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.jobs.JobManager.QueryType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.jobs.JobUtil.JobPriority
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.jobs.QueueConfiguration.ThreadPriority
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.jobs.QueueConfiguration.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.event.jobs.ScheduleInfo.ScheduleType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.installer.api.event.InstallationEvent.TYPE
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.installer.api.tasks.ResourceState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.models.annotations.DefaultInjectionStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.servlets.post.ModificationType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.sling.api.request.SlingRequestEvent.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.apache.sling.api.resource.ResourceMetadata
 
values() - Method in class org.apache.sling.api.wrappers.CompositeValueMap
values() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
values() - Static method in enum org.apache.sling.auth.core.spi.AuthenticationHandler.FAILURE_REASON_CODES
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.auth.form.FormReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPoolPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPriority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.discovery.TopologyEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.apache.sling.event.EventPropertiesMap
Deprecated.
 
values() - Static method in enum org.apache.sling.event.EventUtil.JobPriority
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.event.jobs.consumer.JobConsumer.JobResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.event.jobs.Job.JobState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.event.jobs.JobManager.QueryType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.event.jobs.JobUtil.JobPriority
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.event.jobs.QueueConfiguration.ThreadPriority
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.event.jobs.QueueConfiguration.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.event.jobs.ScheduleInfo.ScheduleType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.installer.api.event.InstallationEvent.TYPE
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.installer.api.tasks.ResourceState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
values() - Static method in enum org.apache.sling.models.annotations.DefaultInjectionStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.servlets.post.ModificationType
Returns an array containing the constants of this enum type, in the order they are declared.
valueToString(Object) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Make a JSON text of an Object value.
valueToString(Object, JSONRenderer.Options) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Make a JSON String of an Object value, with rendering options
valueToString(Object) - Static method in class org.apache.sling.commons.json.JSONObject
Make a JSON text of an Object value.
VERSION_1_1 - Static variable in class org.apache.sling.commons.compiler.Options
 
VERSION_1_2 - Static variable in class org.apache.sling.commons.compiler.Options
 
VERSION_1_3 - Static variable in class org.apache.sling.commons.compiler.Options
 
VERSION_1_4 - Static variable in class org.apache.sling.commons.compiler.Options
 
VERSION_1_5 - Static variable in class org.apache.sling.commons.compiler.Options
 
VERSION_1_6 - Static variable in class org.apache.sling.commons.compiler.Options
 
VERSION_1_7 - Static variable in class org.apache.sling.commons.compiler.Options
 
VERSION_1_8 - Static variable in class org.apache.sling.commons.compiler.Options
 
VERSION_RUNTIME - Static variable in class org.apache.sling.commons.compiler.Options
 
VersioningConfiguration - Class in org.apache.sling.servlets.post
Data structure to hold the various options associated with how versionable nodes are handled in the post servlet.
VersioningConfiguration() - Constructor for class org.apache.sling.servlets.post.VersioningConfiguration
 
Via - Annotation Type in org.apache.sling.models.annotations
Indicate that this injection point should be handled using a projected property of the adaptable.
visit(Resource) - Method in class org.apache.sling.api.resource.AbstractResourceVisitor
Implement this method to do actual work on the resources.

W

wakeUpJobQueue(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated.
Wake up the named job queue.
weekly(int, int, int) - Method in interface org.apache.sling.event.jobs.JobBuilder.ScheduleBuilder
Schedule the job weekly, the time needs to be specified in addition.
withArraysForChildren(boolean) - Method in class org.apache.sling.commons.json.io.JSONRenderer.Options
 
withChildNameKey(String) - Method in class org.apache.sling.commons.json.io.JSONRenderer.Options
 
withChildrenKey(String) - Method in class org.apache.sling.commons.json.io.JSONRenderer.Options
 
withIndent(int) - Method in class org.apache.sling.commons.json.io.JSONRenderer.Options
 
withInitialIndent(int) - Method in class org.apache.sling.commons.json.io.JSONRenderer.Options
 
WorkspaceAccessManagerPlugin - Interface in org.apache.sling.jcr.jackrabbit.server.security.accessmanager
An AccessManagerPlugin can define its own WorkspaceAccessManagerPlugin, if desired.
wrapAsJavaObject(Context, Scriptable, Object, Class) - Method in class org.apache.sling.scripting.javascript.helper.SlingWrapFactory
 
WRAPPED_CLASSES - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
Calendar is a class, not an interface - so we need to enumerate possible implementations here
WRAPPED_CLASSES - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
WRAPPED_CLASSES - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptablePrintWriter
 
WRAPPED_CLASSES - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
WRAPPED_CLASSES - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
WRAPPED_CLASSES - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
 
WRAPPED_CLASSES - Static variable in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersionHistory
 
write(Writer, JSONObject) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Write the contents of the supplied JSONObject as JSON text to a writer.
write(Writer, JSONArray) - Method in class org.apache.sling.commons.json.io.JSONRenderer
Write the contents of the supplied JSONArray as JSON text to a writer.
write(Writer) - Method in class org.apache.sling.commons.json.JSONArray
Write the contents of the JSONObject as JSON text to a writer using JSONRenderer#write(JSONArray)
write(Writer) - Method in class org.apache.sling.commons.json.JSONObject
Write the contents of the JSONObject as JSON text to a writer using JSONRenderer#write(JSONObject)
write(String) - Method in interface org.apache.sling.engine.RequestLog
Deprecated.
Writes the given message to the output destination.
writeProperty(JSONWriter, Property) - Method in class org.apache.sling.commons.json.jcr.JsonItemWriter
Write a single property
writer - Variable in class org.apache.sling.commons.json.io.JSONWriter
The writer that will receive the output.

X

X_REASON - Static variable in class org.apache.sling.auth.core.AuthConstants
The name of the request header set by the #sendInvalid(HttpServletRequest, HttpServletResponse) method if the provided credentials cannot be used for login.
X_REASON_CODE - Static variable in class org.apache.sling.auth.core.AuthConstants
The name of the request header set by the #sendInvalid(HttpServletRequest, HttpServletResponse) method if the provided credentials cannot be used for login.
XML - Class in org.apache.sling.commons.json.xml
This provides static methods to convert an XML text into a JSONObject, and to covert a JSONObject into an XML text.
XML() - Constructor for class org.apache.sling.commons.json.xml.XML
 
XMLTokener - Class in org.apache.sling.commons.json.xml
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.
XMLTokener(String) - Constructor for class org.apache.sling.commons.json.xml.XMLTokener
Construct an XMLTokener from a string.

Y

yearly(int, int, int, int) - Method in interface org.apache.sling.event.jobs.JobBuilder.ScheduleBuilder
Schedule the job yearly, the time needs to be specified in addition.
A B C D E F G H I J K L M N O P Q R S T U V W X Y 
Skip navigation links

Copyright © 2014 The Apache Software Foundation. All rights reserved.