@Version("2.13.0")
Package org.apache.sling.api.resource
-
Interface Summary Interface Description AttributableResourceProvider Deprecated. Use theResourceProviderDynamicResourceProvider Deprecated. Use theResourceProviderModifiableValueMap TheModifiableValueMapis an extension of theValueMapwhich allows to modify and persist properties.ModifyingResourceProvider Deprecated. Use theResourceProviderParametrizableResourceProvider Deprecated. Use theResourceProviderPersistableValueMap Deprecated. Use theModifiableValueMapinstead.QueriableResourceProvider Deprecated. Use theResourceProviderRefreshableResourceProvider Deprecated. Use theResourceProviderResource Resources are pieces of content on which Sling actsResourceDecorator Optional service to decorateResources returned by theResourceResolver.ResourceProvider Deprecated. Use theResourceProviderResourceProviderFactory Deprecated. ResourceResolver TheResourceResolverdefines the API which may be used to resolveResourceobjects and work with such resources like creating, editing or updating them.ResourceResolverFactory TheResourceResolverFactorydefines the service API to get and createResourceResolvers.ValueMap TheValueMapis an easy way to access properties of a resource. -
Class Summary Class Description AbstractResource TheAbstractResourceis an abstract implementation of theResourceinterface.AbstractResourceVisitor 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.NonExistingResource Simple helper class representing nonexisting resources.ResourceMetadata TheResourceMetadatainterface defines the API for the metadata of a SlingResource.ResourceUtil TheResourceUtilclass provides helper methods dealing with resources.ResourceUtil.BatchResourceRemover A batch resource remover deletes resources in batches.ResourceWrapper TheResourceWrapperis a wrapper for anyResourcedelegating all method calls to the wrapped resource by default.SyntheticResource TheSyntheticResourceclass is a simple implementation of theResourceinterface which may be used to provide a resource object which has no actual resource data. -
Exception Summary Exception Description LoginException 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)PersistenceException This exception will be thrown during the commit to persist changes to aPersistableValueMap, aModifiableValueMapor theResourceResolver.QuerySyntaxException TheQuerySyntaxExceptionis 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.ResourceNotFoundException An Exception that causes Sling to return a 404 (NOT FOUND) status code.