Enum Class LibraryPermission

java.lang.Object
java.lang.Enum<LibraryPermission>
com.spotfire.ws.pub.LibraryPermission
All Implemented Interfaces:
Serializable, Comparable<LibraryPermission>, Constable

public enum LibraryPermission extends Enum<LibraryPermission>
Represents a permission on an item in the Library. Note that all permissions are independent of each other and that users that are granted WRITE access in most cases also should have READ and EXECUTE access.
Since:
5.5
  • Enum Constant Details

    • READ

      public static final LibraryPermission READ
      The right to browse and retrieve items.
    • WRITE

      public static final LibraryPermission WRITE
      The right to create, modify and remove items.
    • OWNER

      public static final LibraryPermission OWNER
      The right to set permissions on items.
    • EXECUTE

      public static final LibraryPermission EXECUTE
      The right to execute Information Links (must also be set on all of the Information Model elements (columns etc) that the are references by the Information Link).
  • Method Details

    • values

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