public static enum BaseResourceBean.RoleLevel extends Enum<BaseResourceBean.RoleLevel>
| Enum Constant and Description |
|---|
CURATOR |
DB_ADMIN |
EDITOR |
NOBODY |
PUBLIC |
SELF |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayLabel() |
static BaseResourceBean.RoleLevel |
getRoleByUri(String uri2) |
static BaseResourceBean.RoleLevel |
getRoleFromLoginStatus(javax.servlet.http.HttpServletRequest req) |
String |
getShorthand() |
String |
getUpdateLabel() |
String |
getURI() |
static BaseResourceBean.RoleLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseResourceBean.RoleLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseResourceBean.RoleLevel PUBLIC
public static final BaseResourceBean.RoleLevel SELF
public static final BaseResourceBean.RoleLevel EDITOR
public static final BaseResourceBean.RoleLevel CURATOR
public static final BaseResourceBean.RoleLevel DB_ADMIN
public static final BaseResourceBean.RoleLevel NOBODY
public static BaseResourceBean.RoleLevel[] values()
for (BaseResourceBean.RoleLevel c : BaseResourceBean.RoleLevel.values()) System.out.println(c);
public static BaseResourceBean.RoleLevel 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 getURI()
public String getDisplayLabel()
public String getUpdateLabel()
public String getShorthand()
public static BaseResourceBean.RoleLevel getRoleByUri(String uri2)
public static BaseResourceBean.RoleLevel getRoleFromLoginStatus(javax.servlet.http.HttpServletRequest req)
Copyright © 2016. All rights reserved.