Class BaseResource
java.lang.Object
org.apache.sling.api.adapter.SlingAdaptable
org.apache.sling.api.resource.AbstractResource
org.apache.sling.jackrabbit.usermanager.impl.resource.BaseResource
- All Implemented Interfaces:
org.apache.sling.api.adapter.Adaptable,org.apache.sling.api.resource.Resource
- Direct Known Subclasses:
AuthorizableResource,PrincipalResource
public abstract class BaseResource
extends org.apache.sling.api.resource.AbstractResource
Base Resource implementation for the common parts
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.sling.api.resource.ResourceResolverFields inherited from interface org.apache.sling.api.resource.Resource
RESOURCE_TYPE_NON_EXISTING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseResource(org.apache.sling.api.resource.ResourceResolver resourceResolver, String path) -
Method Summary
Modifier and TypeMethodDescriptiongetPath()org.apache.sling.api.resource.ResourceMetadataorg.apache.sling.api.resource.ResourceResolverMethods inherited from class org.apache.sling.api.resource.AbstractResource
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildrenMethods inherited from class org.apache.sling.api.adapter.SlingAdaptable
adaptTo, setAdapterManager, unsetAdapterManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.sling.api.adapter.Adaptable
adaptToMethods inherited from interface org.apache.sling.api.resource.Resource
getResourceType
-
Field Details
-
resourceResolver
protected final org.apache.sling.api.resource.ResourceResolver resourceResolver
-
-
Constructor Details
-
BaseResource
protected BaseResource(org.apache.sling.api.resource.ResourceResolver resourceResolver, String path)
-
-
Method Details
-
getPath
-
getResourceMetadata
public org.apache.sling.api.resource.ResourceMetadata getResourceMetadata() -
getResourceResolver
public org.apache.sling.api.resource.ResourceResolver getResourceResolver() -
getResourceSuperType
-