@StableMinor(version="12.3", sinceVersion="4.0") public enum ChannelPermissions extends Enum<ChannelPermissions> implements IPermission
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 ChannelPermissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelPermissions[] |
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 ChannelPermissions MANAGE_CHANNEL_SECURITY
public static final ChannelPermissions MANAGE_CHANNEL
public static final ChannelPermissions MANAGE_LOCAL_USER
public static final ChannelPermissions MANAGE_LOCAL_GROUP_SECURITY
public static final ChannelPermissions MANAGE_LOCAL_GROUP
public static final ChannelPermissions MANAGE_PAGE_SECURITY
public static final ChannelPermissions MANAGE_PAGE
public static final ChannelPermissions MANAGE_PAGE_LAYOUT
public static final ChannelPermissions VIEW_PAGE
public static final ChannelPermissions MANAGE_PAGE_TEMPLATE_SECURITY
public static final ChannelPermissions MANAGE_PAGE_TEMPLATE
public static final ChannelPermissions MANAGE_PAGE_TEMPLATE_LAYOUT
public static final ChannelPermissions VIEW_PAGE_TEMPLATE
public static final ChannelPermissions MANAGE_SERVICE_INSTANCE_SECURITY
public static final ChannelPermissions MANAGE_SERVICE_INSTANCE
public static final ChannelPermissions EDIT_SERVICE_INSTANCE_CONTENT
public static final ChannelPermissions VIEW_SERVICE_INSTANCE
public static final ChannelPermissions MANAGE_LOCAL_USER_MEMBERSHIP
public static final ChannelPermissions MANAGE_LOCAL_GROUP_MEMBERSHIP
public static final ChannelPermissions PUBLISH_CONTENT
public static ChannelPermissions[] values()
for (ChannelPermissions c : ChannelPermissions.values()) System.out.println(c);
public static ChannelPermissions 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.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.