@StableMinor(version="12.3", sinceVersion="4.0") public enum GroupPermissions extends Enum<GroupPermissions> implements IPermission
Enum Constant and Description |
---|
MANAGE_GROUP |
MANAGE_GROUP_SECURITY |
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 GroupPermissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupPermissions[] |
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 GroupPermissions MANAGE_GROUP_SECURITY
public static final GroupPermissions MANAGE_GROUP
public static GroupPermissions[] values()
for (GroupPermissions c : GroupPermissions.values()) System.out.println(c);
public static GroupPermissions 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.