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