public enum FolderPermission extends Enum<FolderPermission>
Enum Constant and Description |
---|
CAN_DELETE
The user can delete the folder.
|
CAN_DOWNLOAD
The user can download the folder.
|
CAN_INVITE_COLLABORATOR
The user can invite collaborators to the folder.
|
CAN_RENAME
The user can rename the folder.
|
CAN_SET_SHARE_ACCESS
The user can set the access level for shared links to the folder.
|
CAN_SHARE
The user can share the folder.
|
CAN_UPLOAD
The user can upload to the folder.
|
Modifier and Type | Method and Description |
---|---|
static FolderPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FolderPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FolderPermission CAN_DOWNLOAD
public static final FolderPermission CAN_UPLOAD
public static final FolderPermission CAN_RENAME
public static final FolderPermission CAN_DELETE
public static final FolderPermission CAN_SHARE
public static final FolderPermission CAN_INVITE_COLLABORATOR
public static final FolderPermission CAN_SET_SHARE_ACCESS
public static FolderPermission[] values()
for (FolderPermission c : FolderPermission.values()) System.out.println(c);
public static FolderPermission 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 nullCopyright © 2010–2019. All rights reserved.