public class GroupResource extends AuthorizableResource
AuthorizableResource
,
Resource
RESOURCE_TYPE_NON_EXISTING
Constructor and Description |
---|
GroupResource(Group group,
java.lang.String path,
ResourceResolver resolver)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<AdapterType> |
adaptTo(java.lang.Class<AdapterType> type)
Deprecated.
Adds adaptability to
Group |
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.GroupResource |
getPath, getResourceMetadata, getResourceResolver
getChild, getChildren, getName, getParent, getValueMap, hasChildren, isResourceType, listChildren
setAdapterManager, unsetAdapterManager
public GroupResource(Group group, java.lang.String path, ResourceResolver resolver)
public java.lang.String getResourceType()
com.day.cq.security.resource.GroupResource
getResourceType
in interface Resource
getResourceType
in class AuthorizableResource
Resource.getResourceSuperType()
public java.lang.String getResourceSuperType()
com.day.cq.security.resource.AuthorizableResource
null
.Resource.getResourceSuperType()
public <AdapterType> AdapterType adaptTo(java.lang.Class<AdapterType> type)
Group
adaptTo
in interface Adaptable
adaptTo
in class AuthorizableResource
AdapterType
- The generic type to which this resource is adapted
totype
- to adapt tonull
if not adapbtableSlingAdaptable.adaptTo(Class)
Copyright © 2010 - 2020 Adobe. All Rights Reserved