Package org.apache.sling.api.resource
@Version("2.13.0")
package org.apache.sling.api.resource
-
ClassDescriptionThe
AbstractResourceis an abstract implementation of theResourceinterface.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 theResourceProviderException 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)TheModifiableValueMapis an extension of theValueMapwhich allows to modify and persist properties.Deprecated.Use theResourceProviderSimple helper class representing nonexisting resources.Deprecated.Use theResourceProviderDeprecated.Use theModifiableValueMapinstead.This exception will be thrown during the commit to persist changes to aPersistableValueMap, aModifiableValueMapor theResourceResolver.Deprecated.Use theResourceProviderTheQuerySyntaxExceptionis 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 theResourceProviderResources are pieces of content on which Sling actsOptional service to decorateResources returned by theResourceResolver.TheResourceMetadatainterface defines the API for the metadata of a SlingResource.An Exception that causes Sling to return a 404 (NOT FOUND) status code.Deprecated.Use theResourceProviderDeprecated.TheResourceResolverdefines the API which may be used to resolveResourceobjects and work with such resources like creating, editing or updating them.TheResourceResolverFactorydefines the service API to get and createResourceResolvers.TheResourceUtilclass provides helper methods dealing with resources.A batch resource remover deletes resources in batches.TheResourceWrapperis a wrapper for anyResourcedelegating all method calls to the wrapped resource by default.TheSyntheticResourceclass is a simple implementation of theResourceinterface which may be used to provide a resource object which has no actual resource data.TheValueMapis an easy way to access properties of a resource.
ResourceProvider