public enum PermissionLevelType extends Enum<PermissionLevelType>
Java class for PermissionLevelType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PermissionLevelType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="None"/>
<enumeration value="Owner"/>
<enumeration value="PublishingEditor"/>
<enumeration value="Editor"/>
<enumeration value="PublishingAuthor"/>
<enumeration value="Author"/>
<enumeration value="NoneditingAuthor"/>
<enumeration value="Reviewer"/>
<enumeration value="Contributor"/>
<enumeration value="Custom"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AUTHOR |
CONTRIBUTOR |
CUSTOM |
EDITOR |
NONE |
NONEDITING_AUTHOR |
OWNER |
PUBLISHING_AUTHOR |
PUBLISHING_EDITOR |
REVIEWER |
| Modifier and Type | Method and Description |
|---|---|
static PermissionLevelType |
fromValue(String v) |
String |
value() |
static PermissionLevelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionLevelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionLevelType NONE
public static final PermissionLevelType OWNER
public static final PermissionLevelType PUBLISHING_EDITOR
public static final PermissionLevelType EDITOR
public static final PermissionLevelType PUBLISHING_AUTHOR
public static final PermissionLevelType AUTHOR
public static final PermissionLevelType NONEDITING_AUTHOR
public static final PermissionLevelType REVIEWER
public static final PermissionLevelType CONTRIBUTOR
public static final PermissionLevelType CUSTOM
public static PermissionLevelType[] values()
for (PermissionLevelType c : PermissionLevelType.values()) System.out.println(c);
public static PermissionLevelType 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 value()
public static PermissionLevelType fromValue(String v)
Copyright © 2016 Apereo. All Rights Reserved.