org.apache.sling.jcr.resource.internal.helper.jcr
Class JcrResourceProviderEntry

java.lang.Object
  extended by org.apache.sling.jcr.resource.internal.helper.ResourceProviderEntry
      extended by org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProviderEntry
All Implemented Interfaces:
Comparable<ResourceProviderEntry>

public class JcrResourceProviderEntry
extends ResourceProviderEntry


Constructor Summary
JcrResourceProviderEntry(javax.jcr.Session session, ResourceProviderEntry delegatee, ClassLoader dynamicClassLoader, boolean useMultiWorkspaces)
           
 
Method Summary
 boolean addResourceProvider(String prefix, ResourceProvider provider, Comparable<?> comparable)
          Adds the given resource provider into the tree for the given prefix.
 boolean containsKey(String key)
          
 ResourceProviderEntry get(String key)
          
 ResourceProvider[] getResourceProviders()
          Returns the resource provider contained in this entry
 javax.jcr.Session getSession()
           
 boolean removeResourceProvider(String prefix, ResourceProvider provider, Comparable<?> comparable)
           
 String toString()
          
 Collection<ResourceProviderEntry> values()
          
 
Methods inherited from class org.apache.sling.jcr.resource.internal.helper.ResourceProviderEntry
compareTo, getResolutionStats, getResource, put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JcrResourceProviderEntry

public JcrResourceProviderEntry(javax.jcr.Session session,
                                ResourceProviderEntry delegatee,
                                ClassLoader dynamicClassLoader,
                                boolean useMultiWorkspaces)
Method Detail

getSession

public javax.jcr.Session getSession()

addResourceProvider

public boolean addResourceProvider(String prefix,
                                   ResourceProvider provider,
                                   Comparable<?> comparable)
Description copied from class: ResourceProviderEntry
Adds the given resource provider into the tree for the given prefix.

Overrides:
addResourceProvider in class ResourceProviderEntry
Returns:
true if the provider could be entered into the subtree below this entry. Otherwise false is returned.

removeResourceProvider

public boolean removeResourceProvider(String prefix,
                                      ResourceProvider provider,
                                      Comparable<?> comparable)
Overrides:
removeResourceProvider in class ResourceProviderEntry

get

public ResourceProviderEntry get(String key)

Overrides:
get in class ResourceProviderEntry
See Also:
ResourceProviderEntry.get(java.lang.String)

values

public Collection<ResourceProviderEntry> values()

Overrides:
values in class ResourceProviderEntry
See Also:
ResourceProviderEntry.values()

containsKey

public boolean containsKey(String key)

Overrides:
containsKey in class ResourceProviderEntry
See Also:
ResourceProviderEntry.containsKey(java.lang.String)

getResourceProviders

public ResourceProvider[] getResourceProviders()
Returns the resource provider contained in this entry

Overrides:
getResourceProviders in class ResourceProviderEntry
See Also:
ResourceProviderEntry.getResourceProviders()

toString

public String toString()

Overrides:
toString in class ResourceProviderEntry
See Also:
ResourceProviderEntry.toString()


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.