public class UserResource extends AuthorizableResource
RESOURCE_TYPE_NON_EXISTING
Constructor and Description |
---|
UserResource(User user,
java.lang.String path,
ResourceResolver resolver)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<AdapterType> |
adaptTo(java.lang.Class<AdapterType> type)
Deprecated.
Adds adapter-support for the
User |
java.lang.String |
getResourceSuperType()
Deprecated.
Sets the Resource-SuperType to
com.day.cq.security.resource.AuthorizableResource |
java.lang.String |
getResourceType()
Deprecated.
Sets the Resource-Type to
com.day.cq.security.resource.User |
getPath, getResourceMetadata, getResourceResolver
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildren
setAdapterManager, unsetAdapterManager
public UserResource(User user, java.lang.String path, ResourceResolver resolver)
public java.lang.String getResourceType()
com.day.cq.security.resource.User
getResourceType
in interface Resource
getResourceType
in class AuthorizableResource
Resource.getResourceType()
public java.lang.String getResourceSuperType()
com.day.cq.security.resource.AuthorizableResource
null
.Resource.getResourceSuperType()
public <AdapterType> AdapterType adaptTo(java.lang.Class<AdapterType> type)
User
adaptTo
in interface Adaptable
adaptTo
in class AuthorizableResource
AdapterType
- The generic type to which this resource is adapted
totype
- The Class object of the target type, such as
javax.jcr.Node.class
or
java.io.File.class
null
if the resource cannot
adapt to the requested typeResource.getResourceSuperType()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"