Package com.axemble.vdoc.sdk.enums
Enum Class DiscussionAccessCheckResult
- All Implemented Interfaces:
Serializable
,Comparable<DiscussionAccessCheckResult>
,Constable
Results of an access check on discussion messages
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRequested access is denied cause current user is not the message creatorRequested access is denied cause newer message exists for his discussionRequested access is granted -
Method Summary
Modifier and TypeMethodDescriptionstatic DiscussionAccessCheckResult
Returns the enum constant of this class with the specified name.static DiscussionAccessCheckResult[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
Requested access is granted -
NOT_CREATOR
Requested access is denied cause current user is not the message creator -
NOT_LAST_MESSAGE
Requested access is denied cause newer message exists for his discussion
-
-
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
-