public static enum BoxCollaboration.Role extends Enum<BoxCollaboration.Role>
Enum Constant and Description |
---|
CO_OWNER
The co-owner role has all of the functional read/write access that an editor does.
|
EDITOR
An Editor has full read/write access to a folder.
|
OWNER
The owner role has all of the functional capabilities of a co-owner.
|
PREVIEWER
The previewer role has limited read access to a folder.
|
PREVIEWER_UPLOADER
The previewer-uploader role is a combination of previewer and uploader.
|
UPLOADER
The uploader has limited write access to a folder.
|
VIEWER
The viewer role has full read access to a folder.
|
VIEWER_UPLOADER
The viewer-uploader role is a combination of viewer and uploader.
|
Modifier and Type | Method and Description |
---|---|
static BoxCollaboration.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxCollaboration.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxCollaboration.Role EDITOR
public static final BoxCollaboration.Role VIEWER
public static final BoxCollaboration.Role PREVIEWER
public static final BoxCollaboration.Role UPLOADER
public static final BoxCollaboration.Role PREVIEWER_UPLOADER
public static final BoxCollaboration.Role VIEWER_UPLOADER
public static final BoxCollaboration.Role CO_OWNER
public static final BoxCollaboration.Role OWNER
public static BoxCollaboration.Role[] values()
for (BoxCollaboration.Role c : BoxCollaboration.Role.values()) System.out.println(c);
public static BoxCollaboration.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 null