Uses of Interface
org.apache.sling.api.resource.Resource

Packages that use Resource
org.apache.sling.api   
org.apache.sling.api.resource   
org.apache.sling.api.scripting   
org.apache.sling.api.wrappers   
org.apache.sling.commons.testing.sling   
org.apache.sling.jackrabbit.usermanager.post   
org.apache.sling.jackrabbit.usermanager.resource   
org.apache.sling.jcr.resource   
org.apache.sling.scripting.javascript.wrapper   
org.apache.sling.servlets.post   
 

Uses of Resource in org.apache.sling.api
 

Methods in org.apache.sling.api that return Resource
 Resource SlingHttpServletRequest.getResource()
          Returns the Resource object on whose behalf the servlet acts.
 

Methods in org.apache.sling.api with parameters of type Resource
 javax.servlet.RequestDispatcher SlingHttpServletRequest.getRequestDispatcher(Resource resource)
          Same as SlingHttpServletRequest.getRequestDispatcher(Resource,RequestDispatcherOptions) but using empty options.
 javax.servlet.RequestDispatcher SlingHttpServletRequest.getRequestDispatcher(Resource resource, RequestDispatcherOptions options)
          Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given resource.
 

Uses of Resource in org.apache.sling.api.resource
 

Classes in org.apache.sling.api.resource that implement Resource
 class NonExistingResource
          Simple helper class representing nonexisting resources.
 class ResourceWrapper
          The ResourceWrapper is a wrapper for any Resource delegating all method calls to the wrapped resource by default.
 class 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.
 

Methods in org.apache.sling.api.resource that return Resource
static Resource ResourceUtil.getParent(Resource rsrc)
          Utility method returns the parent resource of the resource.
 Resource ResourceWrapper.getResource()
          Returns the Resource wrapped by this instance.
 Resource ResourceProvider.getResource(ResourceResolver resourceResolver, javax.servlet.http.HttpServletRequest request, java.lang.String path)
          Returns a resource from this resource provider or null if the resource provider cannot find it.
 Resource ResourceProvider.getResource(ResourceResolver resourceResolver, java.lang.String path)
          Returns a resource from this resource provider or null if the resource provider cannot find it.
 Resource ResourceResolver.getResource(Resource base, java.lang.String path)
          Returns a Resource object for data located at the given path.
 Resource ResourceResolver.getResource(java.lang.String path)
          Returns a Resource object for data located at the given path.
 Resource ResourceResolver.resolve(javax.servlet.http.HttpServletRequest request)
          Deprecated. as of 2.0.4, use ResourceResolver.resolve(HttpServletRequest, String) instead.
 Resource ResourceResolver.resolve(javax.servlet.http.HttpServletRequest request, java.lang.String absPath)
          Resolves the resource from the given absPath optionally taking HttpServletRequest into account, such as the value of the Host request header.
 Resource ResourceResolver.resolve(java.lang.String absPath)
          Resolves the resource from the given absolute path.
 

Methods in org.apache.sling.api.resource that return types with arguments of type Resource
 java.util.Iterator<Resource> ResourceResolver.findResources(java.lang.String query, java.lang.String language)
          Searches for resources using the given query formulated in the given language.
static java.util.Iterator<Resource> ResourceUtil.listChildren(Resource parent)
          Returns an Iterator of Resource objects loaded from the children of the given Resource.
 java.util.Iterator<Resource> ResourceResolver.listChildren(Resource parent)
          Returns an Iterator of Resource objects loaded from the children of the given Resource.
 java.util.Iterator<Resource> ResourceProvider.listChildren(Resource parent)
          Returns an Iterator of Resource objects loaded from the children of the given Resource.
 

Methods in org.apache.sling.api.resource with parameters of type Resource
static java.lang.String ResourceUtil.getName(Resource rsrc)
          Utility method returns the parent resource of the resource.
static Resource ResourceUtil.getParent(Resource rsrc)
          Utility method returns the parent resource of the resource.
 Resource ResourceResolver.getResource(Resource base, java.lang.String path)
          Returns a Resource object for data located at the given path.
static ValueMap ResourceUtil.getValueMap(Resource res)
          Returns an ValueMap object for the given Resource.
static boolean ResourceUtil.isNonExistingResource(Resource res)
          Returns true if the resource res is a non-existing resource.
static boolean ResourceUtil.isStarResource(Resource res)
          Returns true if the resource res is a "star resource".
static boolean ResourceUtil.isSyntheticResource(Resource res)
          Returns true if the resource res is a synthetic resource.
static java.util.Iterator<Resource> ResourceUtil.listChildren(Resource parent)
          Returns an Iterator of Resource objects loaded from the children of the given Resource.
 java.util.Iterator<Resource> ResourceResolver.listChildren(Resource parent)
          Returns an Iterator of Resource objects loaded from the children of the given Resource.
 java.util.Iterator<Resource> ResourceProvider.listChildren(Resource parent)
          Returns an Iterator of Resource objects loaded from the children of the given Resource.
 

Constructors in org.apache.sling.api.resource with parameters of type Resource
ResourceWrapper(Resource resource)
          Creates a new wrapper instance delegating all method calls to the given resource.
 

Uses of Resource in org.apache.sling.api.scripting
 

Methods in org.apache.sling.api.scripting that return Resource
 Resource SlingBindings.getResource()
          Returns the SlingBindings.RESOURCE property if not null and a Resource instance.
 Resource SlingScript.getScriptResource()
          Returns the Resource providing the script source code.
 

Methods in org.apache.sling.api.scripting with parameters of type Resource
 void SlingBindings.setResource(Resource resource)
          Sets the SlingBindings.RESOURCE property to resource if not null.
 

Uses of Resource in org.apache.sling.api.wrappers
 

Methods in org.apache.sling.api.wrappers that return Resource
 Resource SlingHttpServletRequestWrapper.getResource()
           
 

Methods in org.apache.sling.api.wrappers with parameters of type Resource
 javax.servlet.RequestDispatcher SlingHttpServletRequestWrapper.getRequestDispatcher(Resource resource)
           
 javax.servlet.RequestDispatcher SlingHttpServletRequestWrapper.getRequestDispatcher(Resource resource, RequestDispatcherOptions options)
           
 

Uses of Resource in org.apache.sling.commons.testing.sling
 

Classes in org.apache.sling.commons.testing.sling that implement Resource
 class MockResource
           
 

Methods in org.apache.sling.commons.testing.sling that return Resource
 Resource MockSlingHttpServletRequest.getResource()
           
 Resource MockResourceResolver.getResource(Resource base, java.lang.String path)
           
 Resource MockResourceResolver.getResource(java.lang.String path)
           
 Resource MockResourceResolver.resolve(javax.servlet.http.HttpServletRequest request)
           
 Resource MockResourceResolver.resolve(javax.servlet.http.HttpServletRequest request, java.lang.String absPath)
           
 Resource MockResourceResolver.resolve(java.lang.String absPath)
           
 

Methods in org.apache.sling.commons.testing.sling that return types with arguments of type Resource
 java.util.Iterator<Resource> MockResourceResolver.findResources(java.lang.String query, java.lang.String language)
           
 java.util.Iterator<Resource> MockResourceResolver.listChildren(Resource parent)
           
 

Methods in org.apache.sling.commons.testing.sling with parameters of type Resource
 void MockResourceResolver.addChildren(Resource parent, java.util.Collection<Resource> children)
           
 void MockResourceResolver.addResource(Resource resource)
           
 javax.servlet.RequestDispatcher MockSlingHttpServletRequest.getRequestDispatcher(Resource resource)
           
 javax.servlet.RequestDispatcher MockSlingHttpServletRequest.getRequestDispatcher(Resource resource, RequestDispatcherOptions options)
           
 Resource MockResourceResolver.getResource(Resource base, java.lang.String path)
           
 java.util.Iterator<Resource> MockResourceResolver.listChildren(Resource parent)
           
 void MockSlingHttpServletRequest.setResource(Resource resource)
           
 

Method parameters in org.apache.sling.commons.testing.sling with type arguments of type Resource
 void MockResourceResolver.addChildren(Resource parent, java.util.Collection<Resource> children)
           
 

Uses of Resource in org.apache.sling.jackrabbit.usermanager.post
 

Methods in org.apache.sling.jackrabbit.usermanager.post that return types with arguments of type Resource
protected  java.util.Iterator<Resource> DeleteAuthorizableServlet.getApplyToResources(SlingHttpServletRequest request)
          Returns an iterator on Resource instances addressed in the SlingPostConstants.RP_APPLY_TO request parameter.
 

Uses of Resource in org.apache.sling.jackrabbit.usermanager.resource
 

Classes in org.apache.sling.jackrabbit.usermanager.resource that implement Resource
 class AuthorizableResource
          Resource implementation for Authorizable
 

Methods in org.apache.sling.jackrabbit.usermanager.resource that return Resource
 Resource AuthorizableResourceProvider.getResource(ResourceResolver resourceResolver, javax.servlet.http.HttpServletRequest request, java.lang.String path)
           
 Resource AuthorizableResourceProvider.getResource(ResourceResolver resourceResolver, java.lang.String path)
           
 

Methods in org.apache.sling.jackrabbit.usermanager.resource that return types with arguments of type Resource
 java.util.Iterator<Resource> AuthorizableResourceProvider.listChildren(Resource parent)
           
 

Methods in org.apache.sling.jackrabbit.usermanager.resource with parameters of type Resource
 java.util.Iterator<Resource> AuthorizableResourceProvider.listChildren(Resource parent)
           
 

Uses of Resource in org.apache.sling.jcr.resource
 

Methods in org.apache.sling.jcr.resource with parameters of type Resource
static java.lang.String JcrResourceUtil.getResourceSuperType(Resource resource)
          Returns the resource super type of the given resource.
 

Uses of Resource in org.apache.sling.scripting.javascript.wrapper
 

Methods in org.apache.sling.scripting.javascript.wrapper with parameters of type Resource
 void ScriptableResource.setResource(Resource entry)
           
 

Constructors in org.apache.sling.scripting.javascript.wrapper with parameters of type Resource
ScriptableResource(Resource resource)
           
 

Uses of Resource in org.apache.sling.servlets.post
 

Methods in org.apache.sling.servlets.post that return types with arguments of type Resource
protected  java.util.Iterator<Resource> AbstractSlingPostOperation.getApplyToResources(SlingHttpServletRequest request)
          Returns an iterator on Resource instances addressed in the SlingPostConstants.RP_APPLY_TO request parameter.
 



Copyright © 2007-2009. All Rights Reserved.