public enum DiscussionAccessCheckResult extends Enum<DiscussionAccessCheckResult>
| Enum Constant and Description |
|---|
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
|
OK
Requested access is granted
|
| Modifier and Type | Method and Description |
|---|---|
static DiscussionAccessCheckResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiscussionAccessCheckResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiscussionAccessCheckResult OK
public static final DiscussionAccessCheckResult NOT_CREATOR
public static final DiscussionAccessCheckResult NOT_LAST_MESSAGE
public static DiscussionAccessCheckResult[] values()
for (DiscussionAccessCheckResult c : DiscussionAccessCheckResult.values()) System.out.println(c);
public static DiscussionAccessCheckResult valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022 Visiativ. All rights reserved.