public static enum BoxFolder.Permission extends Enum<BoxFolder.Permission>
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 BoxFolder.Permission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxFolder.Permission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxFolder.Permission CAN_DOWNLOAD
public static final BoxFolder.Permission CAN_UPLOAD
public static final BoxFolder.Permission CAN_RENAME
public static final BoxFolder.Permission CAN_DELETE
public static final BoxFolder.Permission CAN_SHARE
public static final BoxFolder.Permission CAN_INVITE_COLLABORATOR
public static final BoxFolder.Permission CAN_SET_SHARE_ACCESS
public static BoxFolder.Permission[] values()
for (BoxFolder.Permission c : BoxFolder.Permission.values()) System.out.println(c);
public static BoxFolder.Permission 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