Package com.day.cq.security.resource
Class UserResource
java.lang.Object
org.apache.sling.api.adapter.SlingAdaptable
org.apache.sling.api.resource.AbstractResource
com.day.cq.security.resource.AuthorizableResource
com.day.cq.security.resource.UserResource
Deprecated.
5.4
-
Field Summary
Fields inherited from interface org.apache.sling.api.resource.Resource
RESOURCE_TYPE_NON_EXISTING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<AdapterType>
AdapterTypeDeprecated.Adds adapter-support for theUser
Deprecated.Sets the Resource-SuperType tocom.day.cq.security.resource.AuthorizableResource
Deprecated.Sets the Resource-Type tocom.day.cq.security.resource.User
Methods inherited from class com.day.cq.security.resource.AuthorizableResource
getPath, getResourceMetadata, getResourceResolver
Methods inherited from class org.apache.sling.api.resource.AbstractResource
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildren
Methods inherited from class org.apache.sling.api.adapter.SlingAdaptable
setAdapterManager, unsetAdapterManager
-
Constructor Details
-
UserResource
Deprecated.
-
-
Method Details
-
getResourceType
Deprecated.Sets the Resource-Type tocom.day.cq.security.resource.User
- Specified by:
getResourceType
in interfaceResource
- Overrides:
getResourceType
in classAuthorizableResource
- Returns:
- The resource type
- See Also:
-
getResourceSuperType
Deprecated.Sets the Resource-SuperType tocom.day.cq.security.resource.AuthorizableResource
- Returns:
- The super type of the resource or
null
. - See Also:
-
adaptTo
Deprecated.Adds adapter-support for theUser
- Specified by:
adaptTo
in interfaceAdaptable
- Overrides:
adaptTo
in classAuthorizableResource
- Type Parameters:
AdapterType
- The generic type to which this resource is adapted to- Parameters:
type
- The Class object of the target type, such asjavax.jcr.Node.class
orjava.io.File.class
- Returns:
- The adapter target or
null
if the resource cannot adapt to the requested type - See Also:
-