Enum 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 Summary

      Enum Constants 
      Enum Constant Description
      CHANGE_OPTIONS
      Change folder options, such as who can be invited to join the folder.
      CREATE_LINK
      Create a shared link for 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.
      LEAVE_A_COPY
      Keep a copy of the contents upon leaving or being kicked from the folder.
      OTHER
      Catch-all used for unknown tag values returned by the Dropbox servers.
      RELINQUISH_MEMBERSHIP
      Relinquish one's own membership in the folder.
      SET_ACCESS_INHERITANCE
      Set whether the folder inherits permissions from its parent.
      SHARE_LINK
      Use create_link instead.
      UNMOUNT
      Unmount the folder.
      UNSHARE
      Stop sharing this folder.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FolderAction valueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • CHANGE_OPTIONS

        public static final FolderAction CHANGE_OPTIONS
        Change folder options, such as who can be invited to join the folder.
      • DISABLE_VIEWER_INFO

        public static final FolderAction DISABLE_VIEWER_INFO
        Disable viewer information for this folder.
      • EDIT_CONTENTS

        public static final FolderAction EDIT_CONTENTS
        Change or edit contents of the folder.
      • ENABLE_VIEWER_INFO

        public static final FolderAction ENABLE_VIEWER_INFO
        Enable viewer information on the folder.
      • INVITE_EDITOR

        public static final FolderAction INVITE_EDITOR
        Invite a user or group to join the folder with read and write permission.
      • INVITE_VIEWER

        public static final FolderAction INVITE_VIEWER
        Invite a user or group to join the folder with read permission.
      • INVITE_VIEWER_NO_COMMENT

        public static final FolderAction INVITE_VIEWER_NO_COMMENT
        Invite a user or group to join the folder with read permission but no comment permissions.
      • RELINQUISH_MEMBERSHIP

        public static final FolderAction RELINQUISH_MEMBERSHIP
        Relinquish one's own membership in the folder.
      • UNMOUNT

        public static final FolderAction UNMOUNT
        Unmount the folder.
      • UNSHARE

        public static final FolderAction UNSHARE
        Stop sharing this folder.
      • LEAVE_A_COPY

        public static final FolderAction LEAVE_A_COPY
        Keep a copy of the contents upon leaving or being kicked from the folder.
      • SHARE_LINK

        public static final FolderAction SHARE_LINK
        Use create_link instead.
      • CREATE_LINK

        public static final FolderAction CREATE_LINK
        Create a shared link for folder.
      • SET_ACCESS_INHERITANCE

        public static final FolderAction SET_ACCESS_INHERITANCE
        Set whether the folder inherits permissions from its parent.
      • OTHER

        public 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

      • values

        public 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
      • valueOf

        public 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