public enum RestrictedPagePolicy extends Enum<RestrictedPagePolicy>
AccessDeniedException
.
Technically, it means that the SitemapInputData and the Sitemap service will generate SAX events for those pages. Skins are then in charge of rendering restricted pages properly.
Enum Constant and Description |
---|
DISPLAYED
Restricted pages access will be displayed for everyone.
|
HIDDEN
Restricted pages access will remain hidden for unauthorized front-office users.
|
Modifier and Type | Method and Description |
---|---|
static RestrictedPagePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestrictedPagePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestrictedPagePolicy HIDDEN
public static final RestrictedPagePolicy DISPLAYED
public static RestrictedPagePolicy[] values()
for (RestrictedPagePolicy c : RestrictedPagePolicy.values()) System.out.println(c);
public static RestrictedPagePolicy 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