public enum CollaborationRole extends Enum<CollaborationRole>
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 CollaborationRole |
fromString(String jsonValue) |
static CollaborationRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollaborationRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollaborationRole EDITOR
public static final CollaborationRole VIEWER
public static final CollaborationRole PREVIEWER
public static final CollaborationRole UPLOADER
public static final CollaborationRole PREVIEWER_UPLOADER
public static final CollaborationRole VIEWER_UPLOADER
public static final CollaborationRole CO_OWNER
public static final CollaborationRole OWNER
public static CollaborationRole[] values()
for (CollaborationRole c : CollaborationRole.values()) System.out.println(c);
public static CollaborationRole 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 static CollaborationRole fromString(String jsonValue)
Copyright © 2010–2017. All rights reserved.