Package org.apache.sling.api.resource
@Version("2.13.0")
package org.apache.sling.api.resource
-
ClassDescriptionThe
AbstractResource
is an abstract implementation of theResource
interface.This visitor will traverse the given resource and all its children in a depth-first approach and call theAbstractResourceVisitor.visit(Resource)
method for each visited resource.Deprecated.Deprecated.Use theResourceProvider
Exception thrown by
,ResourceResolverFactory.getAdministrativeResourceResolver(java.util.Map)
, andResourceResolverFactory.getResourceResolver(java.util.Map)
if a resource resolver cannot be created because the credential data is not valid.ResourceResolver.clone(java.util.Map)
TheModifiableValueMap
is an extension of theValueMap
which allows to modify and persist properties.Deprecated.Use theResourceProvider
Simple helper class representing nonexisting resources.Deprecated.Use theResourceProvider
Deprecated.Use theModifiableValueMap
instead.This exception will be thrown during the commit to persist changes to aPersistableValueMap
, aModifiableValueMap
or theResourceResolver
.Deprecated.Use theResourceProvider
TheQuerySyntaxException
is thrown by theResourceResolver.findResources(String, String)
andResourceResolver.queryResources(String, String)
methods if the query syntax is wrong or the requested query language is not available.Deprecated.Use theResourceProvider
Resources are pieces of content on which Sling actsOptional service to decorateResource
s returned by theResourceResolver
.TheResourceMetadata
interface defines the API for the metadata of a SlingResource
.An Exception that causes Sling to return a 404 (NOT FOUND) status code.Deprecated.Use theResourceProvider
Deprecated.TheResourceResolver
defines the API which may be used to resolveResource
objects and work with such resources like creating, editing or updating them.TheResourceResolverFactory
defines the service API to get and createResourceResolver
s.TheResourceUtil
class provides helper methods dealing with resources.A batch resource remover deletes resources in batches.TheResourceWrapper
is a wrapper for anyResource
delegating all method calls to the wrapped resource by default.TheSyntheticResource
class is a simple implementation of theResource
interface which may be used to provide a resource object which has no actual resource data.TheValueMap
is an easy way to access properties of a resource.
ResourceProvider