public enum PermissionLevel extends java.lang.Enum<PermissionLevel>
| Enum Constant and Description |
|---|
AUTHOR
Indicates that the user can create and read all items in the folder, and edit and delete only items that the user creates.
|
CONTRIBUTOR
Indicates that the user can create items in the folder.
|
CUSTOM
Indicates that the user has custom access permissions on the folder.
|
EDITOR
Indicates that the user can create, read, edit, and delete all items in the folder.
|
NONE
Indicates that the user has no permissions on the folder.
|
NONEDITING_AUTHOR
Indicates that the user can create and read all items in the folder, and delete only items that the user creates.
|
OWNER
Indicates that the user can create, read, edit, and delete all items in the folder, and create subfolders.
|
PUBLISHING_AUTHOR
Indicates that the user can create and read all items in the folder, edit and delete only items that the user creates, and create subfolders.
|
PUBLISHING_EDITOR
Indicates that the user can create, read, edit, and delete all items in the folder, and create subfolders.
|
REVIEWER
Indicates that the user can read all items in the folder.
|
| Modifier and Type | Method and Description |
|---|---|
static PermissionLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PermissionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionLevel OWNER
public static final PermissionLevel PUBLISHING_EDITOR
public static final PermissionLevel EDITOR
public static final PermissionLevel PUBLISHING_AUTHOR
public static final PermissionLevel AUTHOR
public static final PermissionLevel NONEDITING_AUTHOR
public static final PermissionLevel REVIEWER
public static final PermissionLevel CONTRIBUTOR
public static final PermissionLevel CUSTOM
public static final PermissionLevel NONE
public static PermissionLevel[] values()
for (PermissionLevel c : PermissionLevel.values()) System.out.println(c);
public static PermissionLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null