Class GroupResource

All Implemented Interfaces:
Adaptable, Resource

public class GroupResource extends AuthorizableResource
Deprecated.
5.4
Group implementation
See Also:
  • Constructor Details

  • Method Details

    • getResourceType

      public String getResourceType()
      Deprecated.
      Sets the Resource-Type to com.day.cq.security.resource.GroupResource
      Specified by:
      getResourceType in interface Resource
      Overrides:
      getResourceType in class AuthorizableResource
      Returns:
      a String object.
      See Also:
    • getResourceSuperType

      public String getResourceSuperType()
      Deprecated.
      Sets the Resource-SuperType to com.day.cq.security.resource.AuthorizableResource
      Returns:
      a String object.
      See Also:
    • adaptTo

      public <AdapterType> AdapterType adaptTo(Class<AdapterType> type)
      Deprecated.
      Calls into the registered AdapterManager to adapt this object to the desired type.

      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:
      adaptTo in interface Adaptable
      Overrides:
      adaptTo in class AuthorizableResource
      Type Parameters:
      AdapterType - The generic type to which this resource is adapted to
      Parameters:
      type - The Class object of the target type, such as javax.jcr.Node.class or java.io.File.class
      Returns:
      The adapter target or null if the resource cannot adapt to the requested type
      See Also: