public static enum ContentAccessManager.ContentAccess extends Enum<ContentAccessManager.ContentAccess>
Enum Constant and Description |
---|
ALLOWED
The content appears on pages with limited access, and the given user can access at least one.
|
FORBIDDEN
The content appears on pages with limited access, but the given user can't access any.
|
UNRESTRICTED
The content can be viewed by all users because of one of these reasons:
it appears on a public page
it doesn't appear on any page (orphan content) but its sitemap is freely accessible
|
Modifier and Type | Method and Description |
---|---|
static ContentAccessManager.ContentAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentAccessManager.ContentAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentAccessManager.ContentAccess UNRESTRICTED
public static final ContentAccessManager.ContentAccess ALLOWED
public static final ContentAccessManager.ContentAccess FORBIDDEN
public static ContentAccessManager.ContentAccess[] values()
for (ContentAccessManager.ContentAccess c : ContentAccessManager.ContentAccess.values()) System.out.println(c);
public static ContentAccessManager.ContentAccess valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null