@Deprecated public abstract class AuthorizableResource extends AbstractResource
ResourceImplementation. A specialization is required, as Users is not necessarily a
Nodein the Repository. The Resource is
adaptableto the Authorizable it represents.
|Modifier and Type||Method and Description|
Calls into the registered
Returns the absolute path of this resource in the resource tree.
Returns the meta data of this resource.
The resource type is meant to point to rendering/processing scripts, editing dialogs, etc.
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildren
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public String getPath()
public String getResourceType()
ResourceResolveris free to set this to any suitable value such as the primary node type of the JCR node from which the resource is created.
If the resource instance represents a resource which is not actually
existing, this method returns
public ResourceMetadata getResourceMetadata()
ResourceMetadataobject returned is implementation specific except for the
ResourceMetadata.RESOLUTION_PATHproperty which is required to be set to the part of the request URI used to resolve the resource.
public ResourceResolver getResourceResolver()
ResourceResolverfrom which this resource has been retrieved.
public <AdapterType> AdapterType adaptTo(Class<AdapterType> type)
AdapterManagerto adapt this object to the desired
This method implements a cache of adapters to improve performance. That is repeated calls to this method with the same class will result in the same object to be returned.
AdapterType- The generic type to which this resource is adapted to
type- The Class object of the target type, such as
nullif the resource cannot adapt to the requested type
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"