java.lang.Object
com.adobe.cq.sites.ui.models.admin.security.CUGConfig

@Model(adaptables=SlingHttpServletRequest.class) public final class CUGConfig extends Object
Representation of the Closed User Group configuration that is persisted on the repository for a given content resource. This is used in order to know if the CUG configuration is deprecated (usage of cq:cug* properties) and thus disable the editing of the CUGs in such case. The content resource is derived from the content path attribute of the request.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the warning message telling the user that the content resource is using a deprecated Closed User Group configuration
    boolean
    Indicates if the content resource is using a deprecated Closed User Group configuration

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CUGConfig

      public CUGConfig()
  • Method Details

    • isDeprecated

      public boolean isDeprecated()
      Indicates if the content resource is using a deprecated Closed User Group configuration
      Returns:
    • getWarning

      public String getWarning()
      Returns the warning message telling the user that the content resource is using a deprecated Closed User Group configuration
      Returns: