public static enum BoxFolder.Permission extends java.lang.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 |
fromString(java.lang.String text) |
java.lang.String |
toString() |
static BoxFolder.Permission |
valueOf(java.lang.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(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 nullpublic static BoxFolder.Permission fromString(java.lang.String text)
public java.lang.String toString()
toString in class java.lang.Enum<BoxFolder.Permission>