Package com.spotfire.ws.pub
Enum LibraryPermission
- java.lang.Object
-
- java.lang.Enum<LibraryPermission>
-
- com.spotfire.ws.pub.LibraryPermission
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LibraryPermission>
public enum LibraryPermission extends java.lang.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 Summary
Enum Constants Enum Constant Description 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).OWNER
The right to set permissions on items.READ
The right to browse and retrieve items.WRITE
The right to create, modify and remove items.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LibraryPermission
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LibraryPermission[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static LibraryPermission[] 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 (LibraryPermission c : LibraryPermission.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LibraryPermission 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 namejava.lang.NullPointerException
- if the argument is null
-
-