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
-
public class GroupResource extends AuthorizableResource
Deprecated.5.4Group implementation- See Also:
AuthorizableResource
,Resource
-
-
Field Summary
-
Fields inherited from interface org.apache.sling.api.resource.Resource
RESOURCE_TYPE_NON_EXISTING
-
-
Constructor Summary
Constructors Constructor Description GroupResource(Group group, java.lang.String path, ResourceResolver resolver)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <AdapterType>
AdapterTypeadaptTo(java.lang.Class<AdapterType> type)
Deprecated.Adds adaptability toGroup
java.lang.String
getResourceSuperType()
Deprecated.Sets the Resource-SuperType tocom.day.cq.security.resource.AuthorizableResource
java.lang.String
getResourceType()
Deprecated.Sets the Resource-Type tocom.day.cq.security.resource.GroupResource
-
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 Detail
-
GroupResource
public GroupResource(Group group, java.lang.String path, ResourceResolver resolver)
Deprecated.
-
-
Method Detail
-
getResourceType
public java.lang.String getResourceType()
Deprecated.Sets the Resource-Type tocom.day.cq.security.resource.GroupResource
- Specified by:
getResourceType
in interfaceResource
- Overrides:
getResourceType
in classAuthorizableResource
- Returns:
- The resource type
- See Also:
Resource.getResourceSuperType()
-
getResourceSuperType
public java.lang.String getResourceSuperType()
Deprecated.Sets the Resource-SuperType tocom.day.cq.security.resource.AuthorizableResource
- Returns:
- The super type of the resource or
null
. - See Also:
Resource.getResourceSuperType()
-
adaptTo
public <AdapterType> AdapterType adaptTo(java.lang.Class<AdapterType> type)
Deprecated.Adds adaptability toGroup
- Specified by:
adaptTo
in interfaceAdaptable
- Overrides:
adaptTo
in classAuthorizableResource
- Type Parameters:
AdapterType
- The generic type to which this resource is adapted to- Parameters:
type
- to adapt to- Returns:
- Adapted object or
null
if not adapbtable - See Also:
SlingAdaptable.adaptTo(Class)
-
-