Package com.emc.documentum.rest.model
Enum Class BasicPermission
- All Implemented Interfaces:
Serializable
,Comparable<BasicPermission>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe user can view object attributes but not content.The user can delete the object.The user has no access to the object.The user can view object attributes and content.The user can read and create a relationship to the object (such as attaching an annotation).The user can read and version the object.The user can update object attributes and content. -
Method Summary
Modifier and TypeMethodDescriptionint
getBasic()
static String
getBasicStr
(int basic) static BasicPermission
getPermission
(int basic) static BasicPermission
Returns the enum constant of this class with the specified name.static BasicPermission[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Null
-
None
The user has no access to the object. -
Browse
The user can view object attributes but not content. -
Read
The user can view object attributes and content. -
Relate
The user can read and create a relationship to the object (such as attaching an annotation). -
Version
The user can read and version the object. -
Write
The user can update object attributes and content. -
Delete
The user can delete the object.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getBasic
public int getBasic() -
getBasicStr
-
getPermission
-