Package com.dropbox.core.v2.sharing
Enum FolderAction
- java.lang.Object
- 
- java.lang.Enum<FolderAction>
- 
- com.dropbox.core.v2.sharing.FolderAction
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<FolderAction>
 
 public enum FolderAction extends java.lang.Enum<FolderAction> Actions that may be taken on shared folders.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CHANGE_OPTIONSChange folder options, such as who can be invited to join the folder.CREATE_LINKCreate a shared link for folder.DISABLE_VIEWER_INFODisable viewer information for this folder.EDIT_CONTENTSChange or edit contents of the folder.ENABLE_VIEWER_INFOEnable viewer information on the folder.INVITE_EDITORInvite a user or group to join the folder with read and write permission.INVITE_VIEWERInvite a user or group to join the folder with read permission.INVITE_VIEWER_NO_COMMENTInvite a user or group to join the folder with read permission but no comment permissions.LEAVE_A_COPYKeep a copy of the contents upon leaving or being kicked from the folder.OTHERCatch-all used for unknown tag values returned by the Dropbox servers.RELINQUISH_MEMBERSHIPRelinquish one's own membership in the folder.SET_ACCESS_INHERITANCESet whether the folder inherits permissions from its parent.SHARE_LINKUse create_link instead.UNMOUNTUnmount the folder.UNSHAREStop sharing this folder.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static FolderActionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FolderAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
CHANGE_OPTIONSpublic static final FolderAction CHANGE_OPTIONS Change folder options, such as who can be invited to join the folder.
 - 
DISABLE_VIEWER_INFOpublic static final FolderAction DISABLE_VIEWER_INFO Disable viewer information for this folder.
 - 
EDIT_CONTENTSpublic static final FolderAction EDIT_CONTENTS Change or edit contents of the folder.
 - 
ENABLE_VIEWER_INFOpublic static final FolderAction ENABLE_VIEWER_INFO Enable viewer information on the folder.
 - 
INVITE_EDITORpublic static final FolderAction INVITE_EDITOR Invite a user or group to join the folder with read and write permission.
 - 
INVITE_VIEWERpublic static final FolderAction INVITE_VIEWER Invite a user or group to join the folder with read permission.
 - 
INVITE_VIEWER_NO_COMMENTpublic static final FolderAction INVITE_VIEWER_NO_COMMENT Invite a user or group to join the folder with read permission but no comment permissions.
 - 
RELINQUISH_MEMBERSHIPpublic static final FolderAction RELINQUISH_MEMBERSHIP Relinquish one's own membership in the folder.
 - 
UNMOUNTpublic static final FolderAction UNMOUNT Unmount the folder.
 - 
UNSHAREpublic static final FolderAction UNSHARE Stop sharing this folder.
 - 
LEAVE_A_COPYpublic static final FolderAction LEAVE_A_COPY Keep a copy of the contents upon leaving or being kicked from the folder.
 - 
SHARE_LINKpublic static final FolderAction SHARE_LINK Use create_link instead.
 - 
CREATE_LINKpublic static final FolderAction CREATE_LINK Create a shared link for folder.
 - 
SET_ACCESS_INHERITANCEpublic static final FolderAction SET_ACCESS_INHERITANCE Set whether the folder inherits permissions from its parent.
 - 
OTHERpublic static final FolderAction 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 Detail- 
valuespublic static FolderAction[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FolderAction c : FolderAction.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static FolderAction valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-