Class GroupResource

    • Constructor Detail

      • GroupResource

        public GroupResource​(Group group,
                             java.lang.String path,
                             ResourceResolver resolver)
        Deprecated.
    • Method Detail

      • getResourceSuperType

        public java.lang.String getResourceSuperType()
        Deprecated.
        Sets the Resource-SuperType to com.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 to Group
        Specified by:
        adaptTo in interface Adaptable
        Overrides:
        adaptTo in class AuthorizableResource
        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)