@StableMinor(version="12.4", sinceVersion="4.0") public enum PageTemplatePermissions extends Enum<PageTemplatePermissions> implements IPermission
Enum Constant and Description |
---|
MANAGE_PAGE_TEMPLATE |
MANAGE_PAGE_TEMPLATE_LAYOUT |
MANAGE_PAGE_TEMPLATE_SECURITY |
VIEW_PAGE_TEMPLATE |
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 PageTemplatePermissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageTemplatePermissions[] |
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 PageTemplatePermissions MANAGE_PAGE_TEMPLATE_SECURITY
public static final PageTemplatePermissions MANAGE_PAGE_TEMPLATE
public static final PageTemplatePermissions MANAGE_PAGE_TEMPLATE_LAYOUT
public static final PageTemplatePermissions VIEW_PAGE_TEMPLATE
public static PageTemplatePermissions[] values()
for (PageTemplatePermissions c : PageTemplatePermissions.values()) System.out.println(c);
public static PageTemplatePermissions 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.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.