public enum E_Role extends Enum<E_Role>
Enum Constant and Description |
---|
ADMIN
The admin.
|
MGMT
The mgmt.
|
NULL
The null.
|
ORG
The org.
|
SITEADMIN
The siteadmin.
|
SITEGUEST
The default site user = guest.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultName()
Get the role's default name
NOTE: If there is a getKey() referenced, this value might have changed in the system configuration.
|
String |
getHomeUrl()
Gets the home url.
|
E_ConfigKey |
getKey()
Gets the configuration key
|
int |
getType()
Gets the type.
|
static E_Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static E_Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final E_Role NULL
public static final E_Role SITEGUEST
public static final E_Role SITEADMIN
public static final E_Role ADMIN
public static final E_Role ORG
public static final E_Role MGMT
public static E_Role[] values()
for (E_Role c : E_Role.values()) System.out.println(c);
public static E_Role 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 getHomeUrl()
public E_ConfigKey getKey()
public String getDefaultName()
CustomPortalServiceHandler.getRoleName()
insteadpublic int getType()
Copyright © 2016 Fraunhofer FOKUS. All rights reserved.