Enum Class UploadVariant

java.lang.Object
java.lang.Enum<UploadVariant>
com.saperion.ngc.upload.UploadVariant
All Implemented Interfaces:
Serializable, Comparable<UploadVariant>, Constable

public enum UploadVariant extends Enum<UploadVariant>
Holds the possible variants to upload documents with saperion web client. Each variant has a property that tells you if this upload option is available in a browser of type Internet Explorer.
Author:
chg
  • Enum Constant Details

    • NONE

      public static final UploadVariant NONE
      No Upload available.
    • RIGHT_MOUSECLICK_ON_FOLDER

      public static final UploadVariant RIGHT_MOUSECLICK_ON_FOLDER
      Upload via right mouseclick on a folder (context menu).
    • DRAG_AND_DROP_ON_FOLDERS

      public static final UploadVariant DRAG_AND_DROP_ON_FOLDERS
      Drag a document onto a navigation folder for uploading it. Only available for Firefox.
  • Field Details

    • isAvailableForIE

      public boolean isAvailableForIE
      Is the upload variant available for Internet explorer.
  • Method Details

    • values

      public static UploadVariant[] 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

      public static UploadVariant valueOf(String name)
      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 name
      NullPointerException - if the argument is null