Package com.dropbox.core.v2.sharing
Enum FileAction
- java.lang.Object
- 
- java.lang.Enum<FileAction>
- 
- com.dropbox.core.v2.sharing.FileAction
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<FileAction>
 
 public enum FileAction extends java.lang.Enum<FileAction> Sharing actions that may be taken on files.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CREATE_EDIT_LINKCreate a shared link to a file that allows users to edit the content.CREATE_LINKUse create_view_link and create_edit_link instead.CREATE_VIEW_LINKCreate a shared link to a file that only allows users to view the content.DISABLE_VIEWER_INFODisable viewer information on the file.EDIT_CONTENTSChange or edit contents of the file.ENABLE_VIEWER_INFOEnable viewer information on the file.INVITE_EDITORAdd a member with edit permissions.INVITE_VIEWERAdd a member with view permissions.INVITE_VIEWER_NO_COMMENTAdd a member with view permissions but no comment permissions.OTHERCatch-all used for unknown tag values returned by the Dropbox servers.RELINQUISH_MEMBERSHIPRelinquish one's own membership to the file.SHARE_LINKUse create_view_link and create_edit_link instead.UNSHAREStop sharing this file.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static FileActionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FileAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
DISABLE_VIEWER_INFOpublic static final FileAction DISABLE_VIEWER_INFO Disable viewer information on the file.
 - 
EDIT_CONTENTSpublic static final FileAction EDIT_CONTENTS Change or edit contents of the file.
 - 
ENABLE_VIEWER_INFOpublic static final FileAction ENABLE_VIEWER_INFO Enable viewer information on the file.
 - 
INVITE_VIEWERpublic static final FileAction INVITE_VIEWER Add a member with view permissions.
 - 
INVITE_VIEWER_NO_COMMENTpublic static final FileAction INVITE_VIEWER_NO_COMMENT Add a member with view permissions but no comment permissions.
 - 
INVITE_EDITORpublic static final FileAction INVITE_EDITOR Add a member with edit permissions.
 - 
UNSHAREpublic static final FileAction UNSHARE Stop sharing this file.
 - 
RELINQUISH_MEMBERSHIPpublic static final FileAction RELINQUISH_MEMBERSHIP Relinquish one's own membership to the file.
 - 
SHARE_LINKpublic static final FileAction SHARE_LINK Use create_view_link and create_edit_link instead.
 - 
CREATE_LINKpublic static final FileAction CREATE_LINK Use create_view_link and create_edit_link instead.
 - 
CREATE_VIEW_LINKpublic static final FileAction CREATE_VIEW_LINK Create a shared link to a file that only allows users to view the content.
 - 
CREATE_EDIT_LINKpublic static final FileAction CREATE_EDIT_LINK Create a shared link to a file that allows users to edit the content.
 - 
OTHERpublic static final FileAction 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 FileAction[] 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 (FileAction c : FileAction.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static FileAction 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
 
 
- 
 
-