Package com.dropbox.core.v2.sharing
Enum Class FolderAction
- All Implemented Interfaces:
Serializable,Comparable<FolderAction>,Constable
Actions that may be taken on shared folders.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionChange folder options, such as who can be invited to join the folder.Create a shared link that allows users to edit the content.Field is deprecated.Create a shared link that only allows users to view the content.Disable viewer information for this folder.Change or edit contents of the folder.Enable viewer information on the folder.Invite a user or group to join the folder with read and write permission.Invite a user or group to join the folder with read permission.Invite a user or group to join the folder with read permission but no comment permissions.Keep a copy of the contents upon leaving or being kicked from the folder.Catch-all used for unknown tag values returned by the Dropbox servers.Relinquish one's own membership in the folder.Set whether the folder inherits permissions from its parent.Field is deprecated.Unmount the folder.Stop sharing this folder. -
Method Summary
Modifier and TypeMethodDescriptionstatic FolderActionReturns the enum constant of this class with the specified name.static FolderAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHANGE_OPTIONS
Change folder options, such as who can be invited to join the folder. -
DISABLE_VIEWER_INFO
Disable viewer information for this folder. -
EDIT_CONTENTS
Change or edit contents of the folder. -
ENABLE_VIEWER_INFO
Enable viewer information on the folder. -
INVITE_EDITOR
Invite a user or group to join the folder with read and write permission. -
INVITE_VIEWER
Invite a user or group to join the folder with read permission. -
INVITE_VIEWER_NO_COMMENT
Invite a user or group to join the folder with read permission but no comment permissions. -
RELINQUISH_MEMBERSHIP
Relinquish one's own membership in the folder. -
UNMOUNT
Unmount the folder. -
UNSHARE
Stop sharing this folder. -
LEAVE_A_COPY
Keep a copy of the contents upon leaving or being kicked from the folder. -
SHARE_LINK
Field is deprecated. Use create_view_link and create_edit_link instead. -
CREATE_LINK
Field is deprecated. Use create_view_link and create_edit_link instead. -
CREATE_VIEW_LINK
Create a shared link that only allows users to view the content. -
CREATE_EDIT_LINK
Create a shared link that allows users to edit the content. -
SET_ACCESS_INHERITANCE
Set whether the folder inherits permissions from its parent. -
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-