@StableMinor(version="12.2", sinceVersion="4.0") public enum PagePermissions extends Enum<PagePermissions> implements IPermission
Enum Constant and Description |
---|
MANAGE_PAGE |
MANAGE_PAGE_LAYOUT |
MANAGE_PAGE_SECURITY |
PUBLISH_CONTENT |
VIEW_PAGE |
Modifier and Type | Method and Description |
---|---|
static int[] |
getImplies() |
static HashMap<Integer,Integer> |
getInheritPermissionsMap() |
static String |
getPermissionsDefinition(Locale locale) |
static int |
getRequiredPermissions() |
String |
implies() |
int |
inheritPermission() |
boolean |
isRequired() |
String |
localizedName(Locale locale)
returns the localized name of the permission.
|
int |
value() |
static PagePermissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PagePermissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name, ordinal
public static final PagePermissions MANAGE_PAGE_SECURITY
public static final PagePermissions MANAGE_PAGE
public static final PagePermissions MANAGE_PAGE_LAYOUT
public static final PagePermissions VIEW_PAGE
public static final PagePermissions PUBLISH_CONTENT
public static PagePermissions[] values()
for (PagePermissions c : PagePermissions.values()) System.out.println(c);
public static PagePermissions 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 nullpublic String implies()
implies
in interface IPermission
public int value()
value
in interface IPermission
public boolean isRequired()
isRequired
in interface IPermission
public String localizedName(Locale locale)
IPermission
localizedName
in interface IPermission
locale
- the locale to use for localizing.public int inheritPermission()
public static int[] getImplies() throws PortalException
PortalException
public static int getRequiredPermissions() throws PortalException
PortalException
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.