Class CUGConfig


  • @Model(adaptables=SlingHttpServletRequest.class)
    public final class CUGConfig
    extends java.lang.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
      CUGConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getWarning()
      Returns the warning message telling the user that the content resource is using a deprecated Closed User Group configuration
      boolean isDeprecated()
      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 Detail

      • CUGConfig

        public CUGConfig()
    • Method Detail

      • isDeprecated

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

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