Package org.apache.sling.api.resource

Interface Summary
AttributableResourceProvider The attributes provider is an extensions of a ResourceProvider.
DynamicResourceProvider A dynamic resource provider is an extension of a resource provider which is only supported if the resource provider has been created through a ResourceProviderFactory.
ModifiableValueMap The ModifiableValueMap is an extension of the ValueMap which allows to modify and persist properties.
ModifyingResourceProvider A modifying resource provider is an extension of a resource provider which is only supported if the resource provider has been created through a ResourceProviderFactory.
PersistableValueMap Deprecated. Use the ModifiableValueMap instead.
QueriableResourceProvider A queriable resource provider is an extension of a resource provider.
RefreshableResourceProvider A resource provider might return the state when it was created and not update to the latest state.
Resource Resources are pieces of content on which Sling acts The Resource is also an Adaptable to get adapters to other types.
ResourceDecorator Optional service to decorate Resources returned by the ResourceResolver.
ResourceProvider API for providers of resources.
ResourceProviderFactory The ResourceProviderFactory defines the service API to get and create ResourceProviderss dynamically on a per usage base.
ResourceResolver The ResourceResolver defines the service API which may be used to resolve Resource objects.
ResourceResolverFactory The ResourceResolverFactory defines the service API to get and create ResourceResolvers.
ValueMap The ValueMap is an easy way to access properties of a resource.
 

Class Summary
AbstractResource The AbstractResource is an abstract implementation of the Resource interface.
AbstractResourceVisitor The AbstractResourceVisitor helps in traversing a resource tree by decoupling the actual traversal code from application code.
NonExistingResource Simple helper class representing nonexisting resources.
ResourceMetadata The ResourceMetadata interface defines the API for the metadata of a Sling Resource.
ResourceUtil The ResourceUtil class provides helper methods dealing with resources.
ResourceWrapper The ResourceWrapper is a wrapper for any Resource delegating all method calls to the wrapped resource by default.
SyntheticResource 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.
 

Exception Summary
LoginException Exception thrown by ResourceResolverFactory.getAdministrativeResourceResolver(java.util.Map) , ResourceResolverFactory.getResourceResolver(java.util.Map) , and ResourceResolver.clone(java.util.Map) if a resource resolver cannot be created because the credential data is not valid.
PersistenceException This exception will be thrown during the try to persist changes to a PersistableValueMap, a ModifiableValueMap#update() or the ResourceResolver.
QuerySyntaxException 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.
ResourceNotFoundException An Exception that causes Sling to return a 404 (NOT FOUND) status code.
 



Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.