Class CUGConfig
- java.lang.Object
-
- com.adobe.cq.sites.ui.models.admin.security.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 configurationboolean
isDeprecated()
Indicates if the content resource is using a deprecated Closed User Group configuration
-
-
-
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:
-
-