Package com.day.cq.security.resource
Class GroupResource
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.GroupResource
Deprecated.
5.4
Group implementation
- See Also:
-
Field Summary
Fields inherited from interface org.apache.sling.api.resource.Resource
RESOURCE_TYPE_NON_EXISTING -
Constructor Summary
ConstructorsConstructorDescriptionGroupResource(Group group, String path, ResourceResolver resolver) Deprecated.Constructor for GroupResource. -
Method Summary
Modifier and TypeMethodDescription<AdapterType>
AdapterTypeDeprecated.Calls into the registeredAdapterManagerto adapt this object to the desiredtype.Deprecated.Sets the Resource-SuperType tocom.day.cq.security.resource.AuthorizableResourceDeprecated.Sets the Resource-Type tocom.day.cq.security.resource.GroupResourceMethods inherited from class com.day.cq.security.resource.AuthorizableResource
getPath, getResourceMetadata, getResourceResolverMethods 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
setAdapterManager, unsetAdapterManager
-
Constructor Details
-
GroupResource
Deprecated.Constructor for GroupResource.
- Parameters:
group- aGroupobject.path- aStringobject.resolver- aResourceResolverobject.
-
-
Method Details
-
getResourceType
Deprecated.Sets the Resource-Type tocom.day.cq.security.resource.GroupResource- Specified by:
getResourceTypein interfaceResource- Overrides:
getResourceTypein classAuthorizableResource- Returns:
- a
Stringobject. - See Also:
-
getResourceSuperType
Deprecated.Sets the Resource-SuperType tocom.day.cq.security.resource.AuthorizableResource- Returns:
- a
Stringobject. - See Also:
-
adaptTo
Deprecated.Calls into the registeredAdapterManagerto adapt this object to the desiredtype.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. Adds adaptability to
Group- Specified by:
adaptToin interfaceAdaptable- Overrides:
adaptToin 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.classorjava.io.File.class- Returns:
- The adapter target or
nullif the resource cannot adapt to the requested type - See Also:
-