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

A

ABSTRACT - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
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
 
AbstractAuthorizablePostServlet - Class in org.apache.sling.jackrabbit.usermanager.post
Base class for all the POST servlets for the UserManager operations
AbstractAuthorizablePostServlet() - Constructor for class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
 
AbstractGroupPostServlet - Class in org.apache.sling.jackrabbit.usermanager.post
Base class for servlets manipulating groups
AbstractGroupPostServlet() - Constructor for class org.apache.sling.jackrabbit.usermanager.post.AbstractGroupPostServlet
 
AbstractMappedObject - Class in org.apache.sling.jcr.ocm
The AbstractMappedObject is a simple helper class which may be extended to off-load handling of the path of mapped objects.
AbstractMappedObject() - Constructor for class org.apache.sling.jcr.ocm.AbstractMappedObject
 
AbstractMappedObject(String) - Constructor for class org.apache.sling.jcr.ocm.AbstractMappedObject
 
AbstractNodeDescriptor - Class in org.apache.sling.maven.jcrocm
The AbstractNodeDescriptor is the base class for mostly node based descriptors (bean, collection).
AbstractNodeDescriptor(Log, DocletTag, String) - Constructor for class org.apache.sling.maven.jcrocm.AbstractNodeDescriptor
 
AbstractServiceReferenceConfig - Class in org.apache.sling.engine.servlets
The AbstractServiceReferenceConfig may be used as a base class to define ServletConfig and FilterConfig instances from OSGi ServiceReference objects.
AbstractServiceReferenceConfig(ServletContext, ServiceReference, String) - Constructor for class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Sets up this base configuration object.
AbstractSlingPostOperation - Class in org.apache.sling.servlets.post
Holds various states and encapsulates methods that are needed to handle a post request.
AbstractSlingPostOperation() - Constructor for class org.apache.sling.servlets.post.AbstractSlingPostOperation
 
AbstractSlingRepository - Class in org.apache.sling.jcr.base
The AbstractSlingRepository is an abstract implementation of the SlingRepository interface which provides core support for session pooling.
AbstractSlingRepository() - Constructor for class org.apache.sling.jcr.base.AbstractSlingRepository
 
AbstractUserPostServlet - Class in org.apache.sling.jackrabbit.usermanager.post
Base class for servlets manipulating users
AbstractUserPostServlet() - Constructor for class org.apache.sling.jackrabbit.usermanager.post.AbstractUserPostServlet
 
accept(ItemVisitor) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
accept(ItemVisitor) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
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.
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.
accumulate(String, Object) - Method in class org.apache.sling.commons.json.JSONObject
Accumulate values under a key.
acquireRepository() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Acquires the repository by calling the RepositoryAccessor.getRepositoryFromURL(String) with the value of the RepositoryAccessor.REPOSITORY_URL_OVERRIDE_PROPERTY framework or configuration property.
activate(ComponentContext) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
 
activate(ComponentContext) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractUserPostServlet
 
activate(ComponentContext) - Method in class org.apache.sling.jackrabbit.usermanager.post.CreateUserServlet
Activates this component.
activate(ComponentContext) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
This method must be called if overwritten by implementations !!
Adaptable - Interface in org.apache.sling.api.adapter
 
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.resource.ResourceWrapper
 
adaptTo(Class<Type>) - Method in class org.apache.sling.api.resource.SyntheticResource
Returns null because synthetic resources have no actual data and thus may not adapt to anything else.
adaptTo(Class<AdapterType>) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
adaptTo(Class<AdapterType>) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResource
 
add(ThreadPool) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
Add a new pool.
ADD_NODE - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
 
addChildren(Resource, Collection<Resource>) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
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.
addJob(String, Object, Map<String, Serializable>, String, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Schedule a time based job.
addMixin(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
addNode(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
addNode(String, String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
addPeriodicJob(String, Object, Map<String, Serializable>, long, boolean) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Schedule a periodic job.
addProperties(Node, Map<String, Object>, String[], String) - Static method in class org.apache.sling.event.EventUtil
Add all java properties as properties to the node.
addProperties(Node, EventPropertiesMap, String[], String) - Static method in class org.apache.sling.event.EventUtil
Add all java properties as properties to the node.
addProperty(Property) - Method in class org.apache.sling.commons.json.jcr.JsonJcrNode
 
addResource(Resource) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
addValue(String, Value) - Method in class org.apache.sling.commons.json.jcr.JsonJcrNode
 
ADMIN_NAME - Static variable in class org.apache.sling.commons.testing.jcr.RepositoryUtil
 
ADMIN_PASSWORD - Static variable in class org.apache.sling.commons.testing.jcr.RepositoryUtil
 
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.
array() - Method in class org.apache.sling.commons.json.io.JSONWriter
Begin appending a new array.
assertHttpStatus(String, int, String) - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
Verify that given URL returns expectedStatusCode
assertHttpStatus(String, int) - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
Verify that given URL returns expectedStatusCode
assertJavascript(String, String, String) - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
 
assertJavascript(String, String, String, String) - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
Evaluate given code using given jsonData as the "data" object
assertPostStatus(String, int, List<NameValuePair>, String) - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
Execute a POST request and check status
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_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").
authenticate(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.AuthenticationHandler
Extracts credential data from the request if at all contained.
authenticate(Credentials) - Method in interface org.apache.sling.jcr.jackrabbit.server.security.AuthenticationPlugin
authenticate
AuthenticationHandler - Interface in org.apache.sling.engine.auth
The AuthenticationHandler interface defines the service API used by the authentication implementation to support plugin various ways of extracting credentials from the request.
AuthenticationInfo - Class in org.apache.sling.engine.auth
The AuthenticationInfo defines the data returned from the AuthenticationHandler.authenticate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) method.
AuthenticationInfo(String, Credentials) - Constructor for class org.apache.sling.engine.auth.AuthenticationInfo
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
Creates an instance of this class with the given authentication type and credentials.
AuthenticationPlugin - Interface in org.apache.sling.jcr.jackrabbit.server.security
Provide some of the functionality of the org.apache.jackrabbit.core.security.authentication.Authentication class without explicitly referencing classes in org.apache.jackrabbit.core
Authenticator - Interface in org.apache.sling.engine.auth
The Authenticator interface defines the service interface of the authenticator used by the Sling engine.
AuthorizableResource - Class in org.apache.sling.jackrabbit.usermanager.resource
Resource implementation for Authorizable
AuthorizableResource(Authorizable, ResourceResolver, String) - Constructor for class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResource
 
AuthorizableResourceProvider - Class in org.apache.sling.jackrabbit.usermanager.resource
Resource Provider implementation for jackrabbit UserManager resources.
AuthorizableResourceProvider() - Constructor for class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
 
AuthorizableValueMap - Class in org.apache.sling.jackrabbit.usermanager.resource
ValueMap implementation for Authorizable Resources
AuthorizableValueMap(Authorizable) - Constructor for class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
AUTO_INSERT - Static variable in class org.apache.sling.maven.jcrocm.AbstractNodeDescriptor
 
AUTO_RETRIEVE - Static variable in class org.apache.sling.maven.jcrocm.AbstractNodeDescriptor
 
AUTO_UPDATE - Static variable in class org.apache.sling.maven.jcrocm.AbstractNodeDescriptor
 

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 '!'.
BeanDescriptor - Class in org.apache.sling.maven.jcrocm
The BeanDescriptor class provides support for the bean-descriptor element of a class mapping, which has the following attribute list definition: <!
bindLog(LogService) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
BUNDLE_RESOURCE_ROOTS - Static variable in class org.apache.sling.jcr.ocm.OcmConstants
The name of the bundle manifest header listing the resource provider root paths provided by the bundle (value is "Sling-Bundle-Resources").
bundleChanged(BundleEvent) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Loads and unloads any components provided by the bundle whose state changed.
bundleContext - Variable in class org.apache.sling.scripting.core.ScriptHelper
 
BundleDeployFileMojo - Class in org.apache.sling.maven.bundlesupport
Deploy a JAR representing an OSGi Bundle.
BundleDeployFileMojo() - Constructor for class org.apache.sling.maven.bundlesupport.BundleDeployFileMojo
 
BundleDeployMojo - Class in org.apache.sling.maven.bundlesupport
Deploy a JAR representing an OSGi Bundle.
BundleDeployMojo() - Constructor for class org.apache.sling.maven.bundlesupport.BundleDeployMojo
 
BundleInstallFileMojo - Class in org.apache.sling.maven.bundlesupport
Install an OSGi bundle to a running Sling instance.
BundleInstallFileMojo() - Constructor for class org.apache.sling.maven.bundlesupport.BundleInstallFileMojo
 
BundleInstallMojo - Class in org.apache.sling.maven.bundlesupport
Install an OSGi bundle to a running Sling instance.
BundleInstallMojo() - Constructor for class org.apache.sling.maven.bundlesupport.BundleInstallMojo
 
BundleUninstallMojo - Class in org.apache.sling.maven.bundlesupport
Uninstall an OSGi bundle from a running Sling instance.
BundleUninstallMojo() - Constructor for class org.apache.sling.maven.bundlesupport.BundleUninstallMojo
 

C

cache - Variable in class org.apache.sling.jcr.resource.JcrPropertyMap
 
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.
canAddChildNode(String) - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
canAddChildNode(String, String) - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
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.
canAddMixin(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
cancelJob(String) - Method in interface org.apache.sling.event.JobStatusProvider
Cancel this job.
cancelJob(String, String) - Method in interface org.apache.sling.event.JobStatusProvider
Cancel this job.
cancelMerge(Version) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
cancelTimedEvent(String) - Method in interface org.apache.sling.event.TimedEventStatusProvider
Cancel this timed event.
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.
canDeleteAuthorizable(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 principal.
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.
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.
canRemoveItem(String) - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
canSetProperty(String, Value) - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
canSetProperty(String, Value[]) - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
canUpdateAuthorizable(Session, String) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo
Checks whether the current user has been granted privileges to update the properties of the specified principal.
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
 
ChangeUserPasswordServlet - Class in org.apache.sling.jackrabbit.usermanager.post
Sling Post Operation implementation for updating the password of a user in the jackrabbit UserManager.
ChangeUserPasswordServlet() - Constructor for class org.apache.sling.jackrabbit.usermanager.post.ChangeUserPasswordServlet
 
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").
checkin() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
checkout() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
checkWritable() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
CLASS_NAME - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
ClassDescriptor - Class in org.apache.sling.maven.jcrocm
The ClassDescriptor class provides support for the class-descriptor element of a class mapping, which has the following attribute list definition: <!
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
 
cleanupVM() - Static method in class org.apache.sling.launchpad.base.shared.Loader
Tries to remove as many traces of class loaded by the framework from the Java VM as possible.
clear() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
clear() - Method in class org.apache.sling.event.EventPropertiesMap
 
clear() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
clear() - Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
clear() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
close() - Method in interface org.apache.sling.engine.RequestLog
Closes this request log.
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.
collectContent(SlingHttpServletRequest, HtmlResponse) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
Collects the properties that form the content to be written back to the repository.
CollectionDescriptor - Class in org.apache.sling.maven.jcrocm
The CollectionDescriptor class provides support for the collection-descriptor element of a class mapping, which has the following attribute list definition: <!
CollectionDescriptor(Log, DocletTag, String) - Constructor for class org.apache.sling.maven.jcrocm.CollectionDescriptor
 
compareTo(Object) - Method in class org.apache.sling.commons.testing.osgi.MockServiceReference
 
CONFIG_FILE - Static variable in class org.apache.sling.commons.testing.jcr.RepositoryUtil
 
configure(String, File) - Method in class org.apache.sling.maven.bundlesupport.BundleUninstallMojo
Add configurations to a running OSGi instance for initial content.
containsKey(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
containsKey(Object) - Method in class org.apache.sling.event.EventPropertiesMap
 
containsKey(Object) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
containsKey(String) - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Returns true if this map contains the named property.
containsKey(Object) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
containsValue(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
containsValue(Object) - Method in class org.apache.sling.event.EventPropertiesMap
 
containsValue(Object) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
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").
CONTENT_TYPE_CSS - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
CONTENT_TYPE_DONTCARE - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
Means "don't care about Content-Type" in getContent(...) methods
CONTENT_TYPE_HTML - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
CONTENT_TYPE_JS - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
CONTENT_TYPE_JSON - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
CONTENT_TYPE_PLAIN - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
CONTENT_TYPE_XML - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
CONTEXT_FACTORY - Static variable in class org.apache.sling.commons.testing.jcr.RepositoryUtil
 
CONTEXT_PROPERTY_NAME - Static variable in interface org.apache.sling.event.EventUtil.JobStatusNotifier
 
CONVERTER - Static variable in class org.apache.sling.maven.jcrocm.BeanDescriptor
 
CONVERTER - Static variable in class org.apache.sling.maven.jcrocm.FieldDescriptor
 
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(String, ThreadPoolConfig) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
Create a new thread pool.
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
 
CreateGroupServlet - Class in org.apache.sling.jackrabbit.usermanager.post
Sling Post Servlet implementation for creating a group in the jackrabbit UserManager.
CreateGroupServlet() - Constructor for class org.apache.sling.jackrabbit.usermanager.post.CreateGroupServlet
 
createNode(String, Map<String, String>) - Method in class org.apache.sling.commons.testing.integration.SlingIntegrationTestClient
Call the other createNode method with headers==null
createNode(String, Map<String, String>, Map<String, String>, boolean) - Method in class org.apache.sling.commons.testing.integration.SlingIntegrationTestClient
Create a node under given path, using a POST to Sling
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.
createSessionPool(SessionPoolManager, SimpleCredentials) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
CreateUserServlet - Class in org.apache.sling.jackrabbit.usermanager.post
Sling Post Servlet implementation for creating a user in the jackrabbit UserManager.
CreateUserServlet() - Constructor for class org.apache.sling.jackrabbit.usermanager.post.CreateUserServlet
 
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.

D

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.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
 
deactivate(ComponentContext) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractUserPostServlet
 
deactivate(ComponentContext) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
This method must be called if overwritten by implementations !!
DEFAULT_ADMIN_PASS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
DEFAULT_ADMIN_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
DEFAULT_ANONYMOUS_PASS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
DEFAULT_ANONYMOUS_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
DEFAULT_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_EXT - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
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
The default value for the number of seconds to wait between two consecutive checks while the repository is active (value is 10).
DEFAULT_POLL_INACTIVE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
The default value for the number of seconds to wait between two consecutive checks while the repository is not active (value is 10).
DEFAULT_SLING_LAUNCHER_JAR - Static variable in interface org.apache.sling.launchpad.base.shared.SharedConstants
The absolute path to the launcher JAR file in the archive to copy to the sling.home directory.
DEFAULT_SLING_MAIN - Static variable in interface org.apache.sling.launchpad.base.shared.SharedConstants
The fully qualified name of the class used by the Standalone Java Application main class to control the framework.
DEFAULT_SLING_SERVLET - Static variable in interface org.apache.sling.launchpad.base.shared.SharedConstants
The fully qualified name of the class used by the Sling Web Applicaiton servlet to control the framework.
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").
DefaultMappedObject - Class in org.apache.sling.jcr.ocm
The DefaultMappedObject is used by the JCR based resource manager implemented by this bundle as a default to map JCR nodes.
DefaultMappedObject() - Constructor for class org.apache.sling.jcr.ocm.DefaultMappedObject
 
dehexchar(char) - Static method in class org.apache.sling.commons.json.JSONTokener
Get the hex value of a character (base16).
delete() - Method in class org.apache.sling.commons.testing.integration.HttpTestBase.TestNode
 
delete(String) - Method in class org.apache.sling.commons.testing.integration.SlingIntegrationTestClient
Delete a file from the Sling repository
delete(String, File) - Method in class org.apache.sling.maven.bundlesupport.BundleUninstallMojo
 
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
 
DeleteAuthorizableServlet - Class in org.apache.sling.jackrabbit.usermanager.post
Sling Post Operation implementation for deleting one or more users and/or groups from the jackrabbit UserManager.
DeleteAuthorizableServlet() - Constructor for class org.apache.sling.jackrabbit.usermanager.post.DeleteAuthorizableServlet
 
destroy() - Method in class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
Destroys this servlet by shutting down the OSGi framework and hence the delegatee servlet if one is set at all.
destroy() - Method in class org.apache.sling.launchpad.webapp.SlingServlet
Stop the Sling framework when the web application is being stopped
digestPassword(String) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractUserPostServlet
Digest the given password using the configured digest algorithm
disableComponent(String) - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
DISCRIMINATOR - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
dispose() - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Dispose the helper.
dispose() - Method in class org.apache.sling.scripting.core.ScriptHelper
 
disposeRepository(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Disposes off the given repository.
doDelete(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.api.servlets.SlingAllMethodsServlet
Called by the SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to handle an HTTP DELETE request.
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
Called by the SlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to handle an HTTP GET request.
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.GetAclServlet
 
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.engine.auth.AuthenticationInfo
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 - all calls except the first one are ignored
done() - Method in class org.apache.sling.commons.testing.sling.MockRequestProgressTracker
 
doneMerge(Version) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
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
Called by the SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to handle an HTTP POST request.
doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
 
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
Called by the SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to handle an HTTP PUT request.
doPut(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.launchpad.testservices.servlets.PutMethodServlet
 
doRun(SlingHttpServletRequest, HtmlResponse, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
 
doStartBundle() - Method in class org.apache.sling.launchpad.base.webapp.SlingBridge
 
doStopBundle() - Method in class org.apache.sling.launchpad.base.webapp.SlingBridge
 
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) - Static method in class org.apache.sling.commons.json.JSONObject
Produce a string from a double.
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
dump(PrintWriter) - Method in class org.apache.sling.commons.testing.sling.MockRequestProgressTracker
 
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. currently the following conversions are done: JSR Property Type JSON Value Type BINARY always 0 as long DATE converted date string as defined by ECMA BOOLEAN boolean LONG long DOUBLE double all other string 1 Currently not implemented and uses 0 as default.

E

ECMA_DATE_FORMAT - Static variable in class org.apache.sling.commons.json.jcr.JsonItemWriter
Used to format date values
ELEMENT_BEAN_DESCRIPTOR - Static variable in class org.apache.sling.maven.jcrocm.BeanDescriptor
 
ELEMENT_CLASS_DESCRIPTOR - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
ELEMENT_COLLECTION_DESCRIPTOR - Static variable in class org.apache.sling.maven.jcrocm.CollectionDescriptor
 
ELEMENT_FIELD_DESCRIPTOR - Static variable in class org.apache.sling.maven.jcrocm.FieldDescriptor
 
ELEMENT_IMPLEMENT_DESCRIPTOR - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
elements() - Method in class org.apache.sling.event.EventPropertiesMap
 
EMPTY - Static variable in interface org.apache.sling.api.resource.ValueMap
Empty value map
enableComponent(String) - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
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.
entrySet() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
entrySet() - Method in class org.apache.sling.event.EventPropertiesMap
 
entrySet() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
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.testing.jcr.MockNode
 
equals(Object) - Method in class org.apache.sling.event.EventPropertiesMap
 
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: & (ampersand) is replaced by &amp; < (less than) is replaced by &lt; > (greater than) is replaced by &gt; " (double quote) is replaced by &quot;
escapeXml(String) - Static method in class org.apache.sling.engine.ResponseUtil
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.
EVENT_MAPPING_ADDED - Static variable in class org.apache.sling.jcr.ocm.OcmConstants
The name of the event sent after new Object Mappings have been registered (value is "org/apache/sling/jcr/ocm/OCMEvent/MAPPED").
EVENT_MAPPING_REMOVED - Static variable in class org.apache.sling.jcr.ocm.OcmConstants
The name of the event sent after Object Mappings have been unregistered (value is "org/apache/sling/jcr/ocm/OCMEvent/UNMAPPED").
eventNodePath - Variable in class org.apache.sling.event.EventUtil.JobStatusNotifier.NotifierContext
 
EventPropertiesMap - Class in org.apache.sling.event
An implementation of a map that helps in dealing with properties of an OSGi event.
EventPropertiesMap(Event) - Constructor for class org.apache.sling.event.EventPropertiesMap
Construct a new map out of an event object.
EventPropertiesMap(Map<String, Object>) - Constructor for class org.apache.sling.event.EventPropertiesMap
Construct a new map out of another map.
EventPropertiesMap() - Constructor for class org.apache.sling.event.EventPropertiesMap
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.JobStatusNotifier - Interface in org.apache.sling.event
This is a private interface which is only public for import reasons.
EventUtil.JobStatusNotifier.NotifierContext - Class in org.apache.sling.event
 
EventUtil.JobStatusNotifier.NotifierContext(EventUtil.JobStatusNotifier, String) - Constructor for class org.apache.sling.event.EventUtil.JobStatusNotifier.NotifierContext
 
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() - Method in class org.apache.sling.maven.bundlesupport.BundleDeployMojo
 
execute() - Method in class org.apache.sling.maven.bundlesupport.BundleInstallMojo
 
execute() - Method in class org.apache.sling.maven.bundlesupport.BundleUninstallMojo
 
execute() - Method in class org.apache.sling.maven.bundlesupport.ValidationMojo
 
execute() - Method in class org.apache.sling.maven.jcrocm.JcrOcmMojo
 
exitDebugger() - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
EXTEND - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
ExtensionServlet - Class in org.apache.sling.launchpad.testservices.servlets
Example/test Sling Servlet registered with two extensions
ExtensionServlet() - Constructor for class org.apache.sling.launchpad.testservices.servlets.ExtensionServlet
 
externalizePath(SlingHttpServletRequest, String) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
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.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.AbstractSlingPostOperation
Returns an external form of the given path prepending the context path and appending a display extension.

F

FieldDescriptor - Class in org.apache.sling.maven.jcrocm
The FieldDescriptor class provides support for the field-descriptor element of a class mapping, which has the following attribute list definition: <!
findEntries(String, String, boolean) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
findResources(String, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Searches for resources using the given query formulated in the given language.
findResources(String, String) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
findScript(ResourceResolver, String) - Method in interface org.apache.sling.api.scripting.SlingScriptResolver
Finds the given name to a SlingScript.
finishedJob(Event) - Static method in class org.apache.sling.event.EventUtil
Notify a finished job.
finishedJob(Event, String, boolean) - Method in interface org.apache.sling.event.EventUtil.JobStatusNotifier
Notify that the job is finished.
fireJob(Object, Map<String, Serializable>) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Fire a job immediately and only once.
fireJobAt(String, Object, Map<String, Serializable>, Date) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Fire a job once at a specific date Note that if a job with the same name has already beed added, the old job is cancelled and this new job replaces the old job.
fixBundleVersion(File) - Method in class org.apache.sling.maven.bundlesupport.BundleDeployFileMojo
 
fixBundleVersion(File) - Method in class org.apache.sling.maven.bundlesupport.BundleDeployMojo
 
flatten(String) - Static method in class org.apache.sling.commons.testing.util.TestStringUtil
Replace \n with . in strings to make it easier to compare visually for testing
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").
format(Calendar) - Static method in class org.apache.sling.commons.json.jcr.JsonItemWriter
 
forward(String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Same as SlingScriptHelper.forward(String,RequestDispatcherOptions), but using empty options.
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(String) - Method in class org.apache.sling.scripting.core.ScriptHelper
Forward the request to another resource, using no options
forward(String, String) - Method in class org.apache.sling.scripting.core.ScriptHelper
Forward the request to another resource, using specified options
forward(String, RequestDispatcherOptions) - Method in class org.apache.sling.scripting.core.ScriptHelper
Forward the request to another resource, using specified options
fullyRead - Variable in class org.apache.sling.jcr.resource.JcrPropertyMap
 

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.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
 
get(String, Class<T>) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
get(String, T) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
get(Object) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
get(String) - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Returns the value of the indexed property.
get(Object) - Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
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
 
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
 
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
 
getActualStatus() - Method in exception org.apache.sling.commons.testing.integration.HttpStatusCodeException
 
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.
getAllJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Return all jobs either running or scheduled.
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.
getAncestor(int) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getAncestor(int) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getApplicationId(Event) - Static method in class org.apache.sling.event.EventUtil
Return the application id the event was created at.
getApplyToResources(SlingHttpServletRequest) - Method in class org.apache.sling.jackrabbit.usermanager.post.DeleteAuthorizableServlet
Returns an iterator on Resource instances addressed in the SlingPostConstants.RP_APPLY_TO request parameter.
getApplyToResources(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Returns an iterator on Resource instances addressed in the SlingPostConstants.RP_APPLY_TO request parameter.
getAttribute(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getAttributeNames() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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
 
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.commons.testing.sling.MockSlingHttpServletRequest
 
getAuthType() - Method in class org.apache.sling.engine.auth.AuthenticationInfo
Returns type of authentication provisioning.
getBaseVersion() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getBlockPolicy() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
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.
getBoolean() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getBoolean() - Method in class org.apache.sling.commons.testing.jcr.MockValue
 
getBundle() - Method in class org.apache.sling.commons.testing.osgi.MockServiceReference
 
getBundleContext() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getBundleContext() - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
getBundleFileName() - Method in class org.apache.sling.maven.bundlesupport.BundleInstallFileMojo
 
getBundleFileName() - Method in class org.apache.sling.maven.bundlesupport.BundleInstallMojo
 
getBundleFileName() - Method in class org.apache.sling.maven.bundlesupport.BundleUninstallMojo
 
getBundleId() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getCharacterEncoding() - Method in class org.apache.sling.api.resource.ResourceMetadata
Returns the ResourceMetadata.CHARACTER_ENCODING property if not null and a String instance.
getCharacterEncoding() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getChildNodeDefinitions() - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
getClassLoader(String) - Method in interface org.apache.sling.jcr.classloader.RepositoryClassLoaderProvider
 
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.
getComponentContext() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
getComponentInstance() - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
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
 
getContent(String, String) - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
retrieve the contents of given URL and assert its content type
getContent(String, String, List<NameValuePair>) - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
 
getContent(String, String, List<NameValuePair>, int) - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
retrieve the contents of given URL and assert its content type
getContentLength() - Method in class org.apache.sling.api.resource.ResourceMetadata
Returns the ResourceMetadata.CONTENT_LENGTH property if not null and a long.
getContentLength() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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.
getContentType() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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
 
getCookie(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getCookies() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getCorrespondingNodePath(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
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
Returns the credentials extracted from the client request to use for authentication.
getCurrentJobs(String) - Method in interface org.apache.sling.event.JobStatusProvider
Return the jobs which are currently in processing.
getCurrentJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Return the jobs which are currently in processing.
getDate() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getDate() - Method in class org.apache.sling.commons.testing.jcr.MockValue
 
getDateHeader(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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.
getDeclaredChildNodeDefinitions() - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
getDeclaredPropertyDefinitions() - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
getDeclaredSupertypes() - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
getDeclaringNodeType() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
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
 
getDefaultValues() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
getDefaultWorkspace() - Method in class org.apache.sling.commons.testing.jcr.RepositoryUtil.RepositoryWrapper
 
getDefaultWorkspace() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Returns the default workspace, which may be null meaning to use the repository provided default workspace.
getDefinition() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getDefinition() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getDenied() - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo.AccessRights
 
getDepth() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getDepth() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getDescriptor(String) - Method in class org.apache.sling.commons.testing.jcr.RepositoryUtil.RepositoryWrapper
 
getDescriptor(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
getDescriptorKeys() - Method in class org.apache.sling.commons.testing.jcr.RepositoryUtil.RepositoryWrapper
 
getDescriptorKeys() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
getDestination() - Method in class org.apache.sling.servlets.post.Modification
 
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.
getDouble() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getDouble() - Method in class org.apache.sling.commons.testing.jcr.MockValue
 
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.
getEntries() - Method in class org.apache.sling.commons.osgi.ManifestHeader
Return the entries for this header.
getEntry(String) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getEntryPaths(String) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getError() - Method in class org.apache.sling.api.servlets.HtmlResponse
Returns any recorded error or null
getExpectedStatus() - Method in exception org.apache.sling.commons.testing.integration.HttpStatusCodeException
 
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.
getFactory() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
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).
getFilter() - Method in exception org.apache.sling.api.scripting.InvalidServiceFilterSyntaxException
 
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.
getGranted() - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo.AccessRights
 
getHeader(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getHeaderNames() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getHeaders() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getHeaders(String) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getHeaders(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getHostObjectClasses() - Method in interface org.apache.sling.scripting.javascript.RhinoHostObjectProvider
Returns an array of classes implementing the Rhino Scriptable interface.
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.
getIndex() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getInitialContext() - Static method in class org.apache.sling.commons.testing.jcr.RepositoryUtil
 
getInitParameter(String) - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
 
getInitParameterNames() - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
 
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() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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.
getIntHeader(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getItemPath(SlingHttpServletRequest) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
Returns the path of the resource of the request as the item path.
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.AbstractSlingPostOperation
Returns the path of the resource of the request as the item path.
getJarFileName() - Method in class org.apache.sling.maven.bundlesupport.BundleDeployFileMojo
 
getJarFileName() - Method in class org.apache.sling.maven.bundlesupport.BundleDeployMojo
 
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.
getKeepAliveTime() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
getLanguage() - Method in exception org.apache.sling.api.resource.QuerySyntaxException
 
getLastModified() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getLength() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getLengths() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
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.
getLocalAddr() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getLocale() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getLocales() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getLocalName() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getLocalPort() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getLocation() - Method in class org.apache.sling.api.servlets.HtmlResponse
Returns the location of the modification. this is the externalized form of the current path.
getLocation() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getLock() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getLog() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.LOG property if not null and a org.slf4j.Logger instance.
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.
getLong() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getLong() - Method in class org.apache.sling.commons.testing.jcr.MockValue
 
getMaxPoolSize() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
getMessages() - Method in interface org.apache.sling.api.request.RequestProgressTracker
Returns an Iterator of tracking entries.
getMessages() - Method in class org.apache.sling.commons.testing.sling.MockRequestProgressTracker
 
getMethod() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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.
getMinPoolSize() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
getMixinNodeTypes() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getMixinTypes() - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Returns a list of the mixin node typse of the underlying node or null for new objects or if the node has no mixin node types.
getModificationTime() - Method in class org.apache.sling.api.resource.ResourceMetadata
Returns the ResourceMetadata.MODIFICATION_TIME property if not null and a long.
getName(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Utility method returns the parent resource of the resource.
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.commons.osgi.ManifestHeader.NameValuePair
 
getName() - Method in interface org.apache.sling.commons.scheduler.JobContext
Get the name of the scheduled job.
getName() - Method in class org.apache.sling.commons.testing.integration.HttpAnyMethod
 
getName() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getName() - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
getName() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getName() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
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
Returns the name of this configuration object.
getName(ServiceReference) - Static method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
Looks for a name value in the service reference properties.
getNative(String, Scriptable) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableBase
 
getNode(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getNode() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getNode() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
getNodePropertyName(String) - Static method in class org.apache.sling.event.EventUtil
Return the converted repository property name
getNodePropertyValue(ValueFactory, Object) - Static method in class org.apache.sling.event.EventUtil
Return the converted repository property value
getNodes() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getNodes(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getObjectContentManager(Session) - Method in interface org.apache.sling.jcr.ocm.ObjectContentManagerFactory
Return a new object content manager for the session.
getOnParentVersion() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
getOut() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.OUT property if not null and a PrintWriter instance.
getParameter(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getParameterMap() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getParameterNames() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getParameterValues(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Utility method returns the parent resource of the resource.
getParent() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getParent() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getParentLocation() - Method in class org.apache.sling.api.servlets.HtmlResponse
Returns the parent location of the modification. this is the externalized form of the parent node of the current path.
getPath() - Method in interface org.apache.sling.api.resource.Resource
This resource's path - for now that could be a JCR path.
getPath() - Method in class org.apache.sling.api.resource.ResourceWrapper
 
getPath() - Method in class org.apache.sling.api.resource.SyntheticResource
 
getPath() - Method in class org.apache.sling.api.servlets.HtmlResponse
Returns the absolute path of the item upon which the request operated.
getPath() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getPath() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getPath() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResource
 
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.ocm.AbstractMappedObject
 
getPath() - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Returns the path of this mapped object.
getPath() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
Return the path of the current node.
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.
getPathInfo() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getPathTranslated() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getPoolManager() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
getPosition() - Method in class org.apache.sling.commons.testing.jcr.MockNodeIterator
 
getPosition() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyIterator
 
getPrimaryItem() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getPrimaryItemName() - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
getPrimaryNodeType() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getPrimaryType() - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Returns the primary node type of the underlying node or null for new objects.
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.
getPrincipalName(String) - Static method in class org.apache.sling.openidauth.OpenIDUserUtil
 
getPriority() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
getPrivilegeSetDisplayName(Locale) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo.AccessRights
 
getProperties() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getProperties(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getProperties() - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
getProperties() - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Returns the properties of this content to be written to the properties of the repository node.
getProperty(String, Class<Type>) - Method in class org.apache.sling.api.servlets.HtmlResponse
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
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 class org.apache.sling.commons.testing.jcr.MockNode
 
getProperty(String) - Method in class org.apache.sling.commons.testing.osgi.MockServiceReference
 
getPropertyDefinitions() - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
getPropertyKeys() - Method in class org.apache.sling.commons.testing.osgi.MockServiceReference
 
getProtocol() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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.
getQueryString() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getQueueSize() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
getReader() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.READER property if not null and a Reader instance.
getReader() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRealPath(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRedirectUrl(HttpServletRequest, HtmlResponse) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
compute redirect URL (SLING-126)
getRedirectUrl(HttpServletRequest, HtmlResponse) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
compute redirect URL (SLING-126)
getReferences() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getReferer() - Method in class org.apache.sling.api.servlets.HtmlResponse
Returns the referer as from the 'referer' request header.
getRegisteredServices() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getRemoteAddr() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRemoteHost() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRemotePort() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRemoteUser() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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.commons.testing.jcr.RepositoryTestBase
Return a Repository - first call initializes it, and a JVM shutdown hook is registered to stop it
getRepository() - Static method in class org.apache.sling.commons.testing.jcr.RepositoryUtil
Get a repository
getRepository() - Method in class org.apache.sling.jackrabbit.usermanager.post.CreateUserServlet
Returns the JCR repository used by this service.
getRepository() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Returns the repository underlying this instance or null if no repository is currently being available.
getRepository(String, Hashtable<String, Object>) - Method in class org.apache.sling.jcr.base.util.RepositoryAccessor
First try to access the Repository via JNDI (unless jndiContext is null), and if not successful try RMI.
getRepositoryAccessor() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Returns a new instance of the RepositoryAccessor class to access a repository over RMI or through JNDI.
getRepositoryFromURL(String) - Method in class org.apache.sling.jcr.base.util.RepositoryAccessor
Acquire a Repository from the given URL
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
Same as SlingHttpServletRequest.getRequestDispatcher(Resource,RequestDispatcherOptions) but using empty options.
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
 
getRequestDispatcher(String, RequestDispatcherOptions) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRequestDispatcher(Resource) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRequestDispatcher(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRequestedSessionId() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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
 
getRequestParameter(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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
 
getRequestParameterMap() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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
 
getRequestParameters(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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
 
getRequestPathInfo() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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
 
getRequestProgressTracker() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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.
getRequestURI() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRequestURL() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getRequiredType() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
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
Returns a resource from this resource provider or null if the resource provider cannot find it.
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(String) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getResource(String) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
getResource(Resource, String) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
getResource() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getResource(ResourceResolver, HttpServletRequest, String) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
 
getResource(ResourceResolver, String) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
 
getResource(String) - Method in class org.apache.sling.launchpad.base.shared.LauncherClassLoader
Return an URL to the requested resource.
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
 
getResourceBundle(Locale) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getResourceBundle(String, Locale) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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
 
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.
getResourceMetadata() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResource
 
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.
getResourceResolver() - Method in interface org.apache.sling.api.resource.Resource
Returns the ResourceResolver from which this resource has been retrieved.
getResourceResolver() - Method in class org.apache.sling.api.resource.ResourceWrapper
 
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() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getResourceResolver() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResource
 
getResourceResolver(Session) - Method in interface org.apache.sling.jcr.resource.JcrResourceResolverFactory
Returns a ResourceResolver for the given session.
getResources(String) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getResourceSuperType() - Method in interface org.apache.sling.api.resource.Resource
Returns the super type of the type of the resource or null if the Resource.getResourceType() has no supertype.
getResourceSuperType() - Method in class org.apache.sling.api.resource.ResourceWrapper
 
getResourceSuperType() - Method in class org.apache.sling.api.resource.SyntheticResource
Synthetic resources by default do not have a resource super type.
getResourceSuperType() - Method in class org.apache.sling.commons.testing.sling.MockResource
 
getResourceSuperType() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResource
 
getResourceSuperType(ResourceResolver, String) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Returns the super type of the given resource type.
getResourceSuperType(Resource) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Returns the resource super type of the given resource.
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
 
getResourceType() - Method in class org.apache.sling.api.resource.SyntheticResource
 
getResourceType() - Method in class org.apache.sling.commons.testing.sling.MockResource
 
getResourceType() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResource
 
getResourceTypeForNode(Node) - Method in interface org.apache.sling.jcr.resource.JcrResourceTypeProvider
Return the resource type to use for the node.
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
 
getResponseContentType() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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
 
getResponseContentTypes() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getScheduledEvent(String, String, String) - Method in interface org.apache.sling.event.TimedEventStatusProvider
Return the scheduled event with the given id.
getScheduledEvents(String, Map<String, Object>...) - Method in interface org.apache.sling.event.TimedEventStatusProvider
Return a list of currently schedulded events.
getScheduledJobs(String) - Method in interface org.apache.sling.event.JobStatusProvider
Return a list of currently schedulded jobs.
getScheduledJobs(String, Map<String, Object>...) - Method in interface org.apache.sling.event.JobStatusProvider
Return a list of currently schedulded jobs.
getScheme() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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.
getSearchPath() - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
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.
getServerName() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getServerPort() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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
 
getServiceReference() - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
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
 
getServicesInUse() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getServletContext() - Method in class org.apache.sling.engine.servlets.AbstractServiceReferenceConfig
 
getServletInfo() - Method in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Returns the simple class name of this servlet class.
getServletInfo() - Method in class org.apache.sling.launchpad.webapp.SlingServlet
 
getServletName(Servlet) - Static method in class org.apache.sling.engine.RequestUtil
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.
getServletPath() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getSession() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
getSession() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getSession() - Method in class org.apache.sling.commons.testing.jcr.RepositoryTestBase
Return a JCR Session, initialized on demand
getSession() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getSession(boolean) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getSessionPoolFactory() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
getShutdownWaitTimeMs() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
getSize() - Method in interface org.apache.sling.api.request.RequestParameter
Returns the size in bytes of the parameter.
getSize() - Method in class org.apache.sling.commons.testing.jcr.MockNodeIterator
 
getSize() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyIterator
 
getSling() - Method in class org.apache.sling.api.scripting.SlingBindings
Returns the SlingBindings.SLING property if not null and a SlingScriptHelper instance.
getSlingId() - Method in interface org.apache.sling.engine.SlingSettingsService
The identifier of the running Sling instance.
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.
getSource() - Method in class org.apache.sling.servlets.post.Modification
 
getState() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
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
 
getStatusCode() - Method in class org.apache.sling.api.servlets.HtmlResponse
Returns the status code of this instance.
getStatusMessage() - Method in class org.apache.sling.api.servlets.HtmlResponse
 
getStream() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getStream() - Method in class org.apache.sling.commons.testing.jcr.MockValue
 
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.
getString() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getString() - Method in class org.apache.sling.commons.testing.jcr.MockValue
 
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.
getSupertypes() - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
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.
getSymbolicName() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
getTestRootNode() - Method in class org.apache.sling.commons.testing.jcr.RepositoryTestBase
Return a test root node, created on demand, with a unique path
getType() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getType() - Method in class org.apache.sling.commons.testing.jcr.MockValue
 
getType() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
getType() - Method in class org.apache.sling.servlets.post.Modification
 
getUserManager(Session) - Static method in class org.apache.sling.jcr.base.util.AccessControlUtil
Returns the UserManager for the given session.
getUserPrincipal() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
getUsingBundle() - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
getUsingBundles() - Method in class org.apache.sling.commons.testing.osgi.MockServiceReference
 
getUUID() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
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() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getValueConstraints() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
getValueMap(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Returns an ValueMap object for the given Resource.
getValues(String) - Method in interface org.apache.sling.api.request.RequestParameterMap
Returns all values for the named parameter or null if none
getValues() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
getVersionHistory() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
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
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.engine.ResponseUtil
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.
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, HtmlResponse, List<Modification>) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
Extending Servlet should implement this operation to do the work
handleOperation(SlingHttpServletRequest, HtmlResponse, List<Modification>) - Method in class org.apache.sling.jackrabbit.usermanager.post.ChangeUserPasswordServlet
 
handleOperation(SlingHttpServletRequest, HtmlResponse, List<Modification>) - Method in class org.apache.sling.jackrabbit.usermanager.post.CreateGroupServlet
 
handleOperation(SlingHttpServletRequest, HtmlResponse, List<Modification>) - Method in class org.apache.sling.jackrabbit.usermanager.post.CreateUserServlet
 
handleOperation(SlingHttpServletRequest, HtmlResponse, List<Modification>) - Method in class org.apache.sling.jackrabbit.usermanager.post.DeleteAuthorizableServlet
 
handleOperation(SlingHttpServletRequest, HtmlResponse, List<Modification>) - Method in class org.apache.sling.jackrabbit.usermanager.post.UpdateGroupServlet
 
handleOperation(SlingHttpServletRequest, HtmlResponse, List<Modification>) - Method in class org.apache.sling.jackrabbit.usermanager.post.UpdateUserServlet
 
handleOperation(SlingHttpServletRequest, HtmlResponse, 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, HtmlResponse, List<Modification>) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.DeleteAcesServlet
 
handleOperation(SlingHttpServletRequest, HtmlResponse, List<Modification>) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.ModifyAceServlet
 
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
 
hasFeature(Context, int) - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
hashCode() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
hashCode() - Method in class org.apache.sling.event.EventPropertiesMap
 
hasItemPathPrefix(String) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
Returns true if the name starts with either of the prefixes {@link SlingPostConstants#ITEM_PREFIX_RELATIVE_CURRENT .
hasItemPathPrefix(String) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Returns true if the name starts with either of the prefixes {@link SlingPostConstants#ITEM_PREFIX_RELATIVE_CURRENT .
hasNext() - Method in class org.apache.sling.commons.testing.jcr.MockNodeIterator
 
hasNext() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyIterator
 
hasNode(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
hasNodes() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
hasOrderableChildNodes() - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
hasPermission(Object) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
hasProperties() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
hasProperty(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
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
 
holdsLock() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
HOME_DIR - Static variable in class org.apache.sling.commons.testing.jcr.RepositoryUtil
 
HtmlResponse - Class in org.apache.sling.api.servlets
Generator for a HTML status response that displays the changes made in a post request. see HtmlResponse.html for the format.
HtmlResponse() - Constructor for class org.apache.sling.api.servlets.HtmlResponse
Creates a new html response with default settings, which is null for almost all properties except the HtmlResponse.isCreateRequest() which defaults to false.
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
 
HTTP_BASE_URL - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
HttpAnyMethod - Class in org.apache.sling.commons.testing.integration
Allows any HTTP method for HtttpClient
HttpAnyMethod(String, String) - Constructor for class org.apache.sling.commons.testing.integration.HttpAnyMethod
 
httpClient - Variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
HttpConstants - Class in org.apache.sling.api.servlets
HTTP-related constants
HttpConstants() - Constructor for class org.apache.sling.api.servlets.HttpConstants
 
HttpStatusCodeException - Exception in org.apache.sling.commons.testing.integration
 
HttpStatusCodeException(int, int, String, String) - Constructor for exception org.apache.sling.commons.testing.integration.HttpStatusCodeException
 
HttpTestBase - Class in org.apache.sling.commons.testing.integration
Base class for HTTP-based Sling Launchpad integration tests
HttpTestBase() - Constructor for class org.apache.sling.commons.testing.integration.HttpTestBase
 
HttpTestBase.TestNode - Class in org.apache.sling.commons.testing.integration
Class that creates a test node under the given parentPath, and stores useful values for testing.
HttpTestBase.TestNode(String, Map<String, String>) - Constructor for class org.apache.sling.commons.testing.integration.HttpTestBase.TestNode
 
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

ID - Static variable in class org.apache.sling.maven.jcrocm.FieldDescriptor
 
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 IMPERSONATION_DEFAULT if the impersonation should be handled by org.apache.jackrabbit.core.security.authentication.DefaultLoginModule#impersonate .
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
 
include(String) - Method in interface org.apache.sling.api.scripting.SlingScriptHelper
Same as SlingScriptHelper.include(String,RequestDispatcherOptions), but using empty options.
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(String) - Method in class org.apache.sling.scripting.core.ScriptHelper
 
include(String, String) - Method in class org.apache.sling.scripting.core.ScriptHelper
Include the output of another request, using specified options
include(String, RequestDispatcherOptions) - Method in class org.apache.sling.scripting.core.ScriptHelper
Include the output of another request, using specified options
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.
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() - Method in class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
Initializes this servlet by loading the framework configuration properties, starting the OSGi framework (Apache Felix) and exposing the system bundle context and the Felix instance as servlet context attributes.
init() - Method in class org.apache.sling.launchpad.webapp.SlingServlet
Launches the SLing framework if the sling.home setting can be derived from the configuration or the SerlvetContext.
init(Scriptable, boolean) - Static method in class org.apache.sling.scripting.javascript.helper.SlingGlobal
 
initStandardObjects(ScriptableObject, boolean) - Method in class org.apache.sling.scripting.javascript.helper.SlingContext
 
installLauncherJar(URL, String) - Static method in class org.apache.sling.launchpad.base.shared.Loader
Copies the contents of the launcher JAR as indicated by the URL to the sling home directory and sets the last modification time stamp fo the file.
INTERFACE - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
INTERFACE_NAME - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
INTERFACES - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
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
 
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.
isAssignableTo(Bundle, String) - Method in class org.apache.sling.commons.testing.osgi.MockServiceReference
 
isAutoCreated() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
isCheckedOut() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
isCreateRequest() - Method in class org.apache.sling.api.servlets.HtmlResponse
Returns true if this was a create request.
isDaemon() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
isDebugging() - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
isEmpty() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
isEmpty() - Method in class org.apache.sling.event.EventPropertiesMap
 
isEmpty() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
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.
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. the target item, that may or may not yet exist).
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
Is this a job event?
isLocal(Event) - Static method in class org.apache.sling.event.EventUtil
Is this a local event?
isLocked() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
isMandatory() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
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.
isMixin() - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
isModified() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
isModified() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
isMultiple() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
isNew() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
isNew() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
isNode() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
isNode() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
isNodeType(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
isNodeType(String) - Method in class org.apache.sling.commons.testing.jcr.MockNodeType
 
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.
isProtected() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
isRequestedSessionIdFromCookie() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
isRequestedSessionIdFromURL() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
isRequestedSessionIdFromUrl() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
isRequestedSessionIdValid() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
isSame(Item) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
isSame(Item) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
isSecure() - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
isSetStatus(SlingHttpServletRequest) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
 
isSetStatus(SlingHttpServletRequest) - Method in class org.apache.sling.jcr.jackrabbit.accessmanager.post.AbstractAccessPostServlet
 
isShutdownGraceful() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
isStarResource(Resource) - Static method in class org.apache.sling.api.resource.ResourceUtil
Returns true if the resource res is a "star resource".
isSuccessful() - Method in class org.apache.sling.api.servlets.HtmlResponse
Returns true if no error is set and if the status code is one of the 2xx codes.
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.
isUserInRole(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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

JCR_DEFAULT_VALUE - Static variable in class org.apache.sling.maven.jcrocm.FieldDescriptor
 
JCR_MIXIN_TYPES - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
JCR_MULTIPLE - Static variable in class org.apache.sling.maven.jcrocm.FieldDescriptor
 
JCR_SAME_NAME_SIBBLINGS - Static variable in class org.apache.sling.maven.jcrocm.AbstractNodeDescriptor
 
JCR_SUPER_TYPES - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
JCR_TYPE - Static variable in class org.apache.sling.maven.jcrocm.AbstractNodeDescriptor
 
JCR_TYPE - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
JCR_TYPE - Static variable in class org.apache.sling.maven.jcrocm.FieldDescriptor
 
JCR_VALUE_CONSTRAINTS - Static variable in class org.apache.sling.maven.jcrocm.FieldDescriptor
 
JcrModifiablePropertyMap - Class in org.apache.sling.jcr.resource
This implementation of the value map allows to change the properies and save them later on.
JcrModifiablePropertyMap(Node) - Constructor for class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
JcrOcmMojo - Class in org.apache.sling.maven.jcrocm
The JcrOcmMojo implements the (default) ocm goal of the maven-jcrocm-plugin.
JcrOcmMojo() - Constructor for class org.apache.sling.maven.jcrocm.JcrOcmMojo
 
JcrPropertyMap - Class in org.apache.sling.jcr.resource
 
JcrPropertyMap(Node) - Constructor for class org.apache.sling.jcr.resource.JcrPropertyMap
 
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
The JcrResourceResolverFactory interface defines the service interface to have JCR-based ResourceResolver instances created for JCR sessions.
JcrResourceTypeProvider - Interface in org.apache.sling.jcr.resource
Provide a resource type for repository nodes which do not have a sling:resourceType property.
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.
JobContext - Interface in org.apache.sling.commons.scheduler
The context for a Job.
JobProcessor - Interface in org.apache.sling.event
A job processor processes a job in the background.
JobStatusProvider - Interface in org.apache.sling.event
This service provides the current job processing status.
join(String) - Method in class org.apache.sling.commons.json.JSONArray
Make a string from the contents of this JSONArray.
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_javascriptWrapperClass() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableBase
Used in testing, to check that the right wrapper is used.
jsGet_javascriptWrapperClass() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableCalendar
 
jsGet_javascriptWrapperClass() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableNode
 
jsGet_javascriptWrapperClass() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableProperty
 
jsGet_javascriptWrapperClass() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersion
 
jsGet_javascriptWrapperClass() - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableVersionHistory
 
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
 
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.
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.
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
 
keySet() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
keySet() - Method in class org.apache.sling.event.EventPropertiesMap
 
keySet() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
keySet() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 

L

Launcher - Interface in org.apache.sling.launchpad.base.shared
The Launcher interface is implemented by the delegate classes inside the Launcher JAR and are used by the actual Main class or servlet to configure and start the framework.
LAUNCHER_JAR_REL_PATH - Static variable in interface org.apache.sling.launchpad.base.shared.SharedConstants
The name of the file providing the Launcher JAR.
LauncherClassLoader - Class in org.apache.sling.launchpad.base.shared
The LauncherClassLoader extends the standard Java VM URLClassLoader such, that classes and resources which are contained in the launcher JAR File are never looked up in the parent class loader.
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(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
Returns an Iterator of Resource objects loaded from the children of the given Resource.
listChildren(Resource) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
listChildren(Resource) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
 
loadClass(String) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
loadClass(String, boolean) - Method in class org.apache.sling.launchpad.base.shared.LauncherClassLoader
Load the name class and optionally resolve it, if found.
Loader - Class in org.apache.sling.launchpad.base.shared
The Loader class provides utility methods for the actual launchers to help launching the framework.
Loader() - Constructor for class org.apache.sling.launchpad.base.shared.Loader
 
loadLauncher(String, String) - Static method in class org.apache.sling.launchpad.base.shared.Loader
Creates an URLClassLoader from a _launcher JAR_ file in the given slingHome directory and loads and returns the launcher class identified by the launcherClassName.
locateService(String, ServiceReference) - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
locateService(String) - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
locateServices(String) - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
lock(boolean, boolean) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
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) - Method in class org.apache.sling.commons.testing.sling.MockRequestProgressTracker
 
log(String, Object...) - Method in class org.apache.sling.commons.testing.sling.MockRequestProgressTracker
 
log(int, String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
log(int, String, Throwable) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
log - Variable in class org.apache.sling.servlets.post.AbstractSlingPostOperation
default log
login() - Method in class org.apache.sling.commons.testing.jcr.RepositoryUtil.RepositoryWrapper
 
login(Credentials, String) - Method in class org.apache.sling.commons.testing.jcr.RepositoryUtil.RepositoryWrapper
 
login(Credentials) - Method in class org.apache.sling.commons.testing.jcr.RepositoryUtil.RepositoryWrapper
 
login(String) - Method in class org.apache.sling.commons.testing.jcr.RepositoryUtil.RepositoryWrapper
 
login(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.Authenticator
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
Logs in as an anonymous user.
login(Credentials) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
login(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
login(Credentials, String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
loginAdministrative(String) - Method in class org.apache.sling.commons.testing.jcr.RepositoryUtil.RepositoryWrapper
 
loginAdministrative(String) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
LoginModulePlugin - Interface in org.apache.sling.jcr.jackrabbit.server.security
Provide login module functionality that extends org.apache.jackrabbit.core.security.authentication.DefaultLoginModule for a specific type of java.jcr.Credentials.
LOGOUT_REQUEST_PATH - Static variable in class org.apache.sling.openidauth.OpenIDConstants
 
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.
logTimer(String) - Method in class org.apache.sling.commons.testing.sling.MockRequestProgressTracker
 
logTimer(String, String, Object...) - Method in class org.apache.sling.commons.testing.sling.MockRequestProgressTracker
 
LT - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '<'.

M

Main - Class in org.apache.sling.launchpad.app
The Main is the externally visible Standalone Java Application launcher for Sling.
main(String[]) - Static method in class org.apache.sling.launchpad.app.Main
 
MainDelegate - Class in org.apache.sling.launchpad.base.app
The Main class is a simple Java Application which interprests the command line and creates the Sling launcher class and thus starts the OSGi framework.
MainDelegate() - Constructor for class org.apache.sling.launchpad.base.app.MainDelegate
 
makeContext() - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
makeReadOnly() - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
Make the configuration read-only.
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.NameValuePair(String, String) - Constructor for class org.apache.sling.commons.osgi.ManifestHeader.NameValuePair
 
ManifestHeader.PathImpl - Class in org.apache.sling.commons.osgi
 
ManifestHeader.PathImpl(String) - Constructor for class org.apache.sling.commons.osgi.ManifestHeader.PathImpl
 
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.
map(String) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
map(HttpServletRequest, String) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
MAPPER_BUNDLE_HEADER - Static variable in class org.apache.sling.jcr.ocm.OcmConstants
The name of the bundle manifest header listing the bundle entries providing Object Content Mapping configurations (value is "Sling-Mappings").
MAPPING_CLASS - Static variable in class org.apache.sling.jcr.ocm.OcmConstants
The name of the event property providing a String[] of class names mapped at the time the event is sent (value is "MAPPED_CLASS").
MAPPING_NODE_TYPE - Static variable in class org.apache.sling.jcr.ocm.OcmConstants
The name of the event property providing a String[] of node types mapped at the time the event is sent (value is "MAPPED_NODE_TYPE").
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.
merge(String, boolean) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
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 TODO This interface may be implemented by bundles wishing to provide control over how extensions are mapped to MIME types and vice-versa.
MimeTypeService - Interface in org.apache.sling.commons.mime
The MimeTypeService TODO This interface is not intended to be implemented by bundles.
MIN_POLL - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
The minimum number of seconds allowed for any of the two poll times
mkdir(String) - Method in class org.apache.sling.commons.testing.integration.SlingIntegrationTestClient
Create the given directory via WebDAV, if needed, under given URL
mkdirs(String, String) - Method in class org.apache.sling.commons.testing.integration.SlingIntegrationTestClient
Create the given directory via WebDAV, including parent directories
MockBundle - Class in org.apache.sling.commons.testing.osgi
 
MockBundle(long) - Constructor for class org.apache.sling.commons.testing.osgi.MockBundle
 
MockComponentContext - Class in org.apache.sling.commons.testing.osgi
 
MockComponentContext(MockBundle, Servlet) - Constructor for class org.apache.sling.commons.testing.osgi.MockComponentContext
 
MockNode - Class in org.apache.sling.commons.testing.jcr
 
MockNode(String) - Constructor for class org.apache.sling.commons.testing.jcr.MockNode
 
MockNode(String, String) - Constructor for class org.apache.sling.commons.testing.jcr.MockNode
 
MockNodeIterator - Class in org.apache.sling.commons.testing.jcr
 
MockNodeIterator() - Constructor for class org.apache.sling.commons.testing.jcr.MockNodeIterator
 
MockNodeIterator(Node[]) - Constructor for class org.apache.sling.commons.testing.jcr.MockNodeIterator
 
MockNodeType - Class in org.apache.sling.commons.testing.jcr
 
MockNodeType(String) - Constructor for class org.apache.sling.commons.testing.jcr.MockNodeType
 
MockProperty - Class in org.apache.sling.commons.testing.jcr
 
MockProperty(String) - Constructor for class org.apache.sling.commons.testing.jcr.MockProperty
 
MockPropertyDefinition - Class in org.apache.sling.commons.testing.jcr
 
MockPropertyDefinition(boolean) - Constructor for class org.apache.sling.commons.testing.jcr.MockPropertyDefinition
 
MockPropertyIterator - Class in org.apache.sling.commons.testing.jcr
 
MockPropertyIterator(Iterator<Property>) - Constructor for class org.apache.sling.commons.testing.jcr.MockPropertyIterator
 
MockRequestProgressTracker - Class in org.apache.sling.commons.testing.sling
 
MockRequestProgressTracker() - Constructor for class org.apache.sling.commons.testing.sling.MockRequestProgressTracker
 
MockResource - Class in org.apache.sling.commons.testing.sling
 
MockResource(ResourceResolver, String, String) - Constructor for class org.apache.sling.commons.testing.sling.MockResource
 
MockResource(ResourceResolver, String, String, String) - Constructor for class org.apache.sling.commons.testing.sling.MockResource
 
MockResourceResolver - Class in org.apache.sling.commons.testing.sling
 
MockResourceResolver() - Constructor for class org.apache.sling.commons.testing.sling.MockResourceResolver
 
MockServiceReference - Class in org.apache.sling.commons.testing.osgi
 
MockServiceReference(Bundle) - Constructor for class org.apache.sling.commons.testing.osgi.MockServiceReference
 
MockSlingHttpServletRequest - Class in org.apache.sling.commons.testing.sling
Mock request object.
MockSlingHttpServletRequest(String, String, String, String, String) - Constructor for class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
MockValue - Class in org.apache.sling.commons.testing.jcr
 
MockValue(String) - Constructor for class org.apache.sling.commons.testing.jcr.MockValue
 
mode - Variable in class org.apache.sling.commons.json.io.JSONWriter
The current mode.
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
 
ModifyAceServlet - Class in org.apache.sling.jcr.jackrabbit.accessmanager.post
Sling Post Servlet implementation for modifying the ACE for a principal on a JCR resource.
ModifyAceServlet() - Constructor for class org.apache.sling.jcr.jackrabbit.accessmanager.post.ModifyAceServlet
 
more() - Method in class org.apache.sling.commons.json.JSONTokener
Determine if the source string still contains characters that next() can consume.

N

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/").
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.
next() - Method in class org.apache.sling.commons.testing.jcr.MockNodeIterator
 
next() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyIterator
 
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.
nextNode() - Method in class org.apache.sling.commons.testing.jcr.MockNodeIterator
 
nextProperty() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyIterator
 
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.engine.auth
The NoAuthenticationHandlerException is thrown to indicate that there is no AuthenticationHandler willing to handle the request.
NoAuthenticationHandlerException() - Constructor for exception org.apache.sling.engine.auth.NoAuthenticationHandlerException
 
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
 
nodeUrl - Variable in class org.apache.sling.commons.testing.integration.HttpTestBase.TestNode
 
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
 
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.
Notifiable - Interface in org.apache.sling.launchpad.base.shared
The Notifiable interface is implemented by the real main class and Sling Servlet for them to be notified from the launcher JAR when the framework has been stopped or updated.
notifier - Variable in class org.apache.sling.event.EventUtil.JobStatusNotifier.NotifierContext
 
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) - 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.
ObjectContentManagerFactory - Interface in org.apache.sling.jcr.ocm
The ObjectContentManagerFactory TODO
OcmConstants - Class in org.apache.sling.jcr.ocm
The OcmConstants interface provides constant values for event topics and event properties for events sent from this bundle.
OcmConstants() - Constructor for class org.apache.sling.jcr.ocm.OcmConstants
 
onChange(String, String...) - Method in class org.apache.sling.api.servlets.HtmlResponse
Records a generic change of the given type.
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
 
onContextCreated(Context) - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
onCopied(String, String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Records a 'copied' change.
onCopied(String, String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'copied' change.
onCreated(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Records a 'created' change
onCreated(String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'created' change
onDeleted(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Records a 'deleted' change
onDeleted(String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'deleted' change
onModified(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Records a 'modified' change
onModified(String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'modified' change
onMoved(String, String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Records a 'moved' change.
onMoved(String, String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'moved' change.
onOrder(String, String) - Static method in class org.apache.sling.servlets.post.Modification
Records a 'order' change.
OPEN_ID_AUTH_TYPE - Static variable in class org.apache.sling.openidauth.OpenIDConstants
 
OPEN_ID_USER_ATTRIBUTE - Static variable in class org.apache.sling.openidauth.OpenIDConstants
 
OPENID_FAILURE_REASON_ATTRIBUTE - Static variable in class org.apache.sling.openidauth.OpenIDConstants
 
OpenIDConstants - Class in org.apache.sling.openidauth
 
OpenIDConstants() - Constructor for class org.apache.sling.openidauth.OpenIDConstants
 
OpenIDConstants.OpenIDFailure - Enum in org.apache.sling.openidauth
 
OpenIDUserUtil - Class in org.apache.sling.openidauth
 
OpenIDUserUtil() - Constructor for class org.apache.sling.openidauth.OpenIDUserUtil
 
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_MOVE - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Name of the predefined move operation (value is "move") The move operation requires the SlingPostConstants.RP_DEST request parameter denoting the path to move the content to.
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.
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").
orderBefore(String, String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
orderNode(SlingHttpServletRequest, Item, List<Modification>) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Orders the given node according to the specified command.
org.apache.sling.api - package org.apache.sling.api
 
org.apache.sling.api.adapter - package org.apache.sling.api.adapter
 
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.servlets - package org.apache.sling.api.servlets
 
org.apache.sling.api.wrappers - package org.apache.sling.api.wrappers
 
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.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.mime - package org.apache.sling.commons.mime
 
org.apache.sling.commons.osgi - package org.apache.sling.commons.osgi
 
org.apache.sling.commons.scheduler - package org.apache.sling.commons.scheduler
 
org.apache.sling.commons.testing.integration - package org.apache.sling.commons.testing.integration
 
org.apache.sling.commons.testing.jcr - package org.apache.sling.commons.testing.jcr
 
org.apache.sling.commons.testing.osgi - package org.apache.sling.commons.testing.osgi
 
org.apache.sling.commons.testing.sling - package org.apache.sling.commons.testing.sling
 
org.apache.sling.commons.testing.util - package org.apache.sling.commons.testing.util
 
org.apache.sling.commons.threads - package org.apache.sling.commons.threads
 
org.apache.sling.engine - package org.apache.sling.engine
 
org.apache.sling.engine.auth - package org.apache.sling.engine.auth
 
org.apache.sling.engine.servlets - package org.apache.sling.engine.servlets
 
org.apache.sling.event - package org.apache.sling.event
 
org.apache.sling.jackrabbit.usermanager.post - package org.apache.sling.jackrabbit.usermanager.post
 
org.apache.sling.jackrabbit.usermanager.resource - package org.apache.sling.jackrabbit.usermanager.resource
 
org.apache.sling.jcr.base - package org.apache.sling.jcr.base
 
org.apache.sling.jcr.base.util - package org.apache.sling.jcr.base.util
 
org.apache.sling.jcr.classloader - package org.apache.sling.jcr.classloader
 
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.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.ocm - package org.apache.sling.jcr.ocm
 
org.apache.sling.jcr.resource - package org.apache.sling.jcr.resource
 
org.apache.sling.launchpad.app - package org.apache.sling.launchpad.app
 
org.apache.sling.launchpad.base.app - package org.apache.sling.launchpad.base.app
 
org.apache.sling.launchpad.base.shared - package org.apache.sling.launchpad.base.shared
 
org.apache.sling.launchpad.base.webapp - package org.apache.sling.launchpad.base.webapp
 
org.apache.sling.launchpad.testservices.servlets - package org.apache.sling.launchpad.testservices.servlets
 
org.apache.sling.launchpad.webapp - package org.apache.sling.launchpad.webapp
 
org.apache.sling.maven.bundlesupport - package org.apache.sling.maven.bundlesupport
 
org.apache.sling.maven.jcrocm - package org.apache.sling.maven.jcrocm
 
org.apache.sling.openidauth - package org.apache.sling.openidauth
 
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.servlets.post - package org.apache.sling.servlets.post
 
ORIGINAL_URL_ATTRIBUTE - Static variable in class org.apache.sling.openidauth.OpenIDConstants
 
OsgiUtil - Class in org.apache.sling.commons.osgi
The OsgiUtil is a utility class providing some usefull utility methods.
OsgiUtil() - Constructor for class org.apache.sling.commons.osgi.OsgiUtil
 
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").

P

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.engine.RequestUtil
Parses an Accept-* header of the form: Header = Token { "," Token } .
parserHeader(String) - Static method in class org.apache.sling.engine.RequestUtil
Parses a header of the form: Header = Token { "," Token } .
PATH - Static variable in class org.apache.sling.maven.jcrocm.FieldDescriptor
 
PATH_PROPERTY - Static variable in interface org.apache.sling.engine.auth.AuthenticationHandler
An authentication handler is associated with url paths.
PersistableValueMap - Interface in org.apache.sling.api.resource
The PersistableValueMap is an extension of the ValueMap which allows to modify and persist the properties.
PersistenceException - Exception in org.apache.sling.api.resource
This exception will be thrown during the try to persists changes to a PersistableValueMap.
PersistenceException() - Constructor for exception org.apache.sling.api.resource.PersistenceException
 
PersistenceException(String) - Constructor for exception org.apache.sling.api.resource.PersistenceException
 
PersistenceException(String, Throwable) - Constructor for exception org.apache.sling.api.resource.PersistenceException
 
pingAndCheck() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Ping our current repository and check that admin login (required by Sling) works.
pingRepository(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Checks that the given repository is still available.
PN_CHANGE_LOG - Static variable in class org.apache.sling.api.servlets.HtmlResponse
human readable changelog
PN_ERROR - Static variable in class org.apache.sling.api.servlets.HtmlResponse
The Throwable caught while processing the request.
PN_IS_CREATED - Static variable in class org.apache.sling.api.servlets.HtmlResponse
Indicating whether request processing created new data.
PN_LOCATION - Static variable in class org.apache.sling.api.servlets.HtmlResponse
externally mapped location url of the modified path
PN_PARENT_LOCATION - Static variable in class org.apache.sling.api.servlets.HtmlResponse
externally mapped location url of the parent of the modified path
PN_PATH - Static variable in class org.apache.sling.api.servlets.HtmlResponse
the path of the modified item. this is usually the addressed resource or in case of a creation request (eg: /foo/*) the path of the newly created node.
PN_REFERER - Static variable in class org.apache.sling.api.servlets.HtmlResponse
the referrer of the request
PN_STATUS_CODE - Static variable in class org.apache.sling.api.servlets.HtmlResponse
status code. more or less http response status codes
PN_STATUS_MESSAGE - Static variable in class org.apache.sling.api.servlets.HtmlResponse
some human readable status message
PN_TITLE - Static variable in class org.apache.sling.api.servlets.HtmlResponse
some human readable title like: 200 Created /foo/bar
post(String, String) - Method in class org.apache.sling.maven.bundlesupport.BundleUninstallMojo
 
PrefixServletMinusOne - Class in org.apache.sling.launchpad.testservices.servlets
Example/test Sling Servlet using a prefix to demonstrate how PrefixServletZero overrides PrefixServletMinusOne
PrefixServletMinusOne() - Constructor for class org.apache.sling.launchpad.testservices.servlets.PrefixServletMinusOne
 
PrefixServletZero - Class in org.apache.sling.launchpad.testservices.servlets
Example/test Sling Servlet using a prefix to demonstrate how PrefixServletZero overrides PrefixServletMinusOne
PrefixServletZero() - Constructor for class org.apache.sling.launchpad.testservices.servlets.PrefixServletZero
 
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.
PrivilegesInfo.AccessRights() - Constructor for class org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo.AccessRights
 
process(Event) - Method in interface org.apache.sling.event.JobProcessor
Execute the job.
process(SlingHttpServletRequest, List<Modification>) - Method in interface org.apache.sling.servlets.post.SlingPostProcessor
Process the current request.
processDeletes(Authorizable, Map<String, RequestProperty>, List<Modification>) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
Removes all properties listed as RequestProperty.isDelete() from the authorizable.
processJob(Event, JobProcessor) - Static method in class org.apache.sling.event.EventUtil
Process a job in the background and notify its success.
PROP_OPERATION_NAME - Static variable in interface org.apache.sling.servlets.post.SlingPostOperation
The name of the service registration property indicating the name(s) of the operation provided by the operation implementation (value is "sling.post.operation").
PROPERTY_ADMIN_PASS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
PROPERTY_ADMIN_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
PROPERTY_ANONYMOUS_PASS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
PROPERTY_ANONYMOUS_USER - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
PROPERTY_APPLICATION - Static variable in class org.apache.sling.event.EventUtil
This event property specifies the application node.
PROPERTY_DEFAULT_WORKSPACE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
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_EVENT_ID - Static variable in interface org.apache.sling.event.JobStatusProvider
This is a unique identifer which can be used to cancel the job.
PROPERTY_EVENT_ID - Static variable in interface org.apache.sling.event.TimedEventStatusProvider
This is a unique identifer which can be used to cancel the job.
PROPERTY_JOB_ID - Static variable in class org.apache.sling.event.EventUtil
The property for the unique event id.
PROPERTY_JOB_PARALLEL - Static variable in class org.apache.sling.event.EventUtil
The property to set if a job can be run parallel to any other job.
PROPERTY_JOB_QUEUE_NAME - Static variable in class org.apache.sling.event.EventUtil
The property to set to put the jobs into a separate job queue.
PROPERTY_JOB_QUEUE_ORDERED - Static variable in class org.apache.sling.event.EventUtil
If this property is set with any value, the queue processes the jobs in the same order as they have arrived.
PROPERTY_JOB_RETRIES - Static variable in class org.apache.sling.event.EventUtil
The property to for setting the maximum number of retries.
PROPERTY_JOB_RETRY_COUNT - Static variable in class org.apache.sling.event.EventUtil
The property to track the retry count for jobs.
PROPERTY_JOB_RETRY_DELAY - Static variable in class org.apache.sling.event.EventUtil
The property to set a retry delay.
PROPERTY_JOB_RUN_LOCAL - Static variable in class org.apache.sling.event.EventUtil
The property to set if a job should only be run on the same app it has been created.
PROPERTY_JOB_TOPIC - Static variable in class org.apache.sling.event.EventUtil
The job topic property.
PROPERTY_MAX_ACTIVE_SESSIONS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
The name of the configuration parameter containing the upper limit of the simultaneously active sessions (value is "pool.maxActive").
PROPERTY_MAX_ACTIVE_SESSIONS_WAIT - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
The name of the configuration parameter containing the maximum number of seconds to wait for the number of currently active sessions to drop be low the upper limit before giving up (value is "pool.maxActiveWait").
PROPERTY_MAX_IDLE_SESSIONS - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
The name of the configuration parameter containing the upper limit of the currently idle sessions to keep in the pool (value is "pool.maxIdle").
PROPERTY_POLL_ACTIVE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
PROPERTY_POLL_INACTIVE - Static variable in class org.apache.sling.jcr.base.AbstractSlingRepository
 
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_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_TIMED_EVENT_DATE - Static variable in class org.apache.sling.event.EventUtil
The date for the timed event.
PROPERTY_TIMED_EVENT_ID - Static variable in class org.apache.sling.event.EventUtil
The property for the unique event id.
PROPERTY_TIMED_EVENT_PERIOD - Static variable in class org.apache.sling.event.EventUtil
The period for the timed event.
PROPERTY_TIMED_EVENT_SCHEDULE - Static variable in class org.apache.sling.event.EventUtil
The scheduler expression for the timed event.
PROPERTY_TIMED_EVENT_TOPIC - Static variable in class org.apache.sling.event.EventUtil
The real topic of the event.
PROVIDER_URL - Static variable in class org.apache.sling.commons.testing.jcr.RepositoryUtil
 
PROXY - Static variable in class org.apache.sling.maven.jcrocm.AbstractNodeDescriptor
 
put(String, Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
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
 
put(String, Object) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
put(String, Object) - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Sets the value of the indexed property.
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, ?>) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.sling.event.EventPropertiesMap
 
putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
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
 
PutMethodServlet - Class in org.apache.sling.launchpad.testservices.servlets
Example/test Sling Servlet registered for the PUT method on a specific resource type
PutMethodServlet() - Constructor for class org.apache.sling.launchpad.testservices.servlets.PutMethodServlet
 
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

query(Session, String, String) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Helper method to execute a JCR query
queryResources(String, String) - Method in interface org.apache.sling.api.resource.ResourceResolver
Queries the storage using the given query formulated in the given language.
queryResources(String, String) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
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 '?'.
QUOT - Static variable in class org.apache.sling.commons.json.xml.XML
The Character '"'.
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(String) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
READ - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
 
read(String) - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
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").
readFully() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
readFully() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
readProperties(Node, String, String[]) - Static method in class org.apache.sling.event.EventUtil
Read properties from a repository node and create a property map.
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_URL_PARAMETER - Static variable in class org.apache.sling.openidauth.OpenIDConstants
 
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(boolean) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
refresh(boolean) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
registerMimeType(String, String...) - Method in interface org.apache.sling.commons.mime.MimeTypeService
 
registerMimeType(InputStream) - Method in interface org.apache.sling.commons.mime.MimeTypeService
 
registerNodeType(Session, InputStream) - Static method in class org.apache.sling.commons.testing.jcr.RepositoryUtil
Registers node types from the CND file read from the source with the node type manager available from the given session.
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.
registerService() - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Registers this component as an OSGi service with type javax.jcr.Repository and org.apache.sling.jcr.api.SlingRepository using the component properties as service registration properties.
registerWrapper(Class<?>, String) - Method in class org.apache.sling.scripting.javascript.helper.SlingWrapFactory
 
remove(Object) - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
remove(String) - Method in class org.apache.sling.commons.json.JSONObject
Remove a name and its value, if present.
remove() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
remove() - Method in class org.apache.sling.commons.testing.jcr.MockNodeIterator
 
remove() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
remove() - Method in class org.apache.sling.commons.testing.jcr.MockPropertyIterator
 
remove(Object) - Method in class org.apache.sling.event.EventPropertiesMap
 
remove(Object) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
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
 
removeAttribute(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
removeEndingSlash(String) - Static method in class org.apache.sling.commons.testing.integration.HttpTestBase
 
removeJob(String) - Method in interface org.apache.sling.commons.scheduler.Scheduler
Remove a scheduled job by name.
removeMixin(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
REPOSITORY_NAME - Static variable in class org.apache.sling.commons.testing.jcr.RepositoryUtil
 
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
 
RepositoryClassLoaderProvider - Interface in org.apache.sling.jcr.classloader
The RepositoryClassLoaderProvider TODO
RepositoryTestBase - Class in org.apache.sling.commons.testing.jcr
Base class for tests which need a Repository.
RepositoryTestBase() - Constructor for class org.apache.sling.commons.testing.jcr.RepositoryTestBase
 
RepositoryUtil - Class in org.apache.sling.commons.testing.jcr
Utility class for managing JCR repositories, used to initialize temporary Jackrabbit repositories for testing.
RepositoryUtil() - Constructor for class org.apache.sling.commons.testing.jcr.RepositoryUtil
 
RepositoryUtil.RepositoryWrapper - Class in org.apache.sling.commons.testing.jcr
 
RepositoryUtil.RepositoryWrapper(Repository) - Constructor for class org.apache.sling.commons.testing.jcr.RepositoryUtil.RepositoryWrapper
 
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_LOG_NAME - Static variable in interface org.apache.sling.engine.RequestLog
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").
requestAuthentication(HttpServletRequest, HttpServletResponse) - Method in interface org.apache.sling.engine.auth.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.
RequestLog - Interface in org.apache.sling.engine
The RequestLog interface defines the API to be implemented by providers of destinations for request log information.
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.
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.engine
 
RequestUtil() - Constructor for class org.apache.sling.engine.RequestUtil
 
requireItemPathPrefix(SlingHttpServletRequest) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
Returns true if any of the request parameters starts with {@link SlingPostConstants#ITEM_PREFIX_RELATIVE_CURRENT .
requireItemPathPrefix(SlingHttpServletRequest) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Returns true if any of the request parameters starts with {@link SlingPostConstants#ITEM_PREFIX_RELATIVE_CURRENT .
rescheduleJob(Event) - Static method in class org.apache.sling.event.EventUtil
Notify a failed job.
reset() - Method in interface org.apache.sling.api.resource.PersistableValueMap
Reset the changes.
reset() - Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
reset() - Method in class org.apache.sling.scripting.javascript.io.EspReader
Reset the stream.
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. as of 2.0.4, use ResourceResolver.resolve(HttpServletRequest, String) instead.
resolve(HttpServletRequest) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
resolve(String) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
resolve(HttpServletRequest, String) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
resolvePath(String, String) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
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.
Resource - Interface in org.apache.sling.api.resource
Resources are pieces of content on which Sling acts The Resource is also an Adaptable to get adapters to other types.
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_EVENT - Static variable in class org.apache.sling.jcr.ocm.OcmConstants
The topic root for events published by this bundle (value is "org/apache/sling/jcr/ocm/OCMEvent").
RESOURCE_TYPE - Static variable in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
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").
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
 
ResourceProvider - Interface in org.apache.sling.api.resource
API for providers of resources.
ResourceResolver - Interface in org.apache.sling.api.resource
The ResourceResolver defines the service API which may be used to resolve Resource objects.
resourceType - Variable in class org.apache.sling.commons.testing.integration.HttpTestBase.TestNode
 
resourceTypeToPath(String) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Helper method, which returns the given resource type as returned from the Resource.getResourceType() as a relative path.
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
 
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").
ResponseUtil - Class in org.apache.sling.engine
Response-related utilities
ResponseUtil() - Constructor for class org.apache.sling.engine.ResponseUtil
 
restore(String, boolean) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
restore(Version, boolean) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
restore(Version, String, boolean) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
restoreByLabel(String, boolean) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
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_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_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
 
run() - Method in class org.apache.sling.launchpad.app.Main
Called when the Java VM is being terminiated, for example because the KILL signal has been sent to the process.
run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) - Method in class org.apache.sling.servlets.post.AbstractSlingPostOperation
Prepares and finalizes the actual operation.
run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[]) - Method in interface org.apache.sling.servlets.post.SlingPostOperation
Executes the operation provided by this service implementation.

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
Persists the changes.
save() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
save() - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
save() - Method in class org.apache.sling.jcr.resource.JcrModifiablePropertyMap
 
scheduledJobs(String) - Method in interface org.apache.sling.event.JobStatusProvider
Deprecated. Use JobStatusProvider.getScheduledJobs(String) instead.
Scheduler - Interface in org.apache.sling.commons.scheduler
A scheduler to schedule time/cron based jobs.
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
 
scriptPath - Variable in class org.apache.sling.commons.testing.integration.HttpTestBase.TestNode
 
SelectorServlet - Class in org.apache.sling.launchpad.testservices.servlets
Example/test Sling Servlet registered with two selectors
SelectorServlet() - Constructor for class org.apache.sling.launchpad.testservices.servlets.SelectorServlet
 
send(HttpServletResponse, boolean) - Method in class org.apache.sling.api.servlets.HtmlResponse
Writes the response to the given writer and replaces all ${var} patterns by the value of the respective property. if the property is not defined the pattern is not modified.
sendAcknowledge(Event, String) - Method in interface org.apache.sling.event.EventUtil.JobStatusNotifier
Send an acknowledge message that someone is processing the job.
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(ServletRequest, ServletResponse) - Method in class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
Services the request by delegating to the delegatee servlet.
service(ServletRequest, ServletResponse) - Method in class org.apache.sling.launchpad.webapp.SlingServlet
If Sling has already been started, the request is forwarded to the started Sling framework.
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 (value is "org.apache.sling.osgi.commons.AdapterFactory").
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.servlets.post.SlingPostOperation
The name of the Sling POST operation service (value is "org.apache.sling.servlets.post.SlingPostOperation").
services - Variable in class org.apache.sling.scripting.core.ScriptHelper
A map of found services.
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 - Variable in class org.apache.sling.commons.testing.jcr.RepositoryTestBase
 
SESSION - Static variable in class org.apache.sling.engine.EngineConstants
The name of the request attribute set by the org.apache.sling.engine.impl.auth.SlingAuthenticator when authenticating the request user (value is "javax.jcr.Session").
SET_PROPERTY - Static variable in interface org.apache.sling.jcr.jackrabbit.server.security.accessmanager.AccessManagerPlugin
 
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 class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
setBlockPolicy(ThreadPoolConfig.ThreadPoolPolicy) - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
setCharacterEncoding(String) - Method in class org.apache.sling.api.resource.ResourceMetadata
Sets the ResourceMetadata.CHARACTER_ENCODING property to encoding if not null.
setCharacterEncoding(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
setCommandLine(Map<String, String>) - Method in class org.apache.sling.launchpad.base.app.MainDelegate
 
setCommandLine(Map<String, String>) - Method in interface org.apache.sling.launchpad.base.shared.Launcher
The commandline provided from the standalone launch case.
setCommandLine(Map<String, String>) - Method in class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
 
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
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.ThreadPoolConfig
 
setDebugging(boolean) - Method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
setError(Throwable) - Method in class org.apache.sling.api.servlets.HtmlResponse
 
setFactory(ThreadFactory) - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
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.
setKeepAliveTime(long) - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
setLocation(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
 
setLog(Logger) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.LOG property to log if not null.
setMaxPoolSize(int) - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
setMethod(String) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
setMinPoolSize(int) - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
setMixinTypes(ArrayList<String>) - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Sets the mixin node types of the underlying node.
setModificationTime(long) - Method in class org.apache.sling.api.resource.ResourceMetadata
Sets the ResourceMetadata.MODIFICATION_TIME property to modificationTime if not negative.
setNotifiable(Notifiable) - Method in class org.apache.sling.launchpad.base.app.MainDelegate
 
setNotifiable(Notifiable) - Method in interface org.apache.sling.launchpad.base.shared.Launcher
The Notifiable to notify on framework stop or update
setNotifiable(Notifiable) - Method in class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
 
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
 
setPath(String) - Method in class org.apache.sling.api.servlets.HtmlResponse
Sets the absolute path of the item upon which the request operated.
setPath(String) - Method in class org.apache.sling.jcr.ocm.AbstractMappedObject
 
setPath(String) - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Sets the path of this mapped object.
setPrimaryType(String) - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Sets the primary node type of the underlying node.
setPriority(ThreadPoolConfig.ThreadPriority) - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
setProperties(ManageableMap) - Method in class org.apache.sling.jcr.ocm.DefaultMappedObject
Sets the properties of this content object as read from the properties of the repository node.
setProperty(String, Object) - Method in class org.apache.sling.api.servlets.HtmlResponse
Sets a generic response property with the given
setProperty(String, Value) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, Value[]) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, String[]) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, InputStream) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, boolean) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, double) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, long) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, Calendar) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, Node) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, Value, int) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, Value[], int) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, String[], int) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(String, String, int) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
setProperty(Object, Object) - Method in class org.apache.sling.commons.testing.osgi.MockComponentContext
 
setProperty(String, Object) - Method in class org.apache.sling.commons.testing.osgi.MockServiceReference
 
setProperty(Node, String, Object) - Static method in class org.apache.sling.jcr.resource.JcrResourceUtil
Sets the value of the property.
setQueueSize(int) - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
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
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.engine.RequestUtil
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.commons.testing.sling.MockSlingHttpServletRequest
 
setResource(Resource) - Method in class org.apache.sling.scripting.javascript.wrapper.ScriptableResource
 
setResourceResolver(MockResourceResolver) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
setResourceSuperType(String) - Method in class org.apache.sling.commons.testing.sling.MockResource
 
setResourceType(String) - Method in class org.apache.sling.api.resource.SyntheticResource
 
setResourceType(String) - Method in class org.apache.sling.commons.testing.sling.MockResource
 
setResponse(SlingHttpServletResponse) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.RESPONSE property to response if not null.
setSearchPath(String...) - Method in class org.apache.sling.commons.testing.sling.MockResourceResolver
 
setSecure(boolean) - Method in class org.apache.sling.commons.testing.sling.MockSlingHttpServletRequest
 
setShutdownGraceful(boolean) - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
setShutdownWaitTimeMs(int) - Method in class org.apache.sling.commons.threads.ThreadPoolConfig
 
setSling(SlingScriptHelper) - Method in class org.apache.sling.api.scripting.SlingBindings
Sets the SlingBindings.SLING property to sling if not null.
setSlingHome(String) - Method in class org.apache.sling.launchpad.base.app.MainDelegate
 
setSlingHome(String) - Method in interface org.apache.sling.launchpad.base.shared.Launcher
Sets the sling.home to be used for starting the framework.
setSlingHome(String) - Method in class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
 
setStatus(int, String) - Method in class org.apache.sling.api.servlets.HtmlResponse
sets the response status code properties
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
Sets the title of the response message
setUp() - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
 
setup(ScopeProvider) - Static method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
setupRepository(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
This method is called after a repository has been acquired by AbstractSlingRepository.acquireRepository() but before the repository is registered as a service.
setValue(boolean) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
setValue(Calendar) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
setValue(double) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
setValue(InputStream) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
setValue(long) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
setValue(Node) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
setValue(String) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
setValue(String[]) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
setValue(Value) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
setValue(Value[]) - Method in class org.apache.sling.commons.testing.jcr.MockProperty
 
SharedConstants - Interface in org.apache.sling.launchpad.base.shared
 
shouldDistribute(Event) - Static method in class org.apache.sling.event.EventUtil
Should this event be distributed in the cluster?
shutdown() - Method in interface org.apache.sling.commons.threads.ThreadPool
Shut down the thread pool.
size() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
size() - Method in class org.apache.sling.event.EventPropertiesMap
 
size() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
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 class org.apache.sling.commons.testing.jcr.MockNodeIterator
 
skip(long) - Method in class org.apache.sling.commons.testing.jcr.MockPropertyIterator
 
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.engine.EngineConstants
The name of the request attribute providing the name of the currently executing servlet (value is "sling.core.current.servletName").
SLING_HOME - Static variable in class org.apache.sling.engine.EngineConstants
The name of the framework property defining the Sling home directory (value is "sling.home").
SLING_HOME - Static variable in interface org.apache.sling.launchpad.base.shared.SharedConstants
The name of the configuration property defining the Sling home directory (value is "sling.home").
SLING_HOME_DEFAULT - Static variable in interface org.apache.sling.launchpad.base.shared.SharedConstants
Default sling.home value if no other value can be resolvled (value is "sling").
SLING_HOME_URL - Static variable in class org.apache.sling.engine.EngineConstants
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_POST_SERVLET_CREATE_SUFFIX - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
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 - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
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_SERLVET_NAME - Static variable in class org.apache.sling.engine.EngineConstants
The name of the service registration property of a Servlet registered as a service containing the name of the servlet (value is "sling.core.servletName").
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
 
SlingBridge - Class in org.apache.sling.launchpad.base.webapp
The SlingBridge extends the base Sling class calling the Eclipse Equinox Http Service activator for the proxy servlet to be able to handle requests.
SlingBridge(Notifiable, Logger, ResourceProvider, Map<String, String>) - Constructor for class org.apache.sling.launchpad.base.webapp.SlingBridge
 
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: print(args, ...)
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
SlingIntegrationTestClient - Class in org.apache.sling.commons.testing.integration
Client functions to interact with Sling in integration tests
SlingIntegrationTestClient(HttpClient) - Constructor for class org.apache.sling.commons.testing.integration.SlingIntegrationTestClient
 
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
 
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
The SlingPostOperation interface defines the service API to be implemented by service providers extending the Sling default POST servlet.
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.
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. for included requests.
SlingRequestPaths() - Constructor for class org.apache.sling.api.wrappers.SlingRequestPaths
 
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 resolved by the SlingScriptResolver.
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
The ScriptResolver interface defines the API for a service capable of locating scripts.
slingServerReady() - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
Return true if able to create and retrieve a node on server
SlingServlet - Class in org.apache.sling.launchpad.webapp
The SlingServlet is the externally visible Web Application launcher for Sling.
SlingServlet() - Constructor for class org.apache.sling.launchpad.webapp.SlingServlet
 
SlingServletDelegate - Class in org.apache.sling.launchpad.base.webapp
The SlingServletDelegate serves as a basic servlet for Project Sling.
SlingServletDelegate() - Constructor for class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
 
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
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
spool(InputStream, File) - Static method in class org.apache.sling.launchpad.base.shared.Loader
Spools the contents of the input stream to the given file replacing the contents of the file with the contents of the input stream.
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() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
start(int) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
start() - Method in class org.apache.sling.launchpad.base.app.MainDelegate
 
start() - Method in interface org.apache.sling.launchpad.base.shared.Launcher
Starts the framework and returns true if successfull.
start() - Method in class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
 
startRepository() - Static method in class org.apache.sling.commons.testing.jcr.RepositoryUtil
Start a new repository
startTimer(String) - Method in interface org.apache.sling.api.request.RequestProgressTracker
Starts a named timer.
startTimer(String) - Method in class org.apache.sling.commons.testing.sling.MockRequestProgressTracker
 
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.commons.testing.osgi.MockBundle
 
stop(int) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
stop() - Method in class org.apache.sling.launchpad.base.app.MainDelegate
 
stop() - Method in interface org.apache.sling.launchpad.base.shared.Launcher
Stops the framework.
stop() - Method in class org.apache.sling.launchpad.base.webapp.SlingServletDelegate
 
stopped() - Method in class org.apache.sling.launchpad.app.Main
The framework has been stopped by calling the Bundle.stop() on the system bundle.
stopped() - Method in interface org.apache.sling.launchpad.base.shared.Notifiable
Called when the OSGi framework has been stopped because the Bundle.stop method has been called on the system bundle.
stopped() - Method in class org.apache.sling.launchpad.webapp.SlingServlet
The framework has been stopped by calling the Bundle.stop() on the system bundle.
stopRepository() - Static method in class org.apache.sling.commons.testing.jcr.RepositoryUtil
Stop a repository.
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_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").
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.
SYSTEM_USER_MANAGER_GROUP_PATH - Static variable in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
 
SYSTEM_USER_MANAGER_GROUP_PREFIX - Static variable in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
 
SYSTEM_USER_MANAGER_PATH - Static variable in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
 
SYSTEM_USER_MANAGER_USER_PATH - Static variable in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
 
SYSTEM_USER_MANAGER_USER_PREFIX - Static variable in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResourceProvider
 

T

TAG_BEAN_DESCRIPTOR - Static variable in class org.apache.sling.maven.jcrocm.BeanDescriptor
 
TAG_CLASS_DESCRIPTOR - Static variable in class org.apache.sling.maven.jcrocm.ClassDescriptor
 
TAG_COLLECTION_DESCRIPTOR - Static variable in class org.apache.sling.maven.jcrocm.CollectionDescriptor
 
TAG_FIELD_DESCRIPTOR - Static variable in class org.apache.sling.maven.jcrocm.FieldDescriptor
 
tearDown() - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
 
tearDown() - Method in class org.apache.sling.commons.testing.jcr.RepositoryTestBase
 
tearDown(Repository) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Performs any cleanups before the repository is actually disposed off by the AbstractSlingRepository.disposeRepository(Repository) method.
teardown() - Static method in class org.apache.sling.scripting.javascript.helper.SlingContextFactory
 
TEST_PATH - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
base path for test files
testClient - Variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
testRoot - Variable in class org.apache.sling.commons.testing.jcr.RepositoryTestBase
 
TestStringUtil - Class in org.apache.sling.commons.testing.util
String utilities for testing
TestStringUtil() - Constructor for class org.apache.sling.commons.testing.util.TestStringUtil
 
testText - Variable in class org.apache.sling.commons.testing.integration.HttpTestBase.TestNode
 
ThreadPool - Interface in org.apache.sling.commons.threads
The ThreadPool interface allows to start runnables by getting threads from a managed pool.
ThreadPool - Interface in org.apache.sling.event
The eventing thread pool is a special thread pool used for the eventing.
ThreadPoolConfig - Class in org.apache.sling.commons.threads
The ThreadPool configuration.
ThreadPoolConfig() - Constructor for class org.apache.sling.commons.threads.ThreadPoolConfig
Create a new default configuration.
ThreadPoolConfig(ThreadPoolConfig) - Constructor for class org.apache.sling.commons.threads.ThreadPoolConfig
Clone an existing 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.
TimedEventStatusProvider - Interface in org.apache.sling.event
This service provides the current timed events status.
toBoolean(Object, boolean) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Returns the boolean value of the named service reference property or the defaultValue if no such service reference property exist.
toDouble(Object, double) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Returns the named service reference property as a double or the defaultValue if no such reference property exists or if the property is not an Double and cannot be converted to an Double from the property's string value.
toInteger(Object, int) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Returns the named service reference property as an integer or the defaultValue if no such reference property exists or if the property is not an Integer and cannot be converted to an Integer from the property'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
Returns the named service reference property as a long or the defaultValue if no such reference property exists or if the property is not an Integer and cannot be converted to a Long from the property's string value.
toObject(Object) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Returns the named service reference property 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.
TOPIC_JOB - Static variable in class org.apache.sling.event.EventUtil
The topic for jobs.
TOPIC_TIMED_EVENT - Static variable in class org.apache.sling.event.EventUtil
The topic for timed events.
toString() - Method in class org.apache.sling.api.resource.NonExistingResource
 
toString() - Method in class org.apache.sling.api.resource.ResourceWrapper
 
toString() - Method in class org.apache.sling.api.resource.SyntheticResource
 
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() - 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.
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.
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(Object, String) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Returns the named service reference property as a string or the defaultValue if no such reference property exists.
toString() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
toString() - Method in class org.apache.sling.event.EventPropertiesMap
 
toString(Event) - Static method in class org.apache.sling.event.EventUtil
Improved toString method for an Event.
toString() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableResource
 
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
 
toStringArray(Object) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Returns the named service reference property as an array of Strings.
toStringArray(Object, String[]) - Static method in class org.apache.sling.commons.osgi.OsgiUtil
Returns the named service reference property as an array of Strings.
TYPE_HINT_SUFFIX - Static variable in interface org.apache.sling.servlets.post.SlingPostConstants
Suffix indicating a type hint for the property (value is "@TypeHint").

U

unbindLog(LogService) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
 
unescape(String) - Static method in class org.apache.sling.commons.json.http.Cookie
Convert %hh sequences to single characters, and convert plus to space.
ungetClassLoader(ClassLoader) - Method in interface org.apache.sling.jcr.classloader.RepositoryClassLoaderProvider
 
uninstall() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
unlock() - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
unregisterService(ServiceRegistration) - Method in class org.apache.sling.jcr.base.AbstractSlingRepository
Unregisters the service represented by the serviceRegistration.
unregisterWrapper(Class<?>) - Method in class org.apache.sling.scripting.javascript.helper.SlingWrapFactory
 
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
 
update(String) - Method in class org.apache.sling.commons.testing.jcr.MockNode
 
update() - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
update(InputStream) - Method in class org.apache.sling.commons.testing.osgi.MockBundle
 
updated(File) - Method in class org.apache.sling.launchpad.app.Main
The framework has been stopped with the intent to be restarted by calling either of the Bundle.update methods on the system bundle.
updated(File) - Method in interface org.apache.sling.launchpad.base.shared.Notifiable
Called when the OSGi framework has been stopped because any of the Bundle.update methods has been called on the system bundle.
updated(File) - Method in class org.apache.sling.launchpad.webapp.SlingServlet
The framework has been stopped with the intent to be restarted by calling either of the Bundle.update methods on the system bundle.
updateGroupMembership(SlingHttpServletRequest, Authorizable, List<Modification>) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractGroupPostServlet
Update the group membership based on the ":member" request parameters.
UpdateGroupServlet - Class in org.apache.sling.jackrabbit.usermanager.post
Sling Post Operation implementation for updating a group in the jackrabbit UserManager.
UpdateGroupServlet() - Constructor for class org.apache.sling.jackrabbit.usermanager.post.UpdateGroupServlet
 
UpdateUserServlet - Class in org.apache.sling.jackrabbit.usermanager.post
Sling Post Operation implementation for updating a user in the jackrabbit UserManager.
UpdateUserServlet() - Constructor for class org.apache.sling.jackrabbit.usermanager.post.UpdateUserServlet
 
upload(String, InputStream) - Method in class org.apache.sling.commons.testing.integration.SlingIntegrationTestClient
Upload a file to the Sling repository
uploadTestScript(String, String, String) - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
upload rendering test script, and return its URL for future deletion
uploadToFileNode(String, File, String, String) - Method in class org.apache.sling.commons.testing.integration.SlingIntegrationTestClient
Upload to an file node structure, see SLING-168
uploadToFileNodes(String, File[], String[], String[]) - Method in class org.apache.sling.commons.testing.integration.SlingIntegrationTestClient
Upload multiple files to file node structures
urlsToDelete - Variable in class org.apache.sling.commons.testing.integration.HttpTestBase
URLs stored here are deleted in tearDown
UUID - Static variable in class org.apache.sling.maven.jcrocm.FieldDescriptor
 

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
ValidationMojo - Class in org.apache.sling.maven.bundlesupport
Plugin to validate resources: - validate json files
ValidationMojo() - Constructor for class org.apache.sling.maven.bundlesupport.ValidationMojo
 
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
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.
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.openidauth.OpenIDConstants.OpenIDFailure
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() - Method in class org.apache.sling.api.wrappers.ValueMapDecorator
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() - Method in class org.apache.sling.event.EventPropertiesMap
 
values() - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
values() - Method in class org.apache.sling.jcr.resource.JcrPropertyMap
 
values() - Static method in enum org.apache.sling.openidauth.OpenIDConstants.OpenIDFailure
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.
valuesToJavaObject(Value[]) - Method in class org.apache.sling.jackrabbit.usermanager.resource.AuthorizableValueMap
 
valueToString(Object) - Static method in class org.apache.sling.commons.json.JSONObject
Make a JSON text of an Object value.

W

waitForSlingStartup() - Method in class org.apache.sling.commons.testing.integration.HttpTestBase
On the server side, initialization of Sling bundles is done asynchronously once the webapp is started.
wakeUpJobQueue(String) - Method in interface org.apache.sling.event.JobStatusProvider
Wake up the named job queue.
WEBDAV_BASE_URL - Static variable in class org.apache.sling.commons.testing.integration.HttpTestBase
 
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 - Variable in class org.apache.sling.commons.testing.jcr.RepositoryUtil.RepositoryWrapper
 
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) - Method in class org.apache.sling.commons.json.JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(Writer) - Method in class org.apache.sling.commons.json.JSONObject
Write the contents of the JSONObject as JSON text to a writer.
write(String) - Method in interface org.apache.sling.engine.RequestLog
Writes the given message to the output destination.
writeContent(Session, Authorizable, Map<String, RequestProperty>, List<Modification>) - Method in class org.apache.sling.jackrabbit.usermanager.post.AbstractAuthorizablePostServlet
Writes back the content
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

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.
XMLWriter - Class in org.apache.sling.maven.jcrocm
 

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

Copyright © 2007-2009. All Rights Reserved.