public enum QuickAccessStatus extends Enum<QuickAccessStatus>
| Enum Constant and Description |
|---|
CAN_ADD_TO_QUICKACCESS
Default state : can add to quick access set
|
CAN_REMOVE_FROM_QUICKACCESS
Can remove from quick access if a quick access is already set
|
CANNOT_ADD_TO_QUICKACCESS
Cases : Workspace parent hasn't Set facet, or the document is in a
Publication spaces or personal spaces and quick access is not allowed
|
| Modifier and Type | Method and Description |
|---|---|
static QuickAccessStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuickAccessStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuickAccessStatus CAN_ADD_TO_QUICKACCESS
public static final QuickAccessStatus CAN_REMOVE_FROM_QUICKACCESS
public static final QuickAccessStatus CANNOT_ADD_TO_QUICKACCESS
public static QuickAccessStatus[] values()
for (QuickAccessStatus c : QuickAccessStatus.values()) System.out.println(c);
public static QuickAccessStatus 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 © 2019. All rights reserved.